-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Octoprint GUI asks for a reload even though there is no new server (but after a client sleep) #2950
Comments
Thank you for reporting this! Sadly your report lacks some of the information that is needed in order to look into this issue:
(If you need help with locating this stuff, please take a look into the Contribution Guidelines which explains everything - and if anything is still unclear then just ask) Could you please provide that so this issue can be analyzed and ideally reproduced and fixed? Thank you! |
If you think safe mode and octoprint.log will help; I think it's a client javascript issue. I will provide. |
Javascript or log didn't seem to give anything useful. ...it seemed more useful that I'll start debugging. So far,
yielded false false true. I'll pursue some more. |
That raises the question why the config keeps changing. Now would be a good time to take a look at the network tab of the browser developer console, check if there are any settings save requests being fired by the UI. Otherwise it's something happening in the backend. Also something to check is why this code part is even being called in the first place since it should only trigger after a reconnect. So you should also take a look at the network tab for that |
It does reconnect (I'm not sure what's in a connection, but the computer is sleeping for more than an hour) and the config hash is changing. I'll try to see why, is it suppose to change on reconnect?
(blah) hash (old) (new) |
No, not unless something has updated the config in the meantime. The hash is basically a hash over the currently effective config. That usually shouldn't change all the time. The thing is that a change in the config can have consequences for the generated HTML code (also in the code of third party plugins, hence I cannot just use a whitelist here to limit detected changes to only those affecting the HTML code). Hence the prompt to reload.
Ah, sorry, I forgot that this was happening after sending the computer to sleep. |
where is |
Never mind, I think I found it...
Lets see if I can dump the two configs and see what's changed... |
I found it! It's the telegram plugin:
|
Moving issue there. fabianonline/OctoPrint-Telegram#156 |
Thanks for the help. |
Glad you found out what's up! |
I'm having the same problem and I'm not running telegram or tpsmartlink. |
Do you have any of my power plugins installed? |
Easiest is to find the config file, copy it, next time it asks for a reload do a |
What were you doing?
Opening Octoprint interface tab in my browser.
What did you expect to happen?
Octoprint behaving nicely without PLEASE RELOAD.
What happened instead?
Octoprint asks PLEASE RELOAD.
Did the same happen when running OctoPrint in safe mode?
Not tested. Doesn't seem relevant.
Version of OctoPrint
Operating System running OctoPrint
OctoPrint 1.3.10 running on OctoPi 0.15.0PE
Browser and version of browser, operating system running browser
Mozilla Firefox 63 under Linux.
Link to contents of Javascript console in the browser
Will check next time it happens.
Screenshot(s)/video(s) showing the problem:
...I have read the FAQ.
The text was updated successfully, but these errors were encountered: