b2ntp icon indicating copy to clipboard operation
b2ntp copied to clipboard

Weather does not work

Open krillin666 opened this issue 2 years ago • 5 comments

Hello, great startpage you have here ! I am not able to use the Weather function and it just stays on Loading.... Inspecting the source, I think the problem might be with cross origin and HTTPS in your XMLHttpRequest ? All the GET request for the weather are being Blocked.

krillin666 avatar Nov 08 '21 10:11 krillin666

Hello , i have doubt that is a CORS problem. The API it's public, are you sure you added the right OpenWeatherMap API Key ??

d3ward avatar Nov 08 '21 11:11 d3ward

I already tried with 2 different generated APIs. I get this error xmlHttp send failed

getJSON moz-extension://08524b78-0bed-46be-a47c-516237fa41f5/src/js/script.js:291
f_setup_wth moz-extension://08524b78-0bed-46be-a47c-516237fa41f5/src/js/script.js:412
<anonymous> moz-extension://08524b78-0bed-46be-a47c-516237fa41f5/src/js/script.js:447

krillin666 avatar Nov 08 '21 11:11 krillin666

After reloading the Network tab I also see the following error:

image

krillin666 avatar Nov 08 '21 11:11 krillin666

thanks a lot for the feedback , i'm looking into it and will push an update as fast as possible

d3ward avatar Nov 08 '21 11:11 d3ward

thanks a lot for the feedback , i'm looking into it and will push an update as fast as possible

Thank you for this beautiful startpage !

krillin666 avatar Nov 08 '21 11:11 krillin666