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

"Connection lost or session expired, reload to recover"

When I use the browser's back button

  • Juanro commented 2 months ago

    I have the same issue after upgrade to 13.1.4

  • Robin Shen changed fields 2 months ago
    Name Previous Value Current Value
    Type
    Question
    Bug
    Affected Versions
    empty
    13.1.4
  • Robin Shen changed title 2 months 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 2 months ago

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

  • OneDev changed state to 'Closed' 2 months ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 2 months ago

    State changed as build OD-6872 is successful

  • OneDev changed state to 'Released' 2 months ago
    Previous Value Current Value
    Closed
    Released
  • Koichi MATSUMOTO commented 2 months 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 2 months 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 2 months ago

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

  • jbauer commented 2 months ago

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

  • Robin Shen commented 2 months 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 2 months 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 1 month 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 1 month 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