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

the api is not working #1

Open gwyneth-pena opened 2 years ago

gwyneth-pena commented 2 years ago

https://weatherdbi.herokuapp.com/data/weather/Manila I am using your API but it is not working now: image

zsanford89 commented 2 years ago

@gwyneth-pena It appears that they are switching from Heroku to a new hosting service provider. They have been trying to notify users of the issue.

lmiskarik commented 2 years ago

I have the same problem. Do you know how long it will take to fix it?

gwyneth-pena commented 2 years ago

If it's urgent you can try other APIs, I used this for the meantime : https://www.weatherapi.com/

lmiskarik commented 2 years ago

https://www.weatherapi.com/ is not an option. I found this API for weather: https://openweathermap.org but it is a lot difficult to implement compared to weatherDB.

DB-db-dron commented 2 years ago

The API is up and running...

But hosting provider will be changed soon due some issues that we faced in the last few months. There can be more downtime in this month.

In the past week, we received huge number of requests from a single source resulting in denial of service to our legitimate users. It continued for many days, so the API was shutdown for some time.

General Request: Please send minimum requests needed, without bombarding the API.

I am not closing the issue as the problem is not completely solved.

You can always mail me at communication.with.users@gmail.com for queries.

MasonMags commented 2 years ago

Hello, the API is not working again

DB-db-dron commented 2 years ago

@MasonMags Can you please specify the time when the API was not working and your country( needed because of time zone differences). I have found two possible time period when the API may not be working yesterday. If you don't want to disclose your location here you can use the Talk to Us Section in our website to send a message with the specified information.

Link: Talk to Us Section

DB-db-dron commented 2 years ago

@MasonMags I have received your message. I was looking in the data that is collected during runtime using the reference provided by you. But unfortunately I have reached today's read-access-limit for the database very soon (because of limited resources).

Intelligence that I was able to gather:

Cannot confirm accurate cause before tomorrow.

OrihuelaConde commented 2 years ago

First, thank you for your API. I can teach my students how to consume an API and work with objects. Right now the API and Documentation aren't working (05:20 PM (GMT-3)).

DB-db-dron commented 2 years ago

@OrihuelaConde Working again after little more than 30 minutes. Inconvenience caused is regretted. thanks for informing.

rogadev commented 2 years ago

I agree - it is the perfect weather API for learning/teaching.

They are working to secure some different hosting and I believe that will fix the intermittent outages.

Another idea for you for teaching your students how APIs work on the back end is that you could create a metaweather proxy server using node and Express. It will teach your students about cross origin requests and teach them ways to work around those issues by implementing their own API proxy server.

But for just getting started with connecting a front end web app to an API, I think this is the best option available at present.

david-sitsky commented 2 years ago

Looks like it is down again.

DB-db-dron commented 2 years ago

Inconvenience caused is deeply regretted.

The problem we are facing:

The API will restart again on 1st June if I cannot fix this Hosting issue by the end of this month.

Visit here for more info: Heroku free dynos

Any suggestion or help regarding this long running problem is gratefully accepted.

Crilum commented 2 years ago

@DB-db-dron Thank you for putting so much time and effort (and money) into this. I appreciate your efforts! 😃

Crilum commented 2 years ago

@DB-db-dron I assume you've probably already read this, but just thought I'd put it here in case you haven't:

Accepted credit cards

Visa, MasterCard, American Express, Discover, and JCB credit cards are accepted. Debit cards are also accepted for Visa, MasterCard, or JCB. We do not accept any other cards.

You can use international credit cards for verification and payment with the exception of India-issued credit cards. See this Knowledge Base article for details.

If you run into any issues trying to add a credit card, please contact your financial institution for help.

microcrit commented 2 years ago

You may want to try render. It's pretty much a better alternative to Heroku, while maintaining the same/better plans for free.

There is also an enterprise version which I'm not completely sure about, but it probably offers better plans (more hours/month, more bandwidth/month)
Contact their sales for more information or to get the plan.

From their website, the enterprise version allows this:

Custom Service and Database Plans Compliance and Data Processing Agreements Custom billing Migration services Architecture Review Uptime SLA Premium & Enterprise Support

Crilum commented 2 years ago

From https://render.com/docs/free#free-web-services:

The free plan allows for 750 hours of running time per month across all free web services in your account.

microcrit commented 2 years ago

From https://render.com/docs/free#free-web-services:

The free plan allows for 750 hours of running time per month across all free web services in your account.

it may be upgraded with an enterprise plan, which is very cool :)

Crilum commented 2 years ago

From https://render.com/docs/free#free-web-services:

The free plan allows for 750 hours of running time per month across all free web services in your account.

it may be upgraded with an enterprise plan, which is very cool :)

Yeah, I was saying it had a lot of hours. 😄

DB-db-dron commented 2 years ago

I recently tried out Render. But as it does not support buildpacks like Heroku, the current instance of the API cannot be hosted there because it needs node.js and python both.