Hi all,
I've been testing Cumulus MX on a PI for about 2 years now. Never had the need to access the web interface from outside my internal network. Yesterday I decided to have a test and do a port forwarding (TCP & UDP) to see if I can access from the outer world. The result is that I can access the web interface but no displayed data. Just a popup message "Conection is Closed". I'm using the last 3.9.4 (build 3099) in a Raspbian Stretch. I'm also running an Nginx server that is not giving me any problems to access outside.
I can access configuration, recent charts and so on, only happens in the Dashboard and Now Menus. I was wondering if I'm missing some port forwarding or configuration here, any ideas are welcome.
And finally, thanks to all the comunity and developers for a fantastic piece of software!
roger
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
Connection closed Web Interface
Moderator: mcrossley
-
xtura
- Posts: 3
- Joined: Sat 07 Jan 2017 6:08 pm
- Weather Station: Oregon Scientific WMR180
- Operating System: Debian / OSX
Connection closed Web Interface
You do not have the required permissions to view the files attached to this post.
-
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: Connection closed Web Interface
I wouldn't open your MX interface to the Internet as anybody can access it and potentially read/adjust your configuration settings.
That aside, some MX interface webpages use websockets to access data. Perhaps that is the problem?
That aside, some MX interface webpages use websockets to access data. Perhaps that is the problem?
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Connection closed Web Interface
Freddie is correct, you will need to allow web sockets through your firewall as well. But I'd also reinforce - this is a really bad idea.
If you need to see it remotely then set up a VPN, or worse allow a desktop sharing app through. Limit them to known IP addresses, or IP ranges as well if you can.
If you need to see it remotely then set up a VPN, or worse allow a desktop sharing app through. Limit them to known IP addresses, or IP ranges as well if you can.
-
xtura
- Posts: 3
- Joined: Sat 07 Jan 2017 6:08 pm
- Weather Station: Oregon Scientific WMR180
- Operating System: Debian / OSX
Re: Connection closed Web Interface
You're totally correct
The websocket must be my problem here, time to configure once and for all my VPN.
Thank you freddie!
roger
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Connection closed Web Interface
From memory, the Dashboard, Now, and Gauges pages use a web socket connection.
-
xtura
- Posts: 3
- Joined: Sat 07 Jan 2017 6:08 pm
- Weather Station: Oregon Scientific WMR180
- Operating System: Debian / OSX
Re: Connection closed Web Interface
Sorry, yes, I was writing my post before seeing yours. I already have my OpenVPN up and runningmcrossley wrote: ↑Mon 04 Jan 2021 5:47 pm Freddie is correct, you will need to allow web sockets through your firewall as well. But I'd also reinforce - this is a really bad idea.
If you need to see it remotely then set up a VPN, or worse allow a desktop sharing app through. Limit them to known IP addresses, or IP ranges as well if you can.
Thank you!