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
Problem with Custom HTTP
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: Problem with Custom HTTP
Yes, that's correct. It shows two things: (a) There is a permanent redirect operating on your website to ensure all requests use https. (b) Making an https request from your Pi works, so there isn't an issue with your SSL certificates.
You mentioned that you experienced an error when setting your customHTTPseconds URL to use https. What was that error? I couldn't see it in the comments in this topic.
You mentioned that you experienced an error when setting your customHTTPseconds URL to use https. What was that error? I couldn't see it in the comments in this topic.
-
Shamy
- Posts: 27
- Joined: Sat 07 Nov 2015 7:53 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: Windows 10
- Location: Krotoszyn
Re: Problem with Custom HTTP
Maybe I wrote it wrong - my English is not very good - which you can probably see
The thing was that when I typed http or https it didn't change anything, it still didn't work properly. I saw information about SSL in the logs, so I changed from https to http, but that didn't work either. I hope I've made it clear now
-
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: Problem with Custom HTTP
I think it didn't change because of the redirect to https if you try to use http. I'm a bit puzzled now. @mcrossley I'm assuming mono uses system certs and doesn't have its own?
- 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: Problem with Custom HTTP
If like to see a log file with the custom URL set to use https and the resulting error.
Afaik mono uses the system certs - that's why the old root cert fix for windy works. The error we have seen was an SSL error rather than certificate.
I checked the site out and it accepts all encryption protocols from the obsolete SSL (they really should be disabled on the server!) through to TLS1.3 so there should be no issue there.
Afaik mono uses the system certs - that's why the old root cert fix for windy works. The error we have seen was an SSL error rather than certificate.
I checked the site out and it accepts all encryption protocols from the obsolete SSL (they really should be disabled on the server!) through to TLS1.3 so there should be no issue there.
- ConligWX
- Posts: 1835
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04.1 LTS
- Location: Bangor, NI
- Contact:
Re: Problem with Custom HTTP
what version of mono are you running? just curious.
-
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: Problem with Custom HTTP
From the supplied log file:
Code: Select all
2023-03-23 13:27:17.447 Mono version: 6.12.0.182 (tarball Tue Jun 14 22:42:26 UTC 2022)-
Shamy
- Posts: 27
- Joined: Sat 07 Nov 2015 7:53 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: Windows 10
- Location: Krotoszyn
Re: Problem with Custom HTTP
Okay, I changed from http to https. No changes, here is the log:
Code: Select all
2023-03-25 14:29:32.491 ApplyData: Complete
2023-03-25 14:29:32.491 ProcessData: Complete
2023-03-25 14:29:43.520 CustomHttpSeconds[0]: Querying - https://www.pogodakrotoszyn.pl/ecowitt-mysql.php
2023-03-25 14:29:43.599 Realtime[201]: Start cycle
2023-03-25 14:29:43.600 Realtime[201]: Creating realtime.txt
2023-03-25 14:29:43.601 Realtime[201]: Creating realtime file - realtimegauges.txt
2023-03-25 14:29:43.665 CustomHttpSeconds: The SSL connection could not be established, see inner exception.
2023-03-25 14:29:46.696 Realtime[201]: End cycle- ConligWX
- Posts: 1835
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04.1 LTS
- Location: Bangor, NI
- Contact:
Re: Problem with Custom HTTP
from mono it states:
perhaps Shamy's OS is missing the ca-certificates-mono package?Starting with Mono 3.12.0 a new tool called cert-sync is included which syncs Mono’s certificate store with the system certificate store. It should run automatically when you install the official Mono packages. Make sure the ca-certificates-mono package is installed.
-
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: Problem with Custom HTTP
Do you have debug logging and data logging switched on?Shamy wrote: ↑Sat 25 Mar 2023 1:32 pm Okay, I changed from http to https. No changes, here is the log:
Code: Select all
2023-03-25 14:29:32.491 ApplyData: Complete 2023-03-25 14:29:32.491 ProcessData: Complete 2023-03-25 14:29:43.520 CustomHttpSeconds[0]: Querying - https://www.pogodakrotoszyn.pl/ecowitt-mysql.php 2023-03-25 14:29:43.599 Realtime[201]: Start cycle 2023-03-25 14:29:43.600 Realtime[201]: Creating realtime.txt 2023-03-25 14:29:43.601 Realtime[201]: Creating realtime file - realtimegauges.txt 2023-03-25 14:29:43.665 CustomHttpSeconds: The SSL connection could not be established, see inner exception. 2023-03-25 14:29:46.696 Realtime[201]: End cycle