CrewLink-server
CrewLink-server copied to clipboard
Automatic deploy to Heroku; with the latest version I get application error.
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?
Same thing. I get "You must set the ADDRESS environment variable." in logs.
Okay, and did that solved it for you? If so, can you please tell me how to set that? :P
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.
You can also do that in application dashboard under Settings, Config Vars. That solved for me in the past.
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 :)
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
I also just encountered this, and indeed setting an ADDRESS setting for a heroku deployment would fix the issue:
Then your server should be working properly
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.
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.
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
Duplicate of #142