alexwohlbruck / cat-facts

Daily cat facts! 🐱

Home Page:https://cat-fact.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API not working

Cdca12 opened this issue · comments

There is a error and I can't consume the API

image

Now it's working
image

Hi, it is not working again.

Not working atm

API is not working:(

It works 2 days ago but now it's down again. I wondering are heroku limits affect?

It's possible that Heroku is limiting usage on the free tier. Normally though, I'll receive a number of compute hours to use each month and once they're all used, the service goes down for the rest of the month. It usually only lasts a couple of days when it happens.
If you guys feel generous, I have an option for donation on the main readme. If I have enough contributions to keep the service running on the Hobby plan ($7/month), then I will upgrade and there should be no more issues. For the last few months, there haven't been any donations so I have since downgraded the plan.

The API is down again, but sent you a small donation :). Maybe you can quickly put it back online? :)
Thank you :)

You say that your API is free. Your statement is spreading across all search engines. And then you announce a fundraiser to keep your craft running. Are you ashamed? Make it free and workable, or shut it down and not embarrass yourself.

API is down at the moment :(

API is still down :/

That's weird, the website is still up. I will look at the logs

Thanks @alexwohlbruck. Let us know when it's back online! Thanks :)

Edit: Nevermind! All good again, thank you!

I am not sure why that happened, seems to be good now. I also went through the database and deleted a lot of the junk facts. Never got implementing that verification system. Maybe one day I'll have some more time.

Interesting that the downtime is happening shortly after the API gets online. FYI, @alexwohlbruck the API is down again; do you know what should be done in order to improve the availability?

Hi, Alex,

I tried to copy the site to avoid the downtimes but the site is not starting. When I checked the log I can see that I am getting an error message about Mongo see below. Can you fix it?

/app/node_modules/connect-mongo/src/index.js:135
2021-07-12T20:59:50.398371+00:00 app[web.1]: throw err
2021-07-12T20:59:50.398372+00:00 app[web.1]: ^
2021-07-12T20:59:50.398372+00:00 app[web.1]:
2021-07-12T20:59:50.398374+00:00 app[web.1]: MongoParseError: URI does not have hostname, domain name and tld
2021-07-12T20:59:50.398374+00:00 app[web.1]: at parseSrvConnectionString (/app/node_modules/mongodb/lib/core/uri_parser.js:41:21)