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

Maps failing

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
User avatar
rogerthn
Posts: 506
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Maps failing

Post by rogerthn »

I have finally done the upgrade to bullseye and CumulusUtils Version 6.7.1.
Maps seems to be failing?

Code: Select all

2021-11-14 08:34:50.730 MapsOn: Start
2021-11-14 08:34:50.735 Information  MapsOn: Adding Station: Sandhem/Trollhättan
2021-11-14 08:34:50.762 Information MapsOn: Must NOT send signature, has been done already : 14/11/21
2021-11-14 08:34:50.763 Information Fetch Map: Fetching the generated map
2021-11-14 08:34:50.763 GetUrlData Start: URL - https://meteo-wagenborgen.nl/maps.txt
2021-11-14 08:34:50.764 Information GetUrlData Calling GetAsync
2021-11-14 08:34:51.435 Error GetUrlData : Exception - The SSL connection could not be established, see inner exception.
2021-11-14 08:34:51.454 Error GetUrlData: Inner Exception: System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Btls.MonoBtlsException: Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
  at ./external/boringssl/ssl/handshake_client.c:1132
  at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00064] in <a85c1a570f9a4f9f9c3d2cfa5504e34f>:0
  at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x00106] in <a85c1a570f9a4f9f9c3d2cfa5504e34f>:0
  at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
  at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <a85c1a570f9a4f9f9c3d2cfa5504e34f>:0
  at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x0012a] in <a85c1a570f9a4f9f9c3d2cfa5504e34f>:0
   --- End of inner exception stack trace ---
  at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00346] in <a85c1a570f9a4f9f9c3d2cfa5504e34f>:0
  at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.CancellationToken cancellationToken) [0x000d2] in <3588d5c507ec48a6b5d13a6d5ae64da2>:0
2021-11-14 08:34:51.455 Error Fetch Map from server: Fail... empty map.
2021-11-14 08:34:51.458 Information Timing of Map generation = 743 ms
Enclosing the full log
2111140833cumulusutils.zip
PS
https://rogerthn.se/cumulusutils_2021/
You do not have the required permissions to view the files attached to this post.
Image
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Maps failing

Post by HansR »

Hi Roger,

The log file says:

Code: Select all

Error GetUrlData : Exception - The SSL connection could not be established, see inner exception.
The inner exception then tells us:

Code: Select all

SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
For the sending of the site signature file and the subsequent fetch of the map use is made of simple https get and post calls. These make use of the certificates just like your browser does (because of the https). The renewal of the certificate has been described in the links which go with release 6.6.0. You apparently skipped the 6.6.0 upgrade but you do need to upgrade to OpenSSL 1.1.0 which is described in the release notes (just as is required for upload to Windy.com by CMX itself):
  • Upgrade to OpenSSL 1.1.0, see links in Release Notes for 6.6.0, especially the third link on the Windy issue has Mark point to a StackOverflow post which contains a fix for debian 8, that should also work for you)
I assume this solves your problem.

Let me know how you get on.

Regards,
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
rogerthn
Posts: 506
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Maps failing

Post by rogerthn »

OK but I did assume that 1.1.1 would be ok?

Code: Select all

openssl version
OpenSSL 1.1.1k  25 Mar 2021
Edit 1
Still the same after

Code: Select all

sudo apt update
sudo apt install ca-certificates openssl
sudo update-ca-certificates
Edit 2

Code: Select all

sudo dpkg-reconfigure ca-certificates
and disable mozilla/DST_Root_CA_X3.crt did help
:bash: :bash:
Image
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Maps failing

Post by HansR »

rogerthn wrote: Sun 14 Nov 2021 4:05 pm OK but I did assume that 1.1.1 would be ok?

[...]

and disable mozilla/DST_Root_CA_X3.crt did help
Yes, the last one is a must!
So, I assume it is all OK now, is this going to be your CUtils site?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
rogerthn
Posts: 506
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Maps failing

Post by rogerthn »

HansR wrote: Sun 14 Nov 2021 4:52 pm So, I assume it is all OK now, is this going to be your CUtils site?
Yes all is OK and https://rogerthn.se/cumulusutils_2021/ will be my CUtils site.
CUtils update of https://rogerthn.se/cumulusutils/ and https://rogerthn.se/cumulusutils2/ has been disabled.
Image
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Maps failing

Post by HansR »

Ok, but they're still there and updating. That's confusing.
You then just need to update the url for the map ;)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Post Reply