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?.
Forecast Comparison Authentication Issue
-
SimonB
- Observer

- Posts: 11
- Joined: Wed Jan 03, 2018 2:40 pm
- Station model: AW1400-IP
- Software: Metebridge
Forecast Comparison Authentication Issue
Last edited by SimonB on Sun Jan 07, 2018 6:58 pm, edited 2 times in total.
-
SimonB
- Observer

- Posts: 11
- Joined: Wed Jan 03, 2018 2:40 pm
- Station model: AW1400-IP
- Software: Metebridge
Re: Forecast Comparison Authentication Issue
I'm actually having the same issue with the offline notifications in the cron, but it does work in the browser
-
SimonB
- Observer

- Posts: 11
- Joined: Wed Jan 03, 2018 2:40 pm
- Station model: AW1400-IP
- Software: Metebridge
Re: Forecast Comparison Authentication Issue
Jachym? Any thoughts?
- Jachym
- 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
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
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