Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Updated and now browser shows 'Connection Closed'
Moderator: mcrossley
-
- Posts: 57
- Joined: Mon 18 May 2015 9:34 am
- Weather Station: Ecowitt 1001 WiFi
- Operating System: Raspbian 10 (Buster lite)
- Location: Bradworthy, North Devon
- Contact:
Updated and now browser shows 'Connection Closed'
Hello all. It's been a long time since I had to post here. My motto has always been if it ain't broke leave it alone! Having said that I realised I was now running a very old version and so have updated to the latest version of MX. Looking back through the update posts I saw notice of a few major changes and the suggestion that all files in the distribution package be updated. (something to do with FTP and dlls I think) so this is what I've done.
Every thing seems to be OK, even my web page is being updated correctly BUT when I view with a web browser the 'Gauges' tab is showing all the gauges at null or zero and when I click on the 'Now' tab the web browser instantly pops up a 'Connection Closed' notification and all the fields are empty.
I repeat - all else seems OK and all the other tabs are displaying correctly.
Can anyone cleverer than me save me a few hours and point me in the right direction to fix these two issues. Thanks!
Every thing seems to be OK, even my web page is being updated correctly BUT when I view with a web browser the 'Gauges' tab is showing all the gauges at null or zero and when I click on the 'Now' tab the web browser instantly pops up a 'Connection Closed' notification and all the fields are empty.
I repeat - all else seems OK and all the other tabs are displaying correctly.
Can anyone cleverer than me save me a few hours and point me in the right direction to fix these two issues. Thanks!
- mcrossley
- Posts: 12766
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Updated and now browser shows 'Connection Closed'
Clear your browser cache, and which browser are you using, the release 3056 main dashboard page does not work with IE.
-
- Posts: 57
- Joined: Mon 18 May 2015 9:34 am
- Weather Station: Ecowitt 1001 WiFi
- Operating System: Raspbian 10 (Buster lite)
- Location: Bradworthy, North Devon
- Contact:
Re: Updated and now browser shows 'Connection Closed'
Thanks Mark. I'm using current version of Firefox and Opera. Have cleared the cache. Same result using either.
- mcrossley
- Posts: 12766
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Updated and now browser shows 'Connection Closed'
Edit: forget that, you are talking about your web pages - my error
-
- Posts: 57
- Joined: Mon 18 May 2015 9:34 am
- Weather Station: Ecowitt 1001 WiFi
- Operating System: Raspbian 10 (Buster lite)
- Location: Bradworthy, North Devon
- Contact:
Re: Updated and now browser shows 'Connection Closed'
No - you were right first time. I didn't really give enough information. I'm running my Pi headless and access the Dashboard over Ethernet and a web browser on my PC. It's there that the Now and Gauges tabs report 'Connection closed' The other tabs show data and work correctly and my website weather page is being updated correctly.
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12766
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Updated and now browser shows 'Connection Closed'
Odd, as all the pages that update use the same web sockets mechanism.
Can you launch the Firefox Network tool ( Ctrl-Shift-E ) and see if you are getting any errors, the data should be coming on a connection labelled "ws"
I just tried Firefox on my install and the gauges are working OK.
Can you launch the Firefox Network tool ( Ctrl-Shift-E ) and see if you are getting any errors, the data should be coming on a connection labelled "ws"
I just tried Firefox on my install and the gauges are working OK.
- mcrossley
- Posts: 12766
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Updated and now browser shows 'Connection Closed'
Unfortunately Firefox does not show the actual web socket messages - if you do the same in Chrome, that will show all the WS messages as they are received.
-
- Posts: 57
- Joined: Mon 18 May 2015 9:34 am
- Weather Station: Ecowitt 1001 WiFi
- Operating System: Raspbian 10 (Buster lite)
- Location: Bradworthy, North Devon
- Contact:
Re: Updated and now browser shows 'Connection Closed'
Hi Mark, I appreciate your help.
I don't have Chrome but Opera seems to supply the info needed. I can't be 100% sure as this is now above and beyond my competence level!
Pictures below show Network and Console responses from the Now tab.
I don't have Chrome but Opera seems to supply the info needed. I can't be 100% sure as this is now above and beyond my competence level!
Pictures below show Network and Console responses from the Now tab.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 3254
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Updated and now browser shows 'Connection Closed'
I assume you started Cumulus as root using "sudo mono CumulusMX.exe", because the 200 code means "Such a response means the remote resource located at the URL doesn't listen or at least can't respond to a websocket request."., which would happen if Cumulus could not open the listening port because it was started incorrectly.
-
- Posts: 57
- Joined: Mon 18 May 2015 9:34 am
- Weather Station: Ecowitt 1001 WiFi
- Operating System: Raspbian 10 (Buster lite)
- Location: Bradworthy, North Devon
- Contact:
Re: Updated and now browser shows 'Connection Closed'
Thanks David. Yes, Cumulus is started as root - sudo mono etc. Also would not all pages would report the same if Cumulus was not started correctly? As it is it's just Now and Gauges that show this behaviour.
- mcrossley
- Posts: 12766
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Updated and now browser shows 'Connection Closed'
Very strange, and really hard to debug via a forum! Code 200 normally means success for HTML connection, but the web socket connection should return an error 101 code which means it is switching protocols to WebSockets.
What is also of interest is that the JavaScript on those pages, and the actual WebSocket code in CMX has not changed in quite a long time, and it is working for other people (me included) which points to some change in your environment.
Is there any chance of another copy of CMX running in background?
What is also of interest is that the JavaScript on those pages, and the actual WebSocket code in CMX has not changed in quite a long time, and it is working for other people (me included) which points to some change in your environment.
Is there any chance of another copy of CMX running in background?
- HansR
- Posts: 5964
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Updated and now browser shows 'Connection Closed'
I notice you have a version 3.18 for raspbian. That is not really current while the hardware really can handle more.
Wouldn't it be an idea to upgrade the OS?
Wouldn't it be an idea to upgrade the OS?
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 57
- Joined: Mon 18 May 2015 9:34 am
- Weather Station: Ecowitt 1001 WiFi
- Operating System: Raspbian 10 (Buster lite)
- Location: Bradworthy, North Devon
- Contact:
Re: Updated and now browser shows 'Connection Closed'
Thanks everyone.
Mark, there is only one instance of CMX running. I do run it in a detached screen but have always done so.
Hans, I did try to use the latest version of Raspbian (separate SD card) and although that was fine on my ageing Pi - the then needed version of Mono would not install. I think I'll just replace all the CMX files on the pi again, just in case I missed something, and see what happens.
Mark, there is only one instance of CMX running. I do run it in a detached screen but have always done so.
Hans, I did try to use the latest version of Raspbian (separate SD card) and although that was fine on my ageing Pi - the then needed version of Mono would not install. I think I'll just replace all the CMX files on the pi again, just in case I missed something, and see what happens.
-
- Posts: 1
- Joined: Wed 06 Jan 2016 11:38 pm
- Weather Station: ws-2350
- Operating System: 10
- Location: greece
Re: Updated and now browser shows 'Connection Closed'
hello
i have the same error after i update from version 3.0.0 build 3043
with that old version everything work great
but with update
the section now say connection closed
and the section Gauses not work at all
i use chrome and firefox last versions
it run at win10 pro
i install again the old version and i try update it again with versions newer that i have and i take the same erros
Sorry about my english but i hope you understand what i mean
i have the same error after i update from version 3.0.0 build 3043
with that old version everything work great
but with update
the section now say connection closed
and the section Gauses not work at all
i use chrome and firefox last versions
it run at win10 pro
i install again the old version and i try update it again with versions newer that i have and i take the same erros
Sorry about my english but i hope you understand what i mean
- mcrossley
- Posts: 12766
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Updated and now browser shows 'Connection Closed'
I worked through this with another user, it turned out to be just a stale cache issue. Clear the browser cache and it everything should work OK.