Forecast Comparison Authentication Issue

Post Reply
SimonB
Observer
Observer
Posts: 11
Joined: Wed Jan 03, 2018 2:40 pm
Station model: AW1400-IP
Software: Metebridge

Forecast Comparison Authentication Issue

Post by SimonB » Sun Jan 07, 2018 5:38 pm

Jachym

I'm not sure if I'm doing something wrong but I'm struggling with the forecastsave part of forecastComparison running from a cron (perhaps something has changed since I last check functionality). I cannot run that using the ?password= at the end of the command (http://mysite/plugins/forecastCompariso ... word=XXXXX) immediately after running the comparison. It doesn't work in the browser either

The cron job is as follows

curl --request GET 'http://mysite/plugins/forecastCompariso ... word=XXXXX'

I get unauthorised access, using both the update and admin password.

Any thoughts?.
Last edited by SimonB on Sun Jan 07, 2018 6:58 pm, edited 2 times in total.

SimonB
Observer
Observer
Posts: 11
Joined: Wed Jan 03, 2018 2:40 pm
Station model: AW1400-IP
Software: Metebridge

Re: Forecast Comparison Authentication Issue

Post by SimonB » Sun Jan 07, 2018 6:30 pm

I'm actually having the same issue with the offline notifications in the cron, but it does work in the browser

SimonB
Observer
Observer
Posts: 11
Joined: Wed Jan 03, 2018 2:40 pm
Station model: AW1400-IP
Software: Metebridge

Re: Forecast Comparison Authentication Issue

Post by SimonB » Mon Jan 08, 2018 12:21 pm

Jachym? Any thoughts?

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Forecast Comparison Authentication Issue

Post by Jachym » Mon Jan 08, 2018 12:43 pm

Hi,
yes I guess I know, this was never an official feature and it stopped working in v11 because it is now better secured, it no longer passes passwords via URL, which is unsafe, it uses session, which require admin logged in and this cannot be done by a server

Post Reply