weatherDB
weatherDB copied to clipboard
the api is not working
https://weatherdbi.herokuapp.com/data/weather/Manila
I am using your API but it is not working now:
@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.
I have the same problem. Do you know how long it will take to fix it?
If it's urgent you can try other APIs, I used this for the meantime : https://www.weatherapi.com/
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.
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 [email protected] for queries.
Hello, the API is not working again
@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
@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:
- The API may have been down for around 1 hour (if you received status-code=503 and the "Application Error screen") according to the time reference given by you.
- Possible Causes
- It can be a unintended/intended DOS attack. See my previous comment for more info: https://github.com/DB-db-dron/weatherDB/issues/1#issuecomment-1096923090_
- There can be flaw(bug/unhandled exception) in the source code.
Cannot confirm accurate cause before tomorrow.
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)).
@OrihuelaConde Working again after little more than 30 minutes. Inconvenience caused is regretted. thanks for informing.
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.
Looks like it is down again.
Inconvenience caused is deeply regretted.
The problem we are facing:
- I have tried out three hostings - Digital Ocean, Linode, Heroku (currently hosted in heroku). But these platforms are not accepting my credit/debit cards. I checked two of the cards but neither of them are working.
- I applied for a new card which again took almost 20 days to reach me. But then this card also does not work.
- I have used these cards to make international transactions before, but don't know why it is not working. When I talked to my bank, they couldn't tell what the problem was.
- So, now I have applied for a Paypal account. It will take a few days. Hopefully this time it will work.
- As a result I cannot scale up the resources so that the API does not shutdown after 550 hours every month. Also I am unable to move to a new hosting.
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.
@DB-db-dron Thank you for putting so much time and effort (and money) into this. I appreciate your efforts! 😃
@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.
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
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.
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 :)
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. 😄
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.