Hi, i tried connect to the octoprint server but the site said 'Octoprint is currently not running'
I tried verifying that the process is running but nothing came up, i looked at the log but i couldn't understand what was up and i tried sudo service octoprint restart but no change.
Before i started the pi i tried to add a command to the server (like where the shutdown and restart options are), but I'm guessing i messed up somewhere, i then tried removing the line but still no change. Now im here, here are the last few lines of the octoprint.log that i accessed through putty:
WebSocketClosedError
2020-11-30 04:46:05,820 - octoprint.plugins.enclosure - INFO - Setting GPIO mode to BCM
2020-11-30 04:46:05,822 - octoprint.plugins.enclosure - INFO - Setting GPIO pin 0 as OUTPUT with initial value: 1
2020-11-30 04:46:05,825 - octoprint.plugins.enclosure - INFO - Adding GPIO event detect on pin 0 with edge: 32
2020-11-30 04:54:25,932 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-11-30 04:56:07,458 - octoprint.server.util.flask - INFO - Passively logging in user Thomas from ::ffff:192.168.0.3
2020-11-30 04:56:07,462 - octoprint.access.users - INFO - Logged in user: Thomas
2020-11-30 04:56:08,145 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.0.3
2020-11-30 04:56:08,188 - octoprint.server.util.flask - INFO - Passively logging in user Thomas from ::ffff:192.168.0.3
2020-11-30 04:56:08,189 - octoprint.access.users - INFO - Logged in user: Thomas
2020-11-30 04:56:10,704 - octoprint.server.util.sockjs - INFO - User Thomas logged in on the socket from client ::ffff:192.168.0.3
2020-11-30 04:56:10,786 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.0.3
2020-11-30 04:56:10,789 - tornado.application - ERROR - Future exception was never retrieved: Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/tornado/gen.py", line 1141, in run
yielded = self.gen.throw(*exc_info)
File "/home/pi/oprint/local/lib/python2.7/site-packages/tornado/websocket.py", line 876, in wrapper
raise WebSocketClosedError()
WebSocketClosedError
2020-11-30 05:09:25,936 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-11-30 05:24:25,938 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-11-30 05:29:42,796 - octoprint.server.api.system - INFO - Performing command for core:restart: sudo service octoprint restart
2020-11-30 05:29:42,995 - octoprint.server - INFO - Shutting down...
2020-11-30 05:29:43,273 - octoprint.server - INFO - Calling on_shutdown on plugins
2020-11-30 05:29:43,274 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2020-11-30 05:29:43,278 - octoprint.events - INFO - Event loop shut down
2020-11-30 05:29:43,291 - octoprint.server - INFO - Goodbye!
im guessing that the last part is me restarting the server.
Run sudo service octoprint restart, wait 2 mins, then run sudo service octoprint status, paste the output here and also upload the full log file if you can.
I have the exact same issue after changing my router but setting the Wi-Fi up the same way. I even changed SSID, tried on 5 GHz, I can connect fine via ssh but accessing the web UI crashes OctoPrint.
This thread has been dormant for 9 month and it wasn't a well defined issue in the first place.
Please don't piggy-back on old threads. If you have an issue, please open a new thread, take your time to describe your system, your problem, the steps you have taken.
Opening a thread under GetHelp serves you a template, follow it. That may look like a lot of work to post your problem but
a) when you do that sincerely, like your reputation depends on it, you have a good chance to find a new angle about it all or even solve the issue yourself while writing.
b) when you hope that people who know nothing about your setup invest their time to try to help you, you really want to tell them what your situation is.