What is the problem? In the middle of a 48-hour print, I woke up to "The OctoPrint server is currently not running"
What did you already try to solve it? I looked at the logs: ~/.octoprint/logs/octoprint.log has a load of repeated warnings, errors etc from Polar Cloud trying to retry HTTP requests which fail with a 502. The final few messages are below, but note they are identical to those that were repeating for ~40 mins prior:
Logs (octoprint.log
, serial.log
or output on terminal tab, ...)
2019-07-21 22:40:34,620 - octoprint.plugins.polarcloud - ERROR - Unable to open socket ConnectionError: '('Connection aborted.', BadStatusLine("''",))' @ init.py:_create_socket:255
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_polarcloud/init.py", line 255, in _create_socket
self._socket = SocketIO(self._settings.get(['service']), Namespace=LoggingNamespace, verify=True, wait_for_connection=False)
File "/home/pi/oprint/local/lib/python2.7/site-packages/socketIO_client/init.py", line 353, in init
resource, hurry_interval_in_seconds, **kw)
File "/home/pi/oprint/local/lib/python2.7/site-packages/socketIO_client/init.py", line 54, in init
self._transport
File "/home/pi/oprint/local/lib/python2.7/site-packages/socketIO_client/init.py", line 62, in _transport
self._engineIO_session = self._get_engineIO_session()
File "/home/pi/oprint/local/lib/python2.7/site-packages/socketIO_client/init.py", line 76, in _get_engineIO_session
transport.recv_packet())
File "/home/pi/oprint/local/lib/python2.7/site-packages/socketIO_client/transports.py", line 82, in recv_packet
**self._kw_get)
File "/home/pi/oprint/local/lib/python2.7/site-packages/socketIO_client/transports.py", line 180, in get_response
raise ConnectionError(e)
ConnectionError: ('Connection aborted.', BadStatusLine("''",))
2019-07-21 22:40:36,762 - octoprint.plugins.polarcloud - INFO - Socket created.
2019-07-21 22:40:37,193 - octoprint.plugins.polarcloud - WARNING - unable to create socket to Polar Cloud, check again in 2.02632599323 seconds
2019-07-21 22:40:40,606 - octoprint_anywhere.mjpeg_stream - ERROR - [Errno 32] Broken pipe
2019-07-21 22:40:59,084 - octoprint_anywhere.mjpeg_stream - ERROR - [Errno 32] Broken pipe
2019-07-21 22:41:20,025 - octoprint_anywhere.mjpeg_stream - ERROR - [Errno 32] Broken pipe
2019-07-21 22:41:40,516 - octoprint_anywhere.mjpeg_stream - ERROR - [Errno 32] Broken pipe
2019-07-21 22:42:04,690 - octoprint_anywhere.mjpeg_stream - ERROR - [Errno 32] Broken pipe
2019-07-21 22:42:08,631 - octoprint.plugins.polarcloud - ERROR - Unable to open socket ConnectionError: '('Connection aborted.', BadStatusLine("''",))' @ init.py:_create_socket:255
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_polarcloud/init.py", line 255, in _create_socket
self._socket = SocketIO(self._settings.get(['service']), Namespace=LoggingNamespace, verify=True, wait_for_connection=False)
File "/home/pi/oprint/local/lib/python2.7/site-packages/socketIO_client/init.py", line 353, in init
resource, hurry_interval_in_seconds, **kw)
File "/home/pi/oprint/local/lib/python2.7/site-packages/socketIO_client/init.py", line 54, in init
self._transport
File "/home/pi/oprint/local/lib/python2.7/site-packages/socketIO_client/init.py", line 62, in _transport
self._engineIO_session = self._get_engineIO_session()
File "/home/pi/oprint/local/lib/python2.7/site-packages/socketIO_client/init.py", line 76, in _get_engineIO_session
transport.recv_packet())
File "/home/pi/oprint/local/lib/python2.7/site-packages/socketIO_client/transports.py", line 82, in recv_packet
**self._kw_get)
File "/home/pi/oprint/local/lib/python2.7/site-packages/socketIO_client/transports.py", line 180, in get_response
raise ConnectionError(e)
ConnectionError: ('Connection aborted.', BadStatusLine("''",))
2019-07-21 22:42:08,818 - octoprint.plugins.polarcloud - INFO - Socket created.
2019-07-21 22:42:09,347 - octoprint.plugins.polarcloud - WARNING - unable to create socket to Polar Cloud, check again in 2.25298247433 seconds
Additional information about your setup CR-10S, OctoPrint 1.3.11, OctoPi 0.16.0
Any ideas? The uptime for the Pi is ~34 days.. the last log entry just looks like another retry will be done in a few sec, but it cuts off?