I'm deploying a rails6 application of my own domain on heroku with a paid plan of 7 dollars a month.
I don't know if the server is down for 20 to 30 minutes exactly once a day (several times when it is a lot), but I cannot access the site.
I've made a little improvement by adding an add-on for heroku's scheduler, but I want to make sure there is no time when I can't access the site.
For heroku, are there times when I can't see them?
And how can I get rid of the time I can't see the site?
I'm sorry to say that i am ignorant.
-
Answer # 1
-
Answer # 2
For heroku, are there times when I can't see them?
That shouldn't be the case due to Heroku. Of course, I think that it will happen very rarely due to heroku trouble, but it should not happen that there are times when you cannot see it regularly.
Heroku is restarting dyno once a day, but it should have been able to access the site. At least it didn't happen in my environment.And how can I get rid of the time I can't see the site?
As mentioned above, I don't think that the state where the site cannot be accessed has occurred due to Heroku, so
It is a cause that makes me suddenly think that the memory is insufficient due to the application or some error continues to occur,
In any case, I think that no measures can be taken until the cause is investigated after investigating the state that says "I cannot access the site".
Related articles
- [ruby on rails] i can no longer start the app in the local environment
- ruby - rails app can't deploy to heroku
- ruby on rails - seed fails on heroku
- ruby on rails - heroku: how to check the database_url used for regular backup
- ruby - how to start rails
- ruby - heroku run rails db: cannot migrate
- ruby on rails - unable to start server in aws production environment
- ruby on rails - heroku run rails db: migrate an error occurs in heroku run rails db: migrate
- ruby on rails - cannot start unicorn cannot load `railsconfigactive_storageservice`
- ruby - [rails] i can't start unicorn
- ruby on rails - when i access the rails 6 site on heroku with my own domain, it says "this connection does not protect priv
- ruby on rails - i can't install heroku cli on ubuntu [error during apt-get update? ]
- ruby on rails - i want to start the puma server and deploy the rails app
- ruby - rails s fails to start the server with a usage: rails new app_path [options] error
- ruby on rails - [rails 6] i'm using bootstrap 4, but the layout collapses only after logging out
- ruby - about implementation of tag function in rails
- [ruby on rails] how to write when getting a model nested in multiple stages with includes
- ruby on rails - when i run rails s, i get
- ruby on rails - i installed ruby with rbenv, but the version does not change
- ruby on rails 5 - scope by specifying conditions for parent-child relationship
- ruby on rails - when i access the rails 6 site on heroku with my own domain, it says "this connection does not protect priv
- javascript - jquery doesn't work on heroku
- ruby - undefind method chart kick in rails production environment
- ruby - i created an intermediate table, but no data is saved in the intermediate table
- ruby on rails - i want to implement a login function using devise
- ruby - sns login i don't know how to install twitter api
- mysql - can't db: migrate to heroku
- ruby - rails app can't deploy to heroku
- ruby on rails - no response when trying to launch ec2 rails
- ruby on rails - pg :: datatypemismatch error when doing heroku run rails db: migrate
As you may know, the Hobby plan cannot always operate.
Since it takes about once every 24 hours to restart, it is necessary to use two or more Dynos if it is always required.
*While restarting, you will not be able to access the site.
You can add heroku scheduler add-on to make it restart at midnight or early in the morning, but be careful as the scheduler itself does not run correctly.
If this is displayed, please set up SSL.
This is free for Hobby plans.
(If you can not use it, please check if the plan is reflected.)
If the above is performed and the following is displayed even if the cause is squeezed for the time being, I think that a solution will come out if you present the error log etc. at that time.