Skip to content

Instantly share code, notes, and snippets.

@Suyash-Purwar
Last active April 10, 2018 05:38
Show Gist options
  • Save Suyash-Purwar/b38e2312617e23a170e9a1a2a512f4ae to your computer and use it in GitHub Desktop.
Save Suyash-Purwar/b38e2312617e23a170e9a1a2a512f4ae to your computer and use it in GitHub Desktop.
Heroku logs
2018-04-10T03:30:53.848866+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/poll" host=fast-depths-22674.herokuapp.com request_id=50a4bf5b-0932-45bd-89ff-95a4fb89cc3d fwd="36.71.232.235" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https
2018-04-10T03:30:55.323006+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/poll" host=fast-depths-22674.herokuapp.com request_id=bd41d6a9-1480-46c2-b415-3416f029dffb fwd="36.71.232.235" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https
2018-04-10T03:30:56.545455+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/poll" host=fast-depths-22674.herokuapp.com request_id=b948fc97-d9de-44d1-8e11-797d5be1e49e fwd="36.71.232.235" dyno=web.1 connect=3ms service=30001ms status=503 bytes=0 protocol=https
2018-04-10T03:30:57.686178+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/poll" host=fast-depths-22674.herokuapp.com request_id=ce229d34-5cd9-4b46-92a7-5a0aa8232272 fwd="36.71.232.235" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https
2018-04-10T03:30:57.931092+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/poll" host=fast-depths-22674.herokuapp.com request_id=de9d0c27-f7e7-4231-b5ca-53ad42cd3640 fwd="36.71.232.235" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https
2018-04-10T04:05:58.581216+00:00 heroku[web.1]: Idling
2018-04-10T04:05:58.581918+00:00 heroku[web.1]: State changed from up to down
2018-04-10T04:05:59.626429+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2018-04-10T04:05:59.734783+00:00 heroku[web.1]: Process exited with status 143
2018-04-10T04:27:55.090876+00:00 heroku[web.1]: Unidling
2018-04-10T04:27:55.091109+00:00 heroku[web.1]: State changed from down to starting
2018-04-10T04:27:59.050040+00:00 heroku[web.1]: Starting process with command `node app.js`
2018-04-10T04:28:01.402146+00:00 app[web.1]: Server is started up on port 58218
2018-04-10T04:28:01.492845+00:00 app[web.1]: { MongoError: Authentication failed.
2018-04-10T04:28:01.492851+00:00 app[web.1]: at /app/node_modules/mongodb-core/lib/connection/pool.js:595:61
2018-04-10T04:28:01.492853+00:00 app[web.1]: at authenticateStragglers (/app/node_modules/mongodb-core/lib/connection/pool.js:513:16)
2018-04-10T04:28:01.492855+00:00 app[web.1]: at Connection.messageHandler (/app/node_modules/mongodb-core/lib/connection/pool.js:549:5)
2018-04-10T04:28:01.492857+00:00 app[web.1]: at emitMessageHandler (/app/node_modules/mongodb-core/lib/connection/connection.js:309:10)
2018-04-10T04:28:01.492859+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/mongodb-core/lib/connection/connection.js:452:17)
2018-04-10T04:28:01.492861+00:00 app[web.1]: at emitOne (events.js:116:13)
2018-04-10T04:28:01.492862+00:00 app[web.1]: at Socket.emit (events.js:211:7)
2018-04-10T04:28:01.492864+00:00 app[web.1]: at addChunk (_stream_readable.js:263:12)
2018-04-10T04:28:01.492866+00:00 app[web.1]: at readableAddChunk (_stream_readable.js:250:11)
2018-04-10T04:28:01.492868+00:00 app[web.1]: at Socket.Readable.push (_stream_readable.js:208:10)
2018-04-10T04:28:01.492870+00:00 app[web.1]: at TCP.onread (net.js:607:20)
2018-04-10T04:28:01.492872+00:00 app[web.1]: name: 'MongoError',
2018-04-10T04:28:01.492874+00:00 app[web.1]: message: 'Authentication failed.',
2018-04-10T04:28:01.492875+00:00 app[web.1]: ok: 0,
2018-04-10T04:28:01.492877+00:00 app[web.1]: errmsg: 'Authentication failed.',
2018-04-10T04:28:01.492879+00:00 app[web.1]: code: 18,
2018-04-10T04:28:01.492880+00:00 app[web.1]: codeName: 'AuthenticationFailed' }
2018-04-10T04:28:02.661624+00:00 heroku[web.1]: State changed from starting to up
2018-04-10T04:28:03.151471+00:00 heroku[router]: at=info method=GET path="/" host=fast-depths-22674.herokuapp.com request_id=a3302d72-caeb-4455-9b50-a27fb7105162 fwd="47.11.129.94" dyno=web.1 connect=3ms service=16ms status=200 bytes=1990 protocol=https
2018-04-10T04:28:03.578674+00:00 heroku[router]: at=info method=GET path="/resources/materialize/css/materialize.min.css" host=fast-depths-22674.herokuapp.com request_id=302a7b09-8399-442c-8b0a-815135acfb56 fwd="47.11.129.94" dyno=web.1 connect=1ms service=11ms status=200 bytes=141814 protocol=https
2018-04-10T04:28:03.868235+00:00 heroku[router]: at=info method=GET path="/resources/jquery/jquery-3.2.1.js" host=fast-depths-22674.herokuapp.com request_id=7aa3e454-3023-4789-ac16-e7d71f4fa309 fwd="47.11.129.94" dyno=web.1 connect=1ms service=12ms status=200 bytes=268346 protocol=https
2018-04-10T04:28:04.267465+00:00 heroku[router]: at=info method=GET path="/main.js" host=fast-depths-22674.herokuapp.com request_id=17f7efc6-f9f0-42ed-954b-89ea28d7199e fwd="47.11.129.94" dyno=web.1 connect=1ms service=2ms status=200 bytes=2613 protocol=https
2018-04-10T04:28:04.265692+00:00 heroku[router]: at=info method=GET path="/resources/materialize/js/materialize.min.js" host=fast-depths-22674.herokuapp.com request_id=54222206-0942-4d06-82c5-1d5c55755674 fwd="47.11.129.94" dyno=web.1 connect=0ms service=10ms status=200 bytes=166527 protocol=https
2018-04-10T04:28:05.342891+00:00 heroku[router]: at=info method=GET path="/resources/materialize/fonts/roboto/Roboto-Regular.woff2" host=fast-depths-22674.herokuapp.com request_id=b96da334-5b73-4afb-8ec3-d59d2f305ed0 fwd="47.11.129.94" dyno=web.1 connect=1ms service=6ms status=200 bytes=65121 protocol=https
2018-04-10T04:28:06.161600+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=fast-depths-22674.herokuapp.com request_id=811c1f0a-cfd8-4bad-9c27-864d48fb0833 fwd="47.11.129.94" dyno=web.1 connect=1ms service=5ms status=404 bytes=426 protocol=https
2018-04-10T04:28:37.201129+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/poll" host=fast-depths-22674.herokuapp.com request_id=7c9c77de-296f-46d6-8d52-22778c449ea4 fwd="47.11.129.94" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https
2018-04-10T04:28:42.394744+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/poll" host=fast-depths-22674.herokuapp.com request_id=538b3900-607d-4f5c-9efe-57de43eb1a5b fwd="47.11.129.94" dyno=web.1 connect=1ms service=30001ms status=503 bytes=0 protocol=https
2018-04-10T04:28:46.792556+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/poll" host=fast-depths-22674.herokuapp.com request_id=115e9bb0-78cb-49a7-8df7-b6354467b759 fwd="47.11.129.94" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https
2018-04-10T04:28:47.165876+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/poll" host=fast-depths-22674.herokuapp.com request_id=26514d17-bfa0-4544-907f-33935a7e8865 fwd="47.11.129.94" dyno=web.1 connect=1ms service=30001ms status=503 bytes=0 protocol=https
2018-04-10T04:28:47.828969+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/poll" host=fast-depths-22674.herokuapp.com request_id=fb747d25-1735-4767-94d7-10fc66ee397a fwd="47.11.129.94" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https
2018-04-10T04:28:47.800279+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/poll" host=fast-depths-22674.herokuapp.com request_id=259741ae-3fcc-4152-b3dd-e1cece145b90 fwd="47.11.129.94" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https
2018-04-10T04:46:21.000000+00:00 app[api]: Build started by user purwarsuyash06@gmail.com
2018-04-10T04:46:52.158384+00:00 app[api]: Deploy a4275cf8 by user purwarsuyash06@gmail.com
2018-04-10T04:46:52.158384+00:00 app[api]: Release v15 created by user purwarsuyash06@gmail.com
2018-04-10T04:46:21.000000+00:00 app[api]: Build succeeded
2018-04-10T04:46:52.593165+00:00 heroku[web.1]: Restarting
2018-04-10T04:46:52.594026+00:00 heroku[web.1]: State changed from up to starting
2018-04-10T04:46:53.400079+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2018-04-10T04:46:53.474860+00:00 heroku[web.1]: Process exited with status 143
2018-04-10T04:46:56.583585+00:00 heroku[web.1]: Starting process with command `node app.js`
2018-04-10T04:46:59.145094+00:00 app[web.1]: Server is started up on port 22603
2018-04-10T04:46:59.274943+00:00 app[web.1]: { MongoError: Authentication failed.
2018-04-10T04:46:59.274948+00:00 app[web.1]: at /app/node_modules/mongodb-core/lib/connection/pool.js:595:61
2018-04-10T04:46:59.274950+00:00 app[web.1]: at authenticateStragglers (/app/node_modules/mongodb-core/lib/connection/pool.js:513:16)
2018-04-10T04:46:59.274951+00:00 app[web.1]: at Connection.messageHandler (/app/node_modules/mongodb-core/lib/connection/pool.js:549:5)
2018-04-10T04:46:59.274953+00:00 app[web.1]: at emitMessageHandler (/app/node_modules/mongodb-core/lib/connection/connection.js:309:10)
2018-04-10T04:46:59.274954+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/mongodb-core/lib/connection/connection.js:452:17)
2018-04-10T04:46:59.274956+00:00 app[web.1]: at emitOne (events.js:116:13)
2018-04-10T04:46:59.274957+00:00 app[web.1]: at Socket.emit (events.js:211:7)
2018-04-10T04:46:59.274959+00:00 app[web.1]: at addChunk (_stream_readable.js:263:12)
2018-04-10T04:46:59.274961+00:00 app[web.1]: at readableAddChunk (_stream_readable.js:250:11)
2018-04-10T04:46:59.274963+00:00 app[web.1]: at Socket.Readable.push (_stream_readable.js:208:10)
2018-04-10T04:46:59.274964+00:00 app[web.1]: at TCP.onread (net.js:607:20)
2018-04-10T04:46:59.274967+00:00 app[web.1]: message: 'Authentication failed.',
2018-04-10T04:46:59.274966+00:00 app[web.1]: name: 'MongoError',
2018-04-10T04:46:59.274969+00:00 app[web.1]: ok: 0,
2018-04-10T04:46:59.274971+00:00 app[web.1]: errmsg: 'Authentication failed.',
2018-04-10T04:46:59.274972+00:00 app[web.1]: code: 18,
2018-04-10T04:46:59.274974+00:00 app[web.1]: codeName: 'AuthenticationFailed' }
2018-04-10T04:47:00.258286+00:00 heroku[web.1]: State changed from starting to up
2018-04-10T04:48:56.541115+00:00 heroku[router]: at=info method=GET path="/" host=fast-depths-22674.herokuapp.com request_id=eaf46ffe-4e5a-4a81-88a4-914552d16cc9 fwd="139.167.103.215" dyno=web.1 connect=0ms service=14ms status=200 bytes=1990 protocol=https
2018-04-10T04:48:57.492156+00:00 heroku[router]: at=info method=GET path="/resources/materialize/js/materialize.min.js" host=fast-depths-22674.herokuapp.com request_id=6efe0772-2750-48f7-bca9-cb8b3eade27e fwd="139.167.103.215" dyno=web.1 connect=1ms service=10ms status=200 bytes=166527 protocol=https
2018-04-10T04:48:57.472659+00:00 heroku[router]: at=info method=GET path="/resources/jquery/jquery-3.2.1.js" host=fast-depths-22674.herokuapp.com request_id=39f1f186-bae6-4b3d-804e-ae31ca9f13a3 fwd="139.167.103.215" dyno=web.1 connect=1ms service=13ms status=200 bytes=268346 protocol=https
2018-04-10T04:48:57.481869+00:00 heroku[router]: at=info method=GET path="/main.js" host=fast-depths-22674.herokuapp.com request_id=318a3312-25fa-4086-8d15-155668725667 fwd="139.167.103.215" dyno=web.1 connect=1ms service=1ms status=200 bytes=2613 protocol=https
2018-04-10T04:48:57.467277+00:00 heroku[router]: at=info method=GET path="/resources/materialize/css/materialize.min.css" host=fast-depths-22674.herokuapp.com request_id=dcd186dc-cc32-47e8-b566-0b25cfe2e8b3 fwd="139.167.103.215" dyno=web.1 connect=0ms service=10ms status=200 bytes=141814 protocol=https
2018-04-10T04:48:59.521646+00:00 heroku[router]: at=info method=GET path="/resources/materialize/fonts/roboto/Roboto-Regular.woff2" host=fast-depths-22674.herokuapp.com request_id=f7210650-8720-4ae9-93f7-18eff4052f7b fwd="139.167.103.215" dyno=web.1 connect=1ms service=5ms status=200 bytes=65121 protocol=https
2018-04-10T04:49:01.602778+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=fast-depths-22674.herokuapp.com request_id=1cafdf7f-53c7-4bf1-b27e-83d3cc901a85 fwd="139.167.103.215" dyno=web.1 connect=1ms service=6ms status=404 bytes=426 protocol=https
2018-04-10T04:49:06.924335+00:00 heroku[router]: at=info method=GET path="/resources/materialize/css/materialize.min.css" host=fast-depths-22674.herokuapp.com request_id=002e6ec7-7363-4715-a9b4-8d452041016f fwd="139.167.103.215" dyno=web.1 connect=1ms service=2ms status=304 bytes=239 protocol=https
2018-04-10T04:49:17.624077+00:00 heroku[router]: at=info method=GET path="/" host=fast-depths-22674.herokuapp.com request_id=c316cfca-a2f7-41d1-b6a8-7d9f6d561c64 fwd="139.167.103.215" dyno=web.1 connect=1ms service=2ms status=304 bytes=237 protocol=https
2018-04-10T04:49:18.141572+00:00 heroku[router]: at=info method=GET path="/resources/jquery/jquery-3.2.1.js" host=fast-depths-22674.herokuapp.com request_id=e10678d3-366f-4f19-82d2-3f95e5aedc63 fwd="139.167.103.215" dyno=web.1 connect=0ms service=2ms status=304 bytes=239 protocol=https
2018-04-10T04:49:18.158623+00:00 heroku[router]: at=info method=GET path="/resources/materialize/js/materialize.min.js" host=fast-depths-22674.herokuapp.com request_id=950aecf9-6153-4447-a7d6-79439fb740d1 fwd="139.167.103.215" dyno=web.1 connect=0ms service=2ms status=304 bytes=239 protocol=https
2018-04-10T04:49:18.171668+00:00 heroku[router]: at=info method=GET path="/main.js" host=fast-depths-22674.herokuapp.com request_id=0cb21080-8425-4569-bc34-cbe3c672f482 fwd="139.167.103.215" dyno=web.1 connect=1ms service=1ms status=304 bytes=237 protocol=https
2018-04-10T04:49:18.142678+00:00 heroku[router]: at=info method=GET path="/resources/materialize/css/materialize.min.css" host=fast-depths-22674.herokuapp.com request_id=13c4169f-e1d4-401f-9279-1a48f736c771 fwd="139.167.103.215" dyno=web.1 connect=0ms service=1ms status=304 bytes=239 protocol=https
2018-04-10T04:49:18.492372+00:00 heroku[router]: at=info method=GET path="/resources/materialize/fonts/roboto/Roboto-Regular.woff2" host=fast-depths-22674.herokuapp.com request_id=38ba10ec-d33d-4d0e-86d0-12a1cdf717e6 fwd="139.167.103.215" dyno=web.1 connect=1ms service=2ms status=304 bytes=238 protocol=https
2018-04-10T04:49:31.934098+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/poll" host=fast-depths-22674.herokuapp.com request_id=39261406-1248-408d-ae8b-a08a034e5a66 fwd="139.167.103.215" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https
2018-04-10T04:49:49.511474+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/poll" host=fast-depths-22674.herokuapp.com request_id=902cefd0-6cc3-4c50-acfe-76e76460e522 fwd="139.167.103.215" dyno=web.1 connect=1ms service=30001ms status=503 bytes=0 protocol=https
2018-04-10T04:49:54.097100+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/poll" host=fast-depths-22674.herokuapp.com request_id=8976e4ed-4d4f-46b6-bff2-230690fd015d fwd="139.167.103.215" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https
2018-04-10T04:50:00.730427+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/poll" host=fast-depths-22674.herokuapp.com request_id=6e88027c-7b5e-4901-abb0-4ef4e1a074f9 fwd="139.167.103.215" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https
2018-04-10T04:50:11.503455+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/poll" host=fast-depths-22674.herokuapp.com request_id=89f6c159-bec0-49ba-80bb-75dea0ef1fb0 fwd="139.167.103.215" dyno=web.1 connect=0ms service=30000ms status=503 bytes=0 protocol=https
2018-04-10T04:53:43.276333+00:00 heroku[router]: at=info method=GET path="/" host=fast-depths-22674.herokuapp.com request_id=fc8d4c97-ee96-4f40-8c0a-f3699ba1a230 fwd="139.167.3.182" dyno=web.1 connect=1ms service=2ms status=304 bytes=237 protocol=https
2018-04-10T04:53:43.652582+00:00 heroku[router]: at=info method=GET path="/resources/jquery/jquery-3.2.1.js" host=fast-depths-22674.herokuapp.com request_id=b9199c8d-41eb-4e96-b239-b7df772cbe18 fwd="139.167.3.182" dyno=web.1 connect=1ms service=2ms status=304 bytes=239 protocol=https
2018-04-10T04:53:43.646651+00:00 heroku[router]: at=info method=GET path="/resources/materialize/css/materialize.min.css" host=fast-depths-22674.herokuapp.com request_id=782ebf21-bc13-4418-9071-68ed12f89f17 fwd="139.167.3.182" dyno=web.1 connect=1ms service=3ms status=304 bytes=239 protocol=https
2018-04-10T04:53:43.680768+00:00 heroku[router]: at=info method=GET path="/main.js" host=fast-depths-22674.herokuapp.com request_id=05e537b9-bd83-4c36-b20e-97904f30cda4 fwd="139.167.3.182" dyno=web.1 connect=1ms service=2ms status=304 bytes=237 protocol=https
2018-04-10T04:53:43.663829+00:00 heroku[router]: at=info method=GET path="/resources/materialize/js/materialize.min.js" host=fast-depths-22674.herokuapp.com request_id=a39de408-4bf1-41b4-98ae-ad378b672d87 fwd="139.167.3.182" dyno=web.1 connect=1ms service=2ms status=304 bytes=239 protocol=https
2018-04-10T04:53:44.301017+00:00 heroku[router]: at=info method=GET path="/resources/materialize/fonts/roboto/Roboto-Regular.woff2" host=fast-depths-22674.herokuapp.com request_id=9ab36dfa-8263-4f7a-bafb-4e27ac6adb0e fwd="139.167.3.182" dyno=web.1 connect=1ms service=2ms status=304 bytes=238 protocol=https
2018-04-10T04:54:15.447906+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/poll" host=fast-depths-22674.herokuapp.com request_id=cb1170ef-2ed6-4d53-b2d5-4c5859b3e90b fwd="139.167.3.182" dyno=web.1 connect=1ms service=30001ms status=503 bytes=0 protocol=https
@Suyash-Purwar
Copy link
Author

This error means that my poll.js file is not loading. Poll.js file return JSON data. I am using fetch() to retrieve data from poll.js file. This fetch() function is in main.js file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment