check-if-email-exists
check-if-email-exists copied to clipboard
Application error after new deployment on Heroku
I deployed app on Heroku but after installation, I received Application error message, while accessing it on the URL along with following message
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command heroku logs --tail
I would appreciate any help.
Thank you.
As proposed in the error messsge, can you check the logs heroku logs --tail?
I think it's RCH_HTTP_HOST variable. What exactly do you put inside it? Domain name or IP?
Following are the logs
2021-10-05T22:12:49.361560+00:00 heroku[web.1]: State changed from starting to crashed 2021-10-06T03:52:28.337470+00:00 heroku[web.1]: State changed from crashed to starting 2021-10-06T03:52:28.869960+00:00 heroku[web.1]: Starting process with command
./target/release/heroku2021-10-06T03:52:29.691619+00:00 app[web.1]: thread 'main' panicked at 'Environment variable RCH_HTTP_HOST is malformed.: AddrParseError(())', src/bin/heroku.rs:41:10 2021-10-06T03:52:29.691632+00:00 app[web.1]: note: run withRUST_BACKTRACE=1environment variable to display a backtrace 2021-10-06T03:52:29.827305+00:00 heroku[web.1]: Process exited with status 101 2021-10-06T03:52:30.096222+00:00 heroku[web.1]: State changed from starting to crashed
Ah yeah, it should be 0.0.0.0.
From where did you deploy the Heroku app actually? Is that https://github.com/reacherhq/backend? If so, then it should have been set https://github.com/reacherhq/backend/blob/master/app.json.
Related to https://github.com/reacherhq/backend/issues/195. Closing.