Connection lost message appears when page is back/forward (OD-2628)
alion opened 3 weeks ago

"Connection lost or session expired, reload to recover"

When I use the browser's back button

  • Juanro commented 3 weeks ago

    I have the same issue after upgrade to 13.1.4

  • Robin Shen changed fields 3 weeks ago
    Name Previous Value Current Value
    Type
    Question
    Bug
    Affected Versions
    empty
    13.1.4
  • Robin Shen changed title 3 weeks ago
    Previous Value Current Value
    Why does this message appear frequently when I upgrade to the latest version?
    Connection lost message appears when page is back/forward
  • OneDev commented 3 weeks ago

    State changed as code fixing the issue is committed (e97f17ac)

  • OneDev changed state to 'Closed' 3 weeks ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 3 weeks ago

    State changed as build OD-6872 (13.1.5) is successful

  • OneDev changed state to 'Released' 3 weeks ago
    Previous Value Current Value
    Closed
    Released
  • Koichi MATSUMOTO commented 3 weeks ago

    I have the same issue and after updating to 13.1.5, this isssue is not fixed. In Developer console in Chrome, the error message apears below:

    Websocket connection to
    'wss://dvcss.com/wicket/websocket?pageId=8&wicket-ajax-baseurl=&wicket-app-name=DefaultWicketServlet' failed.
    

    This error happens on /wicket/resource/org.apache.wicket.protocol.ws.api.wicketwebsocketjqueryresourcereference/res/js/wicket-websocket-jquery-ver-66DD82C7676F897E740E7D770D684A8D.js: 48

  • Robin Shen commented 3 weeks ago

    @mzch seems that websocket is not configured appropriately at your reverse proxy side. Please follow below tutorial and check the websocket instructions:

    https://docs.onedev.io/administration-guide/reverse-proxy-setup

  • Koichi MATSUMOTO commented 3 weeks ago

    Oh, I forgot proxy_http_version 1.1; in nginx.conf. Thanks, @robin !

  • jbauer commented 3 weeks ago

    Hmm I am seeing this error message now on every page on this installation.

  • Robin Shen commented 3 weeks ago

    @jbauer Are you on 13.1.5? If yes, please share below info:

    1. Your browser info
    2. The browser console log for connection error
    3. Your front end proxy, and make sure websocket connection is allowed to pass through
  • Robin Shen commented 3 weeks ago

    Hmm I am seeing this error message now on every page on this installation.

    Just realized that you are seeing this issue on code.onedev.io. Please share your browser info and console log though.

  • jbauer commented 3 weeks ago

    Hmm I am seeing this error message now on every page on this installation.

    Just realized that you are seeing this issue on code.onedev.io. Please share your browser info and console log though.

    It was with a chromium based browser (Arc) but today it seems to work. I didn't had any issues using Onedev but the red error message was shown all the time. Maybe something was cached in the browser.

  • Robin Shen commented 2 weeks ago

    There is a bug that sporadically shows this message even when the session has not expired. This issue has been fixed in version 13.1.6.

issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
13.1.4
Labels
No labels
Issue Votes (2)
Watchers (5)
Reference
OD-2628
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover