peted-davis / WeatherFlow_PiConsole

Raspberry Pi Python console for WeatherFlow Tempest and Smart Home Weather Stations
GNU General Public License v3.0
156 stars 20 forks source link

Constant relaunch #141

Closed swvalenti194 closed 4 months ago

swvalenti194 commented 5 months ago

Just recently I am getting constant restarts of wfpiconsole even though the connection is never lost. Keeps quitting and relaunching. Any ideas?

{PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye}

swvalenti194 commented 5 months ago

Here is the log before a crash, Happens like every 5mins

[INFO ] [Websocket ] 2024-03-23 18:55:38 - Opening connection [ERROR ] [Websocket ] 2024-03-23 18:55:48 - General error: [INFO ] [Websocket ] 2024-03-23 18:55:58 - Opening connection [ERROR ] [Websocket ] 2024-03-23 18:56:08 - General error: [INFO ] [Websocket ] 2024-03-23 18:56:18 - Opening connection [ERROR ] [Websocket ] 2024-03-23 18:56:28 - General error: [INFO ] [Websocket ] 2024-03-23 18:56:38 - Opening connection [INFO ] [Websocket ] 2024-03-23 18:56:43 - Connection open [WARNING] [request_api ] 2024-03-23 18:57:03 - last_24h call failed [WARNING] [Websocket ] 2024-03-23 18:57:26 - Ping failed [INFO ] [Websocket ] 2024-03-23 18:57:26 - Closing connection [INFO ] [Websocket ] 2024-03-23 18:57:26 - Connection closed [INFO ] [Websocket ] 2024-03-23 18:57:36 - Opening connection [INFO ] [Websocket ] 2024-03-23 18:57:36 - Connection open [WARNING] [Websocket ] 2024-03-23 18:58:36 - Ping failed [INFO ] [Websocket ] 2024-03-23 18:58:36 - Closing connection [INFO ] [Websocket ] 2024-03-23 18:58:36 - Connection closed [INFO ] [Websocket ] 2024-03-23 18:58:46 - Opening connection [INFO ] [Websocket ] 2024-03-23 18:58:46 - Connection open

peted-davis commented 5 months ago

This doesn't show the console crashing - it just shows that the websocket connection is resetting constantly. Likely a network error

swvalenti194 commented 5 months ago

Interesting thank you. Not sure why but I'll see if I can drill that down.

swvalenti194 commented 5 months ago

@peted-davis Not sure why this is happening now, didn't happen for months. Nothing in network has changed. Any ideas to see what is happening? Almost unusable as it happens every 5minutes