teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

エラー発生前後のログを追記

2019/09/17 12:31

投稿

maructy
maructy

スコア4

title CHANGED
File without changes
body CHANGED
@@ -46,4 +46,23 @@
46
46
  Heroku
47
47
  python-3.7.3
48
48
  gunicorn==19.9.0
49
- Flask==1.0.2
49
+ Flask==1.0.2
50
+
51
+ ### 9/17追記 前後のログの内容
52
+ あまり参考にならないかもしれませんが、エラーが発生した前後のログを追記します。
53
+ 行頭★印がエラーのログです。
54
+ ```
55
+ Sep 16 00:48:46 <アプリ名> heroku/router: at=info method=GET path="<パス②>" host=<URL> request_id=<リクエストID> fwd="<IPアドレス>" dyno=web.1 connect=1ms service=21ms status=200 bytes=18350 protocol=https
56
+ Sep 16 00:48:46 <アプリ名> app/web.1: <IPアドレス> - - [16/Sep/2019:16:48:46 +0900] "GET <パス②> HTTP/1.1" 200 18187 "<URL>" "<アクセス元のブラウザ等>"
57
+ ★Sep 16 00:48:50 <アプリ名> heroku/router: sock=backend at=error code=H18 desc="Server Request Interrupted" method=POST path="<パス③>" host=<URL> request_id=<リクエストID> fwd="<IPアドレス>" dyno=web.1 connect=1ms service=95ms status=503 bytes= protocol=https
58
+ Sep 16 00:48:50 <アプリ名> app/web.1: 10.41.169.187 - - [16/Sep/2019:16:48:50 +0900] "POST <パス③> HTTP/1.1" 200 13763 "<URL>" "<アクセス元のブラウザ等>"
59
+ Sep 16 00:48:57 <アプリ名> heroku/router: at=info method=POST path="<パス③>" host=<URL> request_id=<リクエストID> fwd="<IPアドレス>" dyno=web.1 connect=0ms service=75ms status=200 bytes=14085 protocol=https
60
+ ```
61
+
62
+ ```
63
+ Sep 16 04:21:21 <アプリ名> heroku/router: at=info method=GET path="<パス④>" host=<URL> request_id=<リクエストID> fwd="<IPアドレス>" dyno=web.1 connect=1ms service=112ms status=200 bytes=31467 protocol=https
64
+ Sep 16 04:21:21 <アプリ名> app/web.1: 10.47.135.182 - - [16/Sep/2019:20:21:20 +0900] "GET <パス④> HTTP/1.1" 200 31145 "<URL>" "<アクセス元のブラウザ等>"
65
+ ★Sep 16 04:21:30 <アプリ名> heroku/router: sock=backend at=error code=H18 desc="Server Request Interrupted" method=POST path="<パス④>" host=<URL> request_id=<リクエストID> fwd="<IPアドレス>" dyno=web.1 connect=1ms service=79ms status=503 bytes= protocol=https
66
+ Sep 16 04:21:31 <アプリ名> app/web.1: 10.47.135.182 - - [16/Sep/2019:20:21:30 +0900] "POST <パス④> HTTP/1.1" 200 31145 "<URL>" "<アクセス元のブラウザ等>"
67
+ Sep 16 04:21:45 <アプリ名> heroku/router: at=info method=POST path="<パス⑤>" host=<URL> request_id=<リクエストID> fwd="<IPアドレス>" dyno=web.1 connect=0ms service=152ms status=200 bytes=30369 protocol=https
68
+ ```