Project import progress lost if page left inactive for some time (OD-1073)
wojtek opened 3 years ago

I'm not sure if happens with other importers, but with YouTrack importer (/~projects/import/YouTrack) if the page is inactive for a while, it looses progress and goes back to "Step 1 of 3: Authenticate to YouTrack". It should not happen.

  • Robin Shen commented 3 years ago

    I opened it for half a hour and it is able to continue to next step without any problem. I guess your desktop goes to sleep during this period and OneDev session times out then (the session will timeout in 5 minutes, and relies on browser to send keep alive request every 2.5 minutes)

  • wojtek commented 3 years ago

    Yes, this is what happened. I was on the laptop without charging cable to the computer went to sleep.

    Would it be possible to somehow maintain the state even if the computer goes to sleep?

  • Robin Shen commented 3 years ago

    There is no good workaround here as OneDev needs to clear inactive server session timely to avoid consuming too much memory.

  • wojtek commented 3 years ago

    Could import endpoint/URL be exempt from this mechanism? or have higher timeout?

  • Robin Shen commented 3 years ago

    Unfortunately this is not possible to make a single page using different session timeout mechanism.

  • Robin Shen changed state to 'Closed' 3 years ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
Not Found
Issue Votes (0)
Watchers (4)
Reference
OD-1073
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover