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

How to deploy on Heroku? #128

Open
Zythyr opened this issue Apr 14, 2018 · 0 comments
Open

How to deploy on Heroku? #128

Zythyr opened this issue Apr 14, 2018 · 0 comments

Comments

@Zythyr
Copy link

Zythyr commented Apr 14, 2018

I am trying to the run the signalmaster on Heroku free version for development testing.

After generating the SSL certs, I removed the *.pem from .gitignore and pushed to Heroku app. When I do heroku logs it clearly shows the build was successful and also shows a port number. However, when I go to the actual URL (ex: https://immense-chamber-12345.herokuapp.com:49368/socket.io) the page does NOT load.

2018-04-14T07:24:32.000000+00:00 app[api]: Build started by user [email protected]
2018-04-14T07:24:43.657899+00:00 app[api]: Release v10 created by user [email protected]
2018-04-14T07:24:43.657899+00:00 app[api]: Deploy 490d85e4 by user [email protected]
2018-04-14T07:24:43.962863+00:00 heroku[web.1]: Restarting
2018-04-14T07:24:43.963523+00:00 heroku[web.1]: State changed from up to starting
2018-04-14T07:24:32.000000+00:00 app[api]: Build succeeded
2018-04-14T07:24:45.157610+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2018-04-14T07:24:45.258995+00:00 heroku[web.1]: Process exited with status 143
2018-04-14T07:24:46.700656+00:00 heroku[web.1]: Starting process with command `node server.js`
2018-04-14T07:24:49.010116+00:00 app[web.1]: &yet -- signal master is running at: https://localhost:49368
2018-04-14T07:24:49.584628+00:00 heroku[web.1]: State changed from starting to up 

On my local machine, when I go to http://localhost:8888/socket.io, everything works fine.

Is there some issue with SSL? According to this module, it says Heroku blocks the SSL. https://www.npmjs.com/package/force-ssl-heroku

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

1 participant