Page 1 of 2
Problem with Custom HTTP
Posted: Tue 21 Mar 2023 6:49 pm
by Shamy
Hi, I don't know if I'm posting in the right place, but I recently upgraded from Windows to Raspberry Pi 4 and I'm having a problem. The Linux version of Cumulus MX (b3235) is running. I don't know what's wrong, but the Custom HTTP option is not working for me. Windows version works, Cumulus image version for RPi4 works, Cumulus linux version on Raspberry doesn't... It is set to 1 minute and enabled in CMX options.
I've attached the log from a while ago. What could be wrong?
Re: Problem with Custom HTTP
Posted: Tue 21 Mar 2023 11:21 pm
by mcrossley
The problem is in your Raspberry Pi OS. The prebuilt image is already fixed, but if you use your own OS build then see this:
viewtopic.php?p=163078&hilit=windy+certificate#p163078
Re: Problem with Custom HTTP
Posted: Wed 22 Mar 2023 11:11 am
by Shamy
Thanks for answer @mcrossley. I did as it says in the thread you sent me, but the problem still persists

(( I don't know how to deal with it

Re: Problem with Custom HTTP
Posted: Wed 22 Mar 2023 5:47 pm
by mcrossley
Did you try a reboot after making the change?
Re: Problem with Custom HTTP
Posted: Wed 22 Mar 2023 7:41 pm
by Shamy
Yes, few times and nothing...

Re: Problem with Custom HTTP
Posted: Thu 23 Mar 2023 7:05 pm
by HansR
The log says
Code: Select all
2023-03-21 19:44:00.677 CustomHttpMinutes: The SSL connection could not be established, see inner exception.
and later it says:
[code]2023-03-21 19:45:00.105 Windy: ERROR - The SSL connection could not be established, see inner exception.
2023-03-21 19:45:00.239 CustomHttpMinutes: The SSL connection could not be established, see inner exception.
It seems as if Windy has nothing to do with it.
Can you post the URL for the minutes Custom HTTP ?
Re: Problem with Custom HTTP
Posted: Thu 23 Mar 2023 7:51 pm
by Shamy
Yes, today I changed the domain, but it still persists, the link is:
http://www.pogodakrotoszyn.pl/ecowitt-mysql.php
The link downloads data to the mysql database. I can't do it from the CMX, because the database is on external servers, which I can only access via phpmyadmin.
Re: Problem with Custom HTTP
Posted: Thu 23 Mar 2023 8:22 pm
by HansR
Ok, so you can't use the custom html feature.
I assume that the original question is now solved though you did not achive its goal

Re: Problem with Custom HTTP
Posted: Thu 23 Mar 2023 9:29 pm
by Shamy
I don't understand why I can't use it? As I wrote above, in the Windows version or in the CMX image version everything works, not here in Linux version. I don't think this issue has been solved
Re: Problem with Custom HTTP
Posted: Fri 24 Mar 2023 5:49 am
by HansR
Could you switch debug and data logging on and run a few minutes (after which you ca switch the data logging off) and post the logfile again. That way we hopefully get more info (e.g. the inner exception info).
Re: Problem with Custom HTTP
Posted: Fri 24 Mar 2023 9:51 am
by Shamy
In the log I see that the error still show:
"2023-03-24 10:39:42.622 CustomHttpSeconds[0]: Querying -
http://www.pogodakrotoszyn.pl/ecowitt-mysql.php
2023-03-24 10:39:42.796 CustomHttpSeconds: The SSL connection could not be established, see inner exception."
full file in attachment
Re: Problem with Custom HTTP
Posted: Fri 24 Mar 2023 10:12 am
by ConligWX
Shamy wrote: ↑Fri 24 Mar 2023 9:51 am
In the log I see that the error still show:
"2023-03-24 10:39:42.622 CustomHttpSeconds[0]: Querying -
http://www.pogodakrotoszyn.pl/ecowitt-mysql.php
2023-03-24 10:39:42.796 CustomHttpSeconds: The SSL connection could not be established, see inner exception."
full file in attachment
just looking at your issue, your logfile quotes "http" have you tried using https on that URL and not http ? cant see why the ssl connection would work on a http url connection.
just a thought...
Re: Problem with Custom HTTP
Posted: Fri 24 Mar 2023 12:16 pm
by Shamy
I just had https:// typed in before but it didn't work with that so I did http:// and it stayed that way
Re: Problem with Custom HTTP
Posted: Fri 24 Mar 2023 12:54 pm
by freddie
Have you tried accessing
http://www.pogodakrotoszyn.pl/ecowitt-mysql.php from your Pi by using something like wget or curl and looking at error messages?
Re: Problem with Custom HTTP
Posted: Fri 24 Mar 2023 1:33 pm
by Shamy
I've never done this before, I'm posting a screenshot of the response I got. Was that it?