buffbears / Weatherscan

Weatherscan Simulator orginally made by /u/AnonChickenWalker. Maintained by Goldblazez (BuffBears).
https://weatherscan.net
127 stars 29 forks source link

Weatherscan Data Eventually Failing #55

Open tyetenna opened 1 year ago

tyetenna commented 1 year ago

After some time of running all of the data will become "not available". This will persist for an inconsistent amount of time, sometimes it recovers after 2 minutes, and sometimes it takes 2 hours. Swapping out my TWC API key with a different one fixes it until that one eventually becomes "not available". I attached an image as well as an export of the console logs. Ignore the mapbox problems, I don't know why that started but it is unrelated as this problem started way before mapbox broke. console-export-2023-7-24_13-52-30.txt

image

Nacroni commented 1 year ago

Do the errors occur when the console shows a CORS Same-origin policy error? Not sure what happens, but here's the documentation from Mozilla: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin

tyetenna commented 1 year ago

Even when it is working correctly there are still CORS same-origin errors, but when this problem happens there seems to be a massive increase in the amount. Apologies if it is kind of a dumb question as I'm very new to hosting web content, would this be something that I change in Weatherscan's files or would I have to do something like running it through Apache and try some of the documentation stuff?

FatalFit commented 2 months ago

Experiencing the same issue intermittently