Page 1 of 1

SSL Problems

Posted: Thu Dec 15, 2022 4:25 pm
by MrData
Hi group
I seem to have an issue that make meteotemplate appear offline. Meteobridge is running, weather station is running, router rebooted.
The page loads as it should with the exception of everything has stopped updating at some specific time.
When I check what meteobridge is sending out I get the response listed in the attached picture. "HTTPS support not compiled in"
If I go to my hosting service and 'unforce HTTPS' the page loads all wrong.
When I return to 'Force HTTPS' the page will load just as is should with the proper time and everything, but that's where it stays. At that time and temperature.
I havent done any updating recently, what might this problem be?
Thanx
--Carl
Image

Re: SSL Problems

Posted: Fri Dec 16, 2022 7:33 am
by meteoesine
if you use meteobridge remove meteotemplate from weather networks and create an http event with the following instructions
ScreenShot01193.jpg
ScreenShot01193.jpg (19.1 KiB) Viewed 5520 times
(this is mine, remove and edit what you don't need)

https://meteoesine.it/template/api.php?U=[epoch.1:]&T=[th0temp-lastval.1:]&TMX=[th0temp-max5:]&TMN=[th0temp-min5:]&H=[th0hum-lastval.1:]&P=[thb0seapress-lastval:1]&W=[wind0avgwind-lastval=kmh:1]&G=[wind0wind-lastval=kmh:1]&B=[wind0dir-lastval:1]&R=[rain0total-daysum:--]&RR=[rain0rate-lastval:1]&S=[sol0rad-lastval:2]&UV=[uv0index-lastval:1]&TIN=[thb0temp-lastval.1:]&PP0=[air0pm-lastval:2]&PP1=[air1pm-lastval:2]&PP2=[air2pm-lastval:2]&HIN=[thb0hum-lastval.1:]&SM1=[soil1hum-lastval.1:]&L=[lgt0total-dmax.0:]&LD=[lgt0distance-lastval.1:] &LT=[lgt0total-nonzerotime=epoch:]&ET=[sol0evo-lastval.2:]&TS1=[t2!0temp-lastval.2:]&LW1=[leaf0hum-lastval.1:]&PASS=xxx

for more info about sensor names consult: https://www.meteobridge.com/wiki/index.php/Template

Re: SSL Problems

Posted: Sat Dec 17, 2022 10:02 pm
by davidefa
Hi Carl, I see that your site has 'http to https redirection' enabled ( maybe your hosting provider enabled this for you? ) and your meteobridge is complaining about https not being supported.
I think you can solve ( at least ) in 2 different ways:
1) disable http to https redirection ( in the control panel provided by your hosting provider or editing your .htaccess file )
2) enable https support in your meteobridge ( don't know what kind of meteobridge you are using, but in any case I'm not a meteobridge expert and I'm not of much help in this regard )
3) not a very elegant solution, but you could use a small forwarding script ( I con post one if you need ) on an http server ( if you don't have another http server you could use also one of those free hosting ):
3a) configure your meteobridge to send data to the forwarding script on the http server
3b) configure the forwarding script to forward the data received to https://humdrums.net

Re: SSL Problems

Posted: Mon Dec 19, 2022 5:05 am
by MrData
Thanx meteosine and davidefa for your responses.
As it turns out, my hosting provider must have made some changes to the SSL part of my account.
Changing http to https in the 'Weather Network' section of Meteobridge fixed the problem.
:D
Image

Re: SSL Problems

Posted: Mon Mar 06, 2023 4:37 pm
by livefeed
@MrData Thank you, this fixed it for me too!