Menu

#5059 Connection error

1.870
closed-fixed
nobody
None
5
2018-10-04
2017-12-12
No

since the update to 1.870 I very often receive the message "Connection Error" can't establish a connection to the server. Than I have to reload the page and it will work again for a few minutes.

Discussion

1 2 > >> (Page 1 of 2)
  • Wd

    Wd - 2017-12-12

    I'm seeing the same thing on 2 completely different servers. One is running Ubuntu 17.10; the other is running Ubuntu 17.04.

     
  • Jamie Cameron

    Jamie Cameron - 2017-12-13

    Can you post a screenshot of the error message?

     
  • Wd

    Wd - 2017-12-13

    See attachment

     
  • Jamie Cameron

    Jamie Cameron - 2017-12-15

    Thanks - I think this happens if the client-side code intermittently can't connect to the server. It shouldn't display a visible error message though - I will ask the webmin theme developer to look into it.

     
  • Ilia Rostovtsev

    Ilia Rostovtsev - 2017-12-15

    When exactly do you have this message appearing?

    I was going to made a patch for such messages comming from restarting Apache when Webmin is used behind proxy.

    These messages should not appear really unless AJAX returns an error, which is what actually happening. Are you having unstable Internet connection?

    I have it on my to-do. I will make sure that this message automatically disappears on succesful reconnect and second, make sure that this message appears only after certain number of unsuccesfull attempts.

     
  • udo bekemeier

    udo bekemeier - 2017-12-15

    It appears more or less constantly. The network konnection is stable.

     
  • Ilia Rostovtsev

    Ilia Rostovtsev - 2017-12-15

    It shouldn't. Do you have browser extensions?

     
  • Wd

    Wd - 2017-12-15

    It is indeed more or less constant. It goes away for a few minutes after a complete page refesh. It appears in Chrome, Opera and MS Edge (which has no extensions at all).
    It also coincides with a relatively heavy processor load in an otherwise idle server. None of this happened with 1.86. Is there an easy way to go back to 1.86?

     
  • Ilia Rostovtsev

    Ilia Rostovtsev - 2017-12-15

    If you increse timeout for real-time stats updatesin theme settings, will it stop messages from appearing?

    • Oh by the way do you suddenly have,IfIf you go to Webmin Configuration/Background Status Collection

    What is Collect system status in backgroundvalue set to?

     
  • Wd

    Wd - 2017-12-15

    The update value is set to 1000. Has never been changed.
    Remember: this apears on two differnt servers neither of which has changed any Webmin settings or anything else, right after the update to 1.87.
    Background Status Collection: Never, Yes, Yes, Celsius.

     

    Last edit: Wd 2017-12-15
  • Ilia Rostovtsev

    Ilia Rostovtsev - 2017-12-15

    I'm very sorry but this is NASTY bug that happens only when Background Status Collection set to never.

    It's been fixed few days ago.
    https://github.com/qooob/authentic-theme/issues/931

    All you need to do now is to update from the repo with the latest developemnt version or set Background Status Collection to any value higher than 0.

     
  • Wd

    Wd - 2017-12-15

    OK, set background status collections to 2 minutes, which solved the problem. Thanks.

     
  • Ilia Rostovtsev

    Ilia Rostovtsev - 2017-12-16

    Besides everything, connection error dialog will test for connection to come back and will self-destruct.

    It's added in the following commit:
    https://github.com/qooob/authentic-theme/commit/51127a1606040e827cb9f0b2c0e34077b8bea754

    You can force update the theme to try it.

    The initial issue will be resolve with upcoming 19.05 release. Tomorrow or at most the day after tomorrow.

     
  • Craig Williams

    Craig Williams - 2017-12-20

    Where is this configuration located? I believe I have hit the same issue (I can't get it to load even after waiting a few minutes though).

    Just as an extra, using telnet and hand crafting a HTTP request for (index) / doesn't return any response at all either....

     
  • Ilia Rostovtsev

    Ilia Rostovtsev - 2017-12-20

    Webmin Configuration/Background Status Collection - you can set it to any value higher than 0.

    You could simply go to authentc-theme directory and run theme-update.sh to fix the issue.

    In case you close the browser, the connection will break and the load would reduce.

    Just update to the latest version. It's fixed in 19.05 that is released already.

     
  • Ilia Rostovtsev

    Ilia Rostovtsev - 2017-12-20

    You could also edit ..../webmin/system-status/config and edit collect_interval. You would need to restart Webmin after doing that manually, I think.

     
  • udo bekemeier

    udo bekemeier - 2017-12-20

    On top of this error I found some others. Webmin is no longer reachable over the internet - connection refused and when click on "system start stop" all of the scripts there are empty when you click on them. So I went back to 1.860

     
  • Ilia Rostovtsev

    Ilia Rostovtsev - 2017-12-20

    What is the exact error?

     
  • udo bekemeier

    udo bekemeier - 2017-12-20

    Well it just refuses to connect since the update - Chrome says connection is rejected - don't know why.
    What happend with the start stop scripts I don't know neither. All the scripts seems to be empty.

     
  • Craig Williams

    Craig Williams - 2017-12-20

    Havent checked the start/stop scripts so i cant comment on that

    As for theconfig path, where is ......./??

     
  • Craig Williams

    Craig Williams - 2017-12-20

    Also experiencing the "connection error"/"server maybe busy"/"unable to communicate with sserver" error

     
  • Ilia Rostovtsev

    Ilia Rostovtsev - 2017-12-21

    @udo. In case you're talking about empty from the Webmin UI, yes. It's anoter bug that has been fixed in 19.05. All Webmin's configs are located under /etc/webmin. In this case you would need system-status module and its config with collect_interval key.

    @Craig Don't do this. Just update the theme by going to /usr/share/webmin/authentic-theme (on Debian) or to /usr/libexec/webmin/authentic-theme on RHEL system and run theme-update.sh It will clear the mess in no time.

     

    Last edit: Ilia Rostovtsev 2017-12-21
  • udo bekemeier

    udo bekemeier - 2018-01-03

    @ Ilia. no nothing of that works. Just tried again to install the 1.870 version, but the connection error and empty scripts are still there. The theme-update.sh does not work. It stops with several syntax error messages. The theme version was the latest listed on your site...
    So I'm back to 1.860

     
  • Ilia Rostovtsev

    Ilia Rostovtsev - 2018-01-04

    There is latest Webmin 1.873 with Theme 19.07 is available at Virtualmin repo.

    Those issues were surely fixed.

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.