質問編集履歴

1

エラーログの追加

2018/05/13 11:01

投稿

Jose
Jose

スコア14

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- > 引用テキストpythonを独学で勉強しています。flaskでアプリを開発中です。
1
+ pythonを独学で勉強しています。flaskでアプリを開発中です。
2
2
 
3
3
  ログインしたのち、出勤パターン(30分、60分、90分)を選択して、終了予定時間
4
4
 
@@ -359,3 +359,75 @@
359
359
  {% endblock %}
360
360
 
361
361
  ```
362
+
363
+
364
+
365
+ ```python
366
+
367
+ #エラーログとなります
368
+
369
+ 2018-05-13T10:46:00.756011+00:00 heroku[web.1]: Starting process with command `python flaskr.py`
370
+
371
+ 2018-05-13T10:46:03.494552+00:00 app[web.1]: * Serving Flask app "flaskr" (lazy loading)
372
+
373
+ 2018-05-13T10:46:03.494672+00:00 app[web.1]: * Environment: production
374
+
375
+ 2018-05-13T10:46:03.494773+00:00 app[web.1]: WARNING: Do not use the development server in a production environment.
376
+
377
+ 2018-05-13T10:46:03.494844+00:00 app[web.1]: Use a production WSGI server instead.
378
+
379
+ 2018-05-13T10:46:03.494934+00:00 app[web.1]: * Debug mode: on
380
+
381
+ 2018-05-13T10:46:03.516227+00:00 app[web.1]: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
382
+
383
+ 2018-05-13T10:46:03.517431+00:00 app[web.1]: * Restarting with stat
384
+
385
+ 2018-05-13T10:46:03.931812+00:00 app[web.1]: * Debugger is active!
386
+
387
+ 2018-05-13T10:46:03.933293+00:00 app[web.1]: * Debugger PIN: 930-711-696
388
+
389
+ 2018-05-13T10:47:01.073754+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
390
+
391
+ 2018-05-13T10:47:01.073998+00:00 heroku[web.1]: Stopping process with SIGKILL
392
+
393
+ 2018-05-13T10:47:01.161020+00:00 heroku[web.1]: State changed from starting to crashed
394
+
395
+ 2018-05-13T10:47:01.163257+00:00 heroku[web.1]: State changed from crashed to starting
396
+
397
+ 2018-05-13T10:47:01.145341+00:00 heroku[web.1]: Process exited with status 137
398
+
399
+ 2018-05-13T10:47:03.889944+00:00 heroku[web.1]: Starting process with command `python flaskr.py`
400
+
401
+ 2018-05-13T10:47:05.549637+00:00 app[web.1]: * Serving Flask app "flaskr" (lazy loading)
402
+
403
+ 2018-05-13T10:47:05.549656+00:00 app[web.1]: * Environment: production
404
+
405
+ 2018-05-13T10:47:05.549690+00:00 app[web.1]: WARNING: Do not use the development server in a production environment.
406
+
407
+ 2018-05-13T10:47:05.549725+00:00 app[web.1]: Use a production WSGI server instead.
408
+
409
+ 2018-05-13T10:47:05.549754+00:00 app[web.1]: * Debug mode: on
410
+
411
+ 2018-05-13T10:47:05.566177+00:00 app[web.1]: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
412
+
413
+ 2018-05-13T10:47:05.566970+00:00 app[web.1]: * Restarting with stat
414
+
415
+ 2018-05-13T10:47:05.811050+00:00 app[web.1]: * Debugger PIN: 142-137-009
416
+
417
+ 2018-05-13T10:47:05.809616+00:00 app[web.1]: * Debugger is active!
418
+
419
+ 2018-05-13T10:48:04.080389+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
420
+
421
+ 2018-05-13T10:48:04.080451+00:00 heroku[web.1]: Stopping process with SIGKILL
422
+
423
+ 2018-05-13T10:48:04.149952+00:00 heroku[web.1]: Process exited with status 137
424
+
425
+ 2018-05-13T10:48:04.167841+00:00 heroku[web.1]: State changed from starting to crashed
426
+
427
+ 2018-05-13T10:58:26.029485+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=dry-meadow-50578.herokuapp.com request_id=e48f6816-575e-4a8b-bc3f-4cee3ae72343 fwd="126.87.104.45" dyno= connect= service= status=503 bytes= protocol=https
428
+
429
+ 2018-05-13T10:58:27.120667+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=dry-meadow-50578.herokuapp.com request_id=4faa11fd-8c8b-4de6-af99-b25068d34f91 fwd="126.87.104.45" dyno= connect= service= status=503 bytes= protocol=https
430
+
431
+
432
+
433
+ ```