DaveStLou Posted January 2, 2023 Share Posted January 2, 2023 I noticed this some time yesterday that my WeatherPoly Node Server was offline. On the dashboard, I found it's displaying a notice "Failed to start weather monitoring service." Looking at the log, I found "Web server failed to start: [Errno 48] Address already in use" I haven't changed anything on my configuration and I confirmed the port is correctly configured as "8188" I use this NS to receive information from my weewx software and also, haven't made any changes over there. Via ssh, I found this in the port list which looks correct to me: USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS polyglot python3.9 77205 5 tcp4 *:8188 *:* What's the correct way to recover from this? Restarting the Node Server hasn't worked. Thanks! Link to comment
Solution bpwwer Posted January 2, 2023 Solution Share Posted January 2, 2023 The node server is probably already running, just not connected to PG3. ps auxww | grep weatherstation.py and see if it shows up in the list. If so, then it needs to be killed before you can start it from PG3. Link to comment
DaveStLou Posted January 2, 2023 Author Share Posted January 2, 2023 That was it. Thanks! Link to comment
Recommended Posts