Errors wish sockjs and client disconnecting


#1

What is the problem?

I'm getting client disconenctions in a looop
2018-06-01 16:21:29,198 - octoprint.server.util.sockjs - WARNING - Could not send message to client 192.168.1.108: object of type 'NoneType' has no len()
2018-06-01 16:21:29,256 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.108
2018-06-01 16:21:29,341 - octoprint.plugins.IFTTTmaker - INFO - Event skipped: ClientClosed
2018-06-01 16:21:32,548 - octoprint.plugins.IFTTTmaker - INFO - Event skipped: ZChange
2018-06-01 16:21:32,966 - octoprint.plugins.IFTTTmaker - INFO - Event skipped: CaptureStart
2018-06-01 16:21:33,117 - octoprint.plugins.IFTTTmaker - INFO - Event skipped: CaptureDone
2018-06-01 16:21:35,368 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.108

they are causing my IFTTT plugin to go crazy too.

What did you already try to solve it?

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)

OctoPrint 1.3.8 running on OctoPi 0.14.0


#2

It might be nice to know what the client is. (Windows-based, OSX-based, Linux-based, on the Pi itself; IE/version, Safari/version, Chrome/version, Firefox/version)...


#3

clients are:
Chrome on windows 10
and
Cura 3.3.1 with the octoprint plugin.
i'm not sure which one of these is the client that was disconencting.


#4

You might want to remote into the Raspi and check its time/timezone and such. If it's wrong, then run sudo raspi-config, go into the Localization section and set the timezone minimally.