Trying to run WeatherDisplay and CumulusMX4 on the same Win10 computer with both grabbing data from my Tempest station. Getting this error in CumulusMX:
"Only one usage of each socket address (protocol/Network address/port) is normally permitted."
I assume the issue is both are trying to connect to the Weatherflow server. I'm wondering if there is a way to direct one of the programs to grab the data from my Tempest hub and skip the Weatherflow server? As a long time user of WeatherDisplay I am fairly certain I can't make any changes to cronweatherflow so hoping I can make changes in CumulusMX. Any ideas?
Dan
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Port Conflict
Moderator: mcrossley
-
freddie
- Posts: 2870
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 24.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Port Conflict
Could you zip up and attach the log file to a reply to this topic, please? It would be useful to have some context around that log message.
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Port Conflict
Cumulus is already configured to open the port in shared mode, so I think it must be WD that is opening it in exclusive mode 
-
kj6rgx
- Posts: 55
- Joined: Tue 28 May 2024 11:38 am
- Weather Station: Tempest
- Operating System: Win10
- Location: Lakewood, NY
- Contact:
Re: Port Conflict
I searched the diag file and cannot find the error. I see the error in the terminal window almost immediately as soon as Cumulus finished importing missed data records. I will do some digging to see if I can find if/where Cumulus records the error.
FWIW, still have some troubleshooting to perform, but I made a change in cronweatherflow to NOT use the websocket for data collection. One first glance it appears to have stopped the error showing in Cumulus, but more investigation is needed to verify all components of data collection are working correctly in cronweatherflow.
-
kj6rgx
- Posts: 55
- Joined: Tue 28 May 2024 11:38 am
- Weather Station: Tempest
- Operating System: Win10
- Location: Lakewood, NY
- Contact:
Re: Port Conflict
It appears the change I made to WD/cronweatherflow to not use the websocket has stopped the error in CumulusMx. Still waiting on a rain event to see what happens, but everything else appears to be functioning correctly.
Dan
Dan
-
kj6rgx
- Posts: 55
- Joined: Tue 28 May 2024 11:38 am
- Weather Station: Tempest
- Operating System: Win10
- Location: Lakewood, NY
- Contact:
Re: Port Conflict
For anyone following this thread...the change I made to use http upload in CumulusMx appears to have fixed the initial port error. But, now there is a conflict in connecting to the weatherflow server to obtain the Tempest data. I changed my WD setup to NOT use a websocket and collect the data direct from the hub. Unfortunately no rain data was being obtained, all other data was working correctly. So I switched WD back to using a websocket and re-configured CumulusMx to obtain data via Weatherlink and so far everything appears to be working correctly. Waiting on another rain event but fingers crossed this setup will continue to obtain good data.