Skip to content
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

Automatic deploy to Heroku; with the latest version I get application error. #173

Open
car2ns opened this issue Feb 23, 2021 · 11 comments
Open

Comments

@car2ns
Copy link

car2ns commented Feb 23, 2021

Hi, I have tried to automati deply crewlink-server to Heroku, but I get applicaiton error every single time. What can I do to fix this?

@boruc5004
Copy link

Same thing. I get "You must set the ADDRESS environment variable." in logs.

@car2ns
Copy link
Author

car2ns commented Mar 3, 2021

Okay, and did that solved it for you? If so, can you please tell me how to set that? :P

@boruc5004
Copy link

Just solved it. Using heroku cli type: "heroku config:set ADDRESS=appname.herokuapp.com -a appname". Where of course app name would be your name of the app on Heroku.

@tumpech
Copy link

tumpech commented Mar 3, 2021

You can also do that in application dashboard under Settings, Config Vars. That solved for me in the past.

@car2ns
Copy link
Author

car2ns commented Mar 11, 2021

That wasn't my issue :/ I Get this in the logs:

2021-03-11T20:08:12.989187+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=appname.herokuapp.com request_id=b0d81511-54e7-46db-a8a2-c90f7d4f1663 fwd="myip" dyno= connect= service= status=503 bytes= protocol=https
2021-03-11T20:08:13.464524+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=appname.herokuapp.com request_id=0e5fca0b-95de-462e-bc66-c212a710e751 fwd="myip" dyno= connect= service= status=503 bytes= protocol=https

I don't know shit. Please help :)

@car2ns
Copy link
Author

car2ns commented Mar 11, 2021

Hmm, you can ignore my last comment. I deleted it. Re-deployed it, did the heoruk cli-thingy and then tested it ... And it works :D Thanks for all the help

@addshore
Copy link

I also just encountered this, and indeed setting an ADDRESS setting for a heroku deployment would fix the issue:

image
image
image

Then your server should be working properly

@ManiacalNecro
Copy link

So I have done all the things suggested and I'm not getting the error anymore but no-one is showing up in the crewlink menu and we cannot talk to each other. However when I check the server it says there are users connected. Any suggestions as I am at a loss.

@addshore
Copy link

So I have done all the things suggested and I'm not getting the error anymore but no-one is showing up in the crewlink menu and we cannot talk to each other. However when I check the server it says there are users connected. Any suggestions as I am at a loss.

This is a different issue with CrewLink itself.
Looks like https://github.com/ottomated/CrewLink/issues/623#issuecomment-793888862 could be the answer? but I hadn't personally tried this.

@ManiacalNecro
Copy link

So I have done all the things suggested and I'm not getting the error anymore but no-one is showing up in the crewlink menu and we cannot talk to each other. However when I check the server it says there are users connected. Any suggestions as I am at a loss.

This is a different issue with CrewLink itself.
Looks like ottomated/CrewLink#623 (comment) could be the answer? but I hadn't personally tried this.

Thank you very much, that worked well

@david-in-perth
Copy link

Duplicate of #142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants