Connection Refused after a couple of days of running fine


#1

Hi all, I recently updated my brewpi setup to use the wifi connection. I’ve found everything works nicely for a couple of days and then logging on the pi stops. The spark v2 keeps controlling the temperature but doesn’t allow a connection anymore. Both the pi and photon respond to a ping. A reboot of the pi which also restarts the spark photon fixes the problem.

I noticed that the pi connects and disconnects with the photon quite often.
See below…

Greg

Jul 18 2018 09:51:14 Found BrewPi v0.5.5 build 0.5.5-0-g3a3680b9c, running on a Particle Photon with a V2 shield

… stuff deleted…

Jul 20 2018 09:04:03 Serial Error: socket disconnected)
Jul 20 2018 09:04:04 Serial (re)connected over WiFi at socket://192.168.0.50:6666
Jul 20 2018 09:10:08 Serial Error: socket disconnected)
Jul 20 2018 09:10:10 Serial (re)connected over WiFi at socket://192.168.0.50:6666
Jul 20 2018 10:53:43 Serial Error: socket disconnected)
Jul 20 2018 10:53:43 Serial (re)connected over WiFi at socket://192.168.0.50:6666
Jul 20 2018 12:28:57 Serial Error: socket disconnected)
Jul 20 2018 12:28:59 Serial (re)connected over WiFi at socket://192.168.0.50:6666
Jul 20 2018 12:56:17 Serial Error: socket disconnected)
Jul 20 2018 12:56:18 Serial (re)connected over WiFi at socket://192.168.0.50:6666
Jul 20 2018 12:58:49 Serial Error: read failed: [Errno 104] Connection reset by peer)
Jul 20 2018 20:41:34 Error opening serial: Could not open port socket://192.168.0.50:6666: timed out
Jul 20 2018 20:41:50 Error opening serial: Could not open port socket://192.168.0.50:6666: [Errno 113] No route to host
Jul 21 2018 00:00:00 Notification: New day, creating new JSON file.
Jul 21 2018 00:58:20 Error opening serial: Could not open port socket://192.168.0.50:6666: [Errno 111] Connection refused


#2

Sorry, just noticed firmware version 0.5.6. Which has some wifi stability fixes.
Shall give that a go.