DB-db-dron / weatherDB

Get current weather, hourly forecast, daily forecast for 7 days, and 7 day weather icons for your city. No authentication or API key required... Simple and fast and free weather API
https://weatherdbi.herokuapp.com
28 stars 2 forks source link

All query's return fail #8

Open shlomo20 opened 2 years ago

shlomo20 commented 2 years ago

hi, it seems that a bug or something else has caused your API to always return with "Status" : failed.

examples: https://weatherdbi.herokuapp.com/data/weather/brooklyn https://weatherdbi.herokuapp.com/data/weather/miami { "status": "fail", "message": "invalid query", "query": "brooklyn", // or "miami" "code": 0, "visit": "https://weatherdbi.herokuapp.com/documentation/v1" }

can you please look into this thank you

DB-db-dron commented 2 years ago

Checked just now. Working...

It will be great if you can mention the time (keep in mind time zone) when this happened.

shlomo20 commented 2 years ago

thank for the quick response.

yes, it is working now .....

the error's happened on 06/15/2022 around 7:25 AM Eastern Daylight Time zone (in New York, NY)

thanks for looking into this and maintaining such a good API for free.

DB-db-dron commented 2 years ago

There are one or two exceptions that occur during the period of high rate of requests to the API like in this case. These unhandled exceptions returns a "invalid query" response. But this can be a server side error. The error handling will be improved soon.

I am working on some major features, which will be rolled out once most of them are ready. This also includes better error handling.

Thanks for informing about the incident.

shlomo20 commented 2 years ago

hi, this just happened now again

// 2022 06/16/ 11:59:26 // https://weatherdbi.herokuapp.com/data/weather/london

{ "status": "fail", "message": "invalid query", "query": "london", "code": 0, "visit": "https://weatherdbi.herokuapp.com/documentation/v1" }

DB-db-dron commented 2 years ago

https://status.heroku.com/incidents/2439

not able to access application logs.

shlomo20 commented 2 years ago

Still ongoing Tha huroko issue should be resolved now

// 2022/06/16 14:51:25 // https://weatherdbi.herokuapp.com/data/weather/london { "status": "fail", "message": "invalid query", "query": "london", "code": 0, "visit": "https://weatherdbi.herokuapp.com/documentation/v1" }

DB-db-dron commented 2 years ago

happening due traffic spikes....