-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Boot Timeout errors when deploying with 2.1.0 to Heroku #1071
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
+1! |
There's definitely something wrong with this version. I did a restore to version 2.0.13 and deployed to Heroku. Everything worked just fine. If anyone can point me where the problem might be, I'd be pleased to provide a solution. I want to start contributing to this project. |
I'd start by just looking at the commits between those two releases |
+1 |
In ip: process.env.IP || 'localhost', to: ip: process.env.IP || '0.0.0.0', |
Awesome, thanks! That fixed the issue for me. |
Good job, this fixed my problem too! |
|
@aki-s what is your setup? Also did you receive any errors? |
Oh I'm very sorry for bothering you.
It took too long time to boot, so I thought something wrong with the setting. |
Cambio dirección ip para ambiente de producción por bug: angular-fullstack/generator-angular-fullstack#1071
I created my app using angular-fullstack(4.0.4) about 3 weeks ago and wanted to deploy it to heroku. But after deploy I always get "Error R10 (Boot timeout)" error. I spent half of my day and finally figured out that problem was in ../server/config/environment/production.js file.
process.env.port should be in uppercase: process.env.PORT. I found a commit(44dccba) that fixed this problem but unfortunately it was after my app creating :( |
@egkozlov that issue has been fixed. Please wait for the next generator release. |
I tried to deploy a scaffolded app (with 2.1.0) to Heroku, but I am getting boot timeout errors. The old release (2.0.13) doesn't have this issue, so I'd guess that some configuration change in the new release is causing it.
To reproduce this, I ran the following commands (and selected default options):
The Heroku logs are as follows, starting with the mongolab attachment:
Grunt can serve the app locally with no problems.
Let me know if any other information would be useful (or if this is a user error)!
The text was updated successfully, but these errors were encountered: