Skip to content

Instantly share code, notes, and snippets.

@avishayil
Created November 29, 2022 07:13
Show Gist options
  • Save avishayil/57997ff80fc10e993573ce96a037eaf4 to your computer and use it in GitHub Desktop.
Save avishayil/57997ff80fc10e993573ce96a037eaf4 to your computer and use it in GitHub Desktop.
Vouch logs
{"level":"debug","ts":1669705807.9557645,"msg":"/validate"}
{"level":"warn","ts":1669705807.9558208,"msg":"no jwt found in request"}
{"level":"debug","ts":1669705807.955828,"msg":"domain vouch.xxxxxxxx-xxxxxxxx-xxx.com matched array value at [0]=xxxxxxxx-xxxxxxxx-xxx.com"}
{"level":"debug","ts":1669705807.955846,"msg":"CaptureWriter.Write set w.StatusCode 401"}
{"level":"info","ts":1669705807.955945,"msg":"|401| 107.511µs /validate","statusCode":401,"request":84,"latency":0.000107511,"avgLatency":0.000041799,"ipPort":"10.0.1.27:45214","method":"GET","host":"vouch.xxxxxxxx-xxxxxxxx-xxx.com","path":"/validate","referer":""}
{"level":"debug","ts":1669705808.6687164,"msg":"/login"}
{"level":"debug","ts":1669705808.6688216,"msg":"domain vouch.xxxxxxxx-xxxxxxxx-xxx.com matched array value at [0]=xxxxxxxx-xxxxxxxx-xxx.com"}
{"level":"debug","ts":1669705808.668937,"msg":"session state set to bEdJmhNtER4c0ClSoVss2yqyBlHd396"}
{"level":"debug","ts":1669705808.6690376,"msg":"Login url param normalized to 'https://k8sdashboard.xxxxxxxx-xxxxxxxx-xxx.com/'"}
{"level":"debug","ts":1669705808.6690862,"msg":"domain k8sdashboard.xxxxxxxx-xxxxxxxx-xxx.com matched array value at [0]=xxxxxxxx-xxxxxxxx-xxx.com"}
{"level":"debug","ts":1669705808.6691082,"msg":"session requestedURL set to https://k8sdashboard.xxxxxxxx-xxxxxxxx-xxx.com/"}
{"level":"debug","ts":1669705808.6691236,"msg":"saving session with failcount 1"}
{"level":"debug","ts":1669705808.6695025,"msg":"redirecting to oauthURL https://xxxxxxxx-xxxxxxxx-xxx.auth.us-east-1.amazoncognito.com/oauth2/authorize?client_id=71m9ef26foincsljbc7kom2dqf&redirect_uri=https%3A%2F%2Fvouch.xxxxxxxx-xxxxxxxx-xxx.com%2Fauth&response_type=code&scope=openid+email+profile&state=bEdJmhNtER4c0ClSoVss2yqyBlHd396"}
{"level":"debug","ts":1669705808.66957,"msg":"CaptureWriter.Write set w.StatusCode 302"}
{"level":"info","ts":1669705808.6697075,"msg":"|302| 930.37µs /login","statusCode":302,"request":85,"latency":0.00093037,"avgLatency":0.000052252,"ipPort":"10.0.1.27:45220","method":"GET","host":"vouch.xxxxxxxx-xxxxxxxx-xxx.com","path":"/login","referer":""}
{"level":"debug","ts":1669705820.704249,"msg":"/auth"}
{"level":"debug","ts":1669705820.7042894,"msg":"CaptureWriter.Write set w.StatusCode 302"}
{"level":"info","ts":1669705820.7044015,"msg":"|302| 59.27µs /auth","statusCode":302,"request":88,"latency":0.00005927,"avgLatency":0.000051791,"ipPort":"10.0.1.27:45220","method":"GET","host":"vouch.xxxxxxxx-xxxxxxxx-xxx.com","path":"/auth","referer":"https://xxxxxxxx-xxxxxxxx-xxx.auth.us-east-1.amazoncognito.com/"}
{"level":"debug","ts":1669705820.8659828,"msg":"/auth/{state}/"}
{"level":"warn","ts":1669705820.866021,"msg":"/auth Invalid session state: stored %!s(<nil>), returned bEdJmhNtER4c0ClSoVss2yqyBlHd396"}
{"level":"debug","ts":1669705820.8660376,"msg":"domain vouch.xxxxxxxx-xxxxxxxx-xxx.com matched array value at [0]=xxxxxxxx-xxxxxxxx-xxx.com"}
{"level":"debug","ts":1669705820.8660505,"msg":"rendering error for user: 400 Bad Request"}
{"level":"debug","ts":1669705820.8660562,"msg":"CaptureWriter.Write set w.StatusCode 400"}
{"level":"info","ts":1669705820.8664107,"msg":"|400| 269.972µs /auth/bEdJmhNtER4c0ClSoVss2yqyBlHd396/","statusCode":400,"request":89,"latency":0.000269972,"avgLatency":0.000054242,"ipPort":"10.0.1.27:45220","method":"GET","host":"vouch.xxxxxxxx-xxxxxxxx-xxx.com","path":"/auth/bEdJmhNtER4c0ClSoVss2yqyBlHd396/","referer":"https://xxxxxxxx-xxxxxxxx-xxx.auth.us-east-1.amazoncognito.com/"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment