ottomated / CrewLink-server

Voice Relay server for CrewLink.
GNU General Public License v3.0
694 stars 444 forks source link

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

Open car2ns opened 3 years ago

car2ns commented 3 years ago

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 commented 3 years ago

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

car2ns commented 3 years ago

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

boruc5004 commented 3 years ago

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 commented 3 years ago

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

car2ns commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Duplicate of #142