Still have this problem after trying several versions of Octoprint. Sometimes I got "Server Offline" several times a day. Before posting logs on public forum, what information should I remove? The IP address? What else?
In this case, is octoprint.log all you need? Is posting only the logs for today OK?
The IP addresses are usually local only (unless you have your instance on a public server somewhere, don't do that) so realistically there is no problem sharing them. We do take care to make sure that sensitive information is not logged, can't speak for all plugins but vast majority of developers are responsible.
If you really want to remove 192.168.0.10 or 192.168.1.25 from your logs, then by all means do so but there's nothing really identifiable. If there is something you want to remove, please replace it with *** or something else so it is obvious that you removed it.
And to answer the other question, we need octoprint.log and ideally also some more information about your network environment - wireless or wired, distance to router, if other clients on the network show the same issue, and so on. And we need a log from a day where it happened (and ideally also the information from you when it happened) so that we can see what the server saw when it happened.
I was surprised that there was no "server offline" error the past two days as it usually happened whenever I used the printer. Sometimes a few times a day. However, it happened again today. I saved the log file after I noticed the offline error. I don't know the exact time but it should have happened between Feb 15 12:40pm and 14:06pm. The time shown in the log are 5 hours ahead of my local time.
It is a home wireless network.
Distance between router and the RPi is about 18 feet (I walked from the router to the printer. As I walked, I had the left and right foot touching and in front of each other)
Other clients on the network never have such issue.
I've recently had this issue as well with the Pi 4 and didn't have the issue on my other older one. What I've done so far is running a kernel update to the "latest available" rather than what raspberry foundation considers stable and so far it has been performing well. There were several weird things going on with the interface where it would think it had an IP but couldn't talk to client on a different wireless band (2G vs 5G), etc. So far since the update I haven't seen any weird things yet. If you want to give it a try these are the commands I used via SSH, there could be unwanted side effects that I haven't discovered yet.
Thanks. From my log file, is there anything unusual? I am using a Pi4 4GB.
Of the two days that had no issue, I only had Octoprint connected to my desktop PC. On the 3rd day, occasionally I checked the video feed via a laptop. Could it be that the chance of getting "server offline" increases if connecting to Octoprint from more than one device? Shall keep an eye on this next time.
Sometimes the real-time video feed shown under Control is a few seconds slower. For example, after I took out the print and closed the door of my enclosure, Control showed my hand taking out the print. It was so freaky! Could this be a related issue or a separate issue? Can the log file I submitted tell what went wrong?
Assuming Pi connects to Wifi. Is it a router/firewall/access point combo or do you have other equipment? If a combo what model is it? If it's more complex what is the full topology?
2.4Ghz, 5Ghz ,or both? Have you tried one over the other?
Result of iwconfig from SSH? (Strip SSID if you want)
Have you logged in via console(monitor) and ran dmesg to look for errors when it occurs? If possible save it and provide the next time. dmesg > /home/pi/dmesg.$(date +%s).log
(I may be asking something that was previously answered, sorry if I missed it)
I am using a Sagemcom FAST 5566. It is a moderm router combo with firewall built in.
Both 2.4GHz and 5GHz automatically.
I have not tried a regular ethernet connection as family members would complain.
I have not tried a USB wifi adapter as there is wifi builtin the Pi.
Yesterday when using a Pi4B, I got four server offline errors in one morning. Then, I changed to Pi3B+ in the afternoon. I got this error after using it for about 9 hours.
When I set up the Pi3B+, I recall a setting about testing connection every 5 minutes by default. How do I change it to every 1 minute? Do you think it will help?
You asked for the results of some commands. When the Pi is offline, I cannot connect to it via ssh. How do I issue commands and get the results? Are results immediately after the Pi is rebooted OK?
Thanks. I tried the Pi3B+ for a few days. It is a bit better but there are still shutdown issues. There are two folders under nightly and nightly-arm64. Shall I use the nightly one? There are lots of files inside that folder. How do I install it?