bmann / tiddlywiki-heroku

TiddlyWiki, configured to run on Heroku
3 stars 8 forks source link

Doesn't launch on Heroku #1

Closed bmann closed 4 years ago

bmann commented 4 years ago

Issue with port binding and also localhost. Probably shouldn't run TW directly.

2019-12-01T01:33:09.774273+00:00 app[api]: Scaled to web@1:Free by user boris@bmannconsulting.com
2019-12-01T01:33:11.000000+00:00 app[api]: Build succeeded
2019-12-01T01:33:12.798369+00:00 heroku[web.1]: Starting process with command `npm start`
2019-12-01T01:33:14.954014+00:00 app[web.1]: 
2019-12-01T01:33:14.954039+00:00 app[web.1]: > tw-heroku@0.0.1 start /app
2019-12-01T01:33:14.954042+00:00 app[web.1]: > tiddlywiki . --server $PORT
2019-12-01T01:33:14.954044+00:00 app[web.1]: 
2019-12-01T01:33:17.273590+00:00 app[web.1]: Serving on http://127.0.0.1:20728
2019-12-01T01:33:17.274057+00:00 app[web.1]: (press ctrl-C to exit)
2019-12-01T01:33:18.289798+00:00 app[web.1]:  syncer-server-filesystem: Dispatching 'save' task: $:/StoryList 
2019-12-01T01:34:13.055560+00:00 heroku[web.1]: State changed from starting to crashed
2019-12-01T01:34:13.060415+00:00 heroku[web.1]: State changed from crashed to starting
2019-12-01T01:34:12.938012+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2019-12-01T01:34:12.938186+00:00 heroku[web.1]: Stopping process with SIGKILL
2019-12-01T01:34:13.039662+00:00 heroku[web.1]: Process exited with status 137
2019-12-01T01:34:15.973429+00:00 heroku[web.1]: Starting process with command `npm start`
2019-12-01T01:34:18.618848+00:00 app[web.1]: 
2019-12-01T01:34:18.618880+00:00 app[web.1]: > tw-heroku@0.0.1 start /app
2019-12-01T01:34:18.618882+00:00 app[web.1]: > tiddlywiki . --server $PORT
2019-12-01T01:34:18.618885+00:00 app[web.1]: 
2019-12-01T01:34:21.636993+00:00 app[web.1]: Serving on http://127.0.0.1:28367
2019-12-01T01:34:21.637600+00:00 app[web.1]: (press ctrl-C to exit)
2019-12-01T01:34:22.652742+00:00 app[web.1]:  syncer-server-filesystem: Dispatching 'save' task: $:/StoryList 
2019-12-01T01:34:30.568561+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=bmann-tw.herokuapp.com request_id=7ae45027-53e1-4fac-a03d-c65b8c2181c8 fwd="69.172.175.61" dyno= connect= service= status=503 bytes= protocol=https
2019-12-01T01:35:16.547501+00:00 heroku[web.1]: State changed from starting to crashed
2019-12-01T01:35:16.468051+00:00 app[web.1]: Error waiting for process to terminate: No child processes
2019-12-01T01:35:16.445371+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2019-12-01T01:35:16.445557+00:00 heroku[web.1]: Stopping process with SIGKILL
2019-12-01T01:35:16.526330+00:00 heroku[web.1]: Process exited with status 22
2019-12-01T01:35:18.106232+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bmann-tw.herokuapp.com request_id=2eb69ffa-ccd6-40d7-bd5a-6810cc82e2e0 fwd="69.172.175.61" dyno= connect= service= status=503 bytes= protocol=https
2019-12-01T01:35:19.237993+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=bmann-tw.herokuapp.com request_id=f23d8b23-bec8-4ee3-9148-03769e6396b5 fwd="69.172.175.61" dyno= connect= service= status=503 bytes= protocol=https
2019-12-01T01:35:29.525038+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bmann-tw.herokuapp.com request_id=8d4b568f-9dc8-436a-861b-bd8d2b89a958 fwd="69.172.175.61" dyno= connect= service= status=503 bytes= protocol=https
2019-12-01T01:35:29.756038+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=bmann-tw.herokuapp.com request_id=989779c1-4029-4648-8bc5-30f410077593 fwd="69.172.175.61" dyno= connect= service= status=503 bytes= protocol=https
bmann commented 4 years ago

Fixed this by binding to 0.0.0.0