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

Port Conflict

From Cumulus MX version 3 build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since, and has recently released Cumulus MX version 4. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
kj6rgx
Posts: 55
Joined: Tue 28 May 2024 11:38 am
Weather Station: Tempest
Operating System: Win10
Location: Lakewood, NY
Contact:

Port Conflict

Post by kj6rgx »

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
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

Post by freddie »

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.
Freddie
Image
User avatar
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

Post by mcrossley »

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

Post by kj6rgx »

freddie wrote: Mon 10 Jun 2024 2:37 pm 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.
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

Post by kj6rgx »

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
kj6rgx
Posts: 55
Joined: Tue 28 May 2024 11:38 am
Weather Station: Tempest
Operating System: Win10
Location: Lakewood, NY
Contact:

Re: Port Conflict

Post by kj6rgx »

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.
Post Reply