Refresh
I'm using Repetier-server with Raspberry Pi image. I access it through Safari on MacOS. I'm having a problem with webpage refresh. If I don't click in the website for a couple of minutes, I need to refresh it again. After more some minutes, refresh again. Otherwise If I click it any button it does nothing. Always needing to refresh is a pain.
Comments
Is there anything else needed to make it not work, like screensaver must get active, sleep mode active, ...
Even if you loose connection due to sleep or whatever it would normally just reconnect automatically.
If you open debug console, do you see any problems there?
There is no problem with printer connection. Just the website doesn't respond to clicks in different icons or tabs. I don't have this problem with octoprint or other sites. It does work very well if I'm working continually with it, but if for some reason I don't click in any place of the website for a couple of minutes, it stops responding to the clicks, but I can still see the website running and printer connection. For example, if I try to change temperature or change X position, I can click on the button but it does nothing. After refreshing it works as supposed.
That sounds like some element is on top of the button that is invisible. Just can't imagine which since I never have that problem and also have no other reports. But that should show the element in inspector so I can see and hopefully detect what it is and if it is from us or comes maybe from a plugin you have installed.
From the selection there seems nothing on top of them. So that is not the reason.
Could you also check the console content when it happens. These send javascript commands so the other reason to not work would be a javascript error and console would show it.
Will try to find the translation errors.
What is the difference? Google translates both the same. There are many sentences containing "extrusir" - are they always wrong or only when it is used alone. Or is it grammatical difference and inside sentences extrusir is then correct?
Portuguese dictionaries only have "extrudir". "Extrusir" doesn't exist. I think som e people says or writes that but is totally wrong. I rechecked it on the 3 most important portuguese dictionaries.
Regarding the bug I have no real idea. The error you showed is quite vage and does not say the real reason. Assuming they happen when the error starts. Is there a special page you have open before it happens? What do you do to get it? Had a page open for 30 minutes and continued without problems, so not sure how to recreate is. Which plugins do you have installed? I have only my password manager plugin and nothing else.
Also did you test with a different browser? Chrome, Firefox, Brave to see if it only happens on Safari in your case.
You can avoid that by disabling mjpg in printer configuration so only static images get loaded. Or use a browser without that bug. I'm searching for a solution but since it looks like a browser bug it might not be solvable apart form not using mjpg.
I have this problem even if repetir-server is the first webpage opened on Safari. I think it doesn't matter what page I open next. I tried different websites but with the same problem on Repetier-Server webpage. I don't have any plugin installed on Safari. It's a fresh install. I didn't test it with different browser...
I have a Raspberry Pi connected but is not active in Repetier-Server. I will try to disable Raspberry Pi on Raspi-Config...
Good news is that I have an idea how to work around the mjpg problem at least for next release.
2) One Safari window with Repetier-server and other websites running in different tabs: problem!
Are you running it on a laptop maybe so there are different energy savings then on my desktop imac?
In safari settings->advanced there is a setting to stop plugins for power saving. I had this enabled. Just disabled for testing if that is the problem, but what is your setting there.
Do you get that problem every time you switch back after 2 minutes or does it only happen sometimes?
I'm using the latest version of Safari available, but I think I had this problem already before upgrading to macOS Catalina: 13.0.3 (15608.3.10.1.4).Repetier said:
There is something I can change or some file just to check if extending timeout from 15 to 300 seconds works?
It happens always. It's a contacts problem. I can repeat it easily. The only way it works is opening other sites in different windows. If I open in the same window of Repetier-Server it just stops, then I must refresh. It's annoying because I need to to that a lot of times a day.
Would be interesting if you could open debug tools->network tab and see if you get more connection to "socket" when the problem appears resp. when tab is invisible. My changes should prevent the need and at max. add one new socket when tab is activated (only when it still was disconnected). Before it would open several connections per minute and close them.