CrewLink-server icon indicating copy to clipboard operation
CrewLink-server copied to clipboard

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

Open car2ns opened this issue 4 years ago • 11 comments

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?

car2ns avatar Feb 23 '21 15:02 car2ns

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

boruc5004 avatar Mar 03 '21 18:03 boruc5004

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

car2ns avatar Mar 03 '21 18:03 car2ns

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.

boruc5004 avatar Mar 03 '21 18:03 boruc5004

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

tumpech avatar Mar 03 '21 19:03 tumpech

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 avatar Mar 11 '21 20:03 car2ns

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

car2ns avatar Mar 11 '21 20:03 car2ns

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

addshore avatar Mar 19 '21 20:03 addshore

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.

ManiacalNecro avatar Mar 22 '21 22:03 ManiacalNecro

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.

addshore avatar Mar 22 '21 23:03 addshore

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

ManiacalNecro avatar Mar 24 '21 00:03 ManiacalNecro

Duplicate of #142

david-in-perth avatar Mar 25 '21 10:03 david-in-perth