Skip to content

Instantly share code, notes, and snippets.

@Gourds
Created December 17, 2020 02:00
Show Gist options
  • Save Gourds/a3bddfed547193f5da51fb1ac8065839 to your computer and use it in GitHub Desktop.
Save Gourds/a3bddfed547193f5da51fb1ac8065839 to your computer and use it in GitHub Desktop.
[new-vouch-proxy_log]
2020-12-17T01:57:00.975Z DEBUG /validate
2020-12-17T01:57:00.976Z ERROR no jwt found in request
2020-12-17T01:57:00.976Z DEBUG removing port from test_sso_nginx_a.taiheops.com:2081 to test domain test_sso_nginx_a.taiheops.com
2020-12-17T01:57:00.976Z DEBUG setting the cookie domain to taiheops.com
2020-12-17T01:57:00.976Z DEBUG CaptureWriter.Write set w.StatusCode 401
2020-12-17T01:57:00.976Z INFO |401| 111.697µs /validate {"statusCode": 401, "request": 1078, "latency": "111.697µs", "avgLatency": "1.251588ms", "ipPort": "172.17.0.1:47078", "method": "GET", "host": "test_sso_nginx_a.taiheops.com:2081", "path": "/validate", "referer": ""}
2020-12-17T01:57:01.083Z DEBUG /login
2020-12-17T01:57:01.083Z DEBUG setting the cookie domain to taiheops.com
2020-12-17T01:57:01.083Z DEBUG session state set to E30t480xUFvW7gPofvLWCg7f9p0e0hH
2020-12-17T01:57:01.083Z DEBUG Login url param normalized to 'http://test_sso_nginx_a.taiheops.com:2081/'
2020-12-17T01:57:01.083Z DEBUG session requestedURL set to http://test_sso_nginx_a.taiheops.com:2081/
2020-12-17T01:57:01.083Z DEBUG failcount for http://test_sso_nginx_a.taiheops.com:2081/ is 1
2020-12-17T01:57:01.083Z DEBUG saving session with failcount 2
2020-12-17T01:57:01.083Z DEBUG /login looking for callback_url matching
2020-12-17T01:57:01.083Z DEBUG /login callback_url set to http://vouch.taiheops.com:2081/auth
2020-12-17T01:57:01.083Z DEBUG redirecting to oauthURL https://ynfyvjwiaw.login.aliyunidaas.com/oauth/authorize?client_id=97237f99deaa7c64b099b2709496c472ARO5UZBICAE&redirect_uri=http%3A%2F%2Fvouch.taiheops.com%3A2081%2Fauth&response_type=code&scope=read&state=E30t480xUFvW7gPofvLWCg7f9p0e0hH
2020-12-17T01:57:01.084Z INFO |200| 973.781µs /login {"statusCode": 200, "request": 1079, "latency": "973.781µs", "avgLatency": "1.251331ms", "ipPort": "172.17.0.1:47082", "method": "GET", "host": "vouch.taiheops.com", "path": "/login", "referer": ""}
2020-12-17T01:57:10.907Z DEBUG /login
2020-12-17T01:57:10.907Z DEBUG setting the cookie domain to taiheops.com
2020-12-17T01:57:10.907Z DEBUG session state set to RMdWXiLijsADZFsKhx6U3wwspKvPVJgu
2020-12-17T01:57:10.907Z INFO Stray param in login request ()
2020-12-17T01:57:10.907Z DEBUG Login url param normalized to '<nil>'
2020-12-17T01:57:10.907Z DEBUG Stray params in login url ([""]) will be ignored
2020-12-17T01:57:10.907Z ERROR no destination URL requested
2020-12-17T01:57:10.907Z DEBUG setting the cookie domain to taiheops.com
2020-12-17T01:57:10.907Z DEBUG CaptureWriter.Write set w.StatusCode 400
2020-12-17T01:57:10.907Z DEBUG rendering error for user: 400 Bad Request
2020-12-17T01:57:10.907Z INFO |400| 478.75µs /login {"statusCode": 400, "request": 1080, "latency": "478.75µs", "avgLatency": "1.250616ms", "ipPort": "172.17.0.1:47094", "method": "GET", "host": "vouch.taiheops.com", "path": "/login", "referer": "http://vouch.taiheops.com:2081/login?url=http://test_sso_nginx_a.taiheops.com:2081/&vouch-failcount=&X-Vouch-Token=&error="}
2020-12-17T01:57:15.917Z DEBUG /login
2020-12-17T01:57:15.917Z DEBUG setting the cookie domain to taiheops.com
2020-12-17T01:57:15.917Z DEBUG session state set to mOcN9FwAEfDsqz7LQzjPM5HkKZZESrj
2020-12-17T01:57:15.917Z DEBUG Login url param normalized to 'http://test_sso_nginx_a.taiheops.com:2081/'
2020-12-17T01:57:15.917Z DEBUG session requestedURL set to http://test_sso_nginx_a.taiheops.com:2081/
2020-12-17T01:57:15.917Z DEBUG failcount for http://test_sso_nginx_a.taiheops.com:2081/ is 2
2020-12-17T01:57:15.917Z DEBUG saving session with failcount 3
2020-12-17T01:57:15.917Z DEBUG /login looking for callback_url matching
2020-12-17T01:57:15.917Z DEBUG /login callback_url set to http://vouch.taiheops.com:2081/auth
2020-12-17T01:57:15.917Z DEBUG redirecting to oauthURL https://ynfyvjwiaw.login.aliyunidaas.com/oauth/authorize?client_id=97237f99deaa7c64b099b2709496c472ARO5UZBICAE&redirect_uri=http%3A%2F%2Fvouch.taiheops.com%3A2081%2Fauth&response_type=code&scope=read&state=mOcN9FwAEfDsqz7LQzjPM5HkKZZESrj
2020-12-17T01:57:15.918Z INFO |200| 943.21µs /login {"statusCode": 200, "request": 1081, "latency": "943.21µs", "avgLatency": "1.250332ms", "ipPort": "172.17.0.1:47108", "method": "GET", "host": "vouch.taiheops.com", "path": "/login", "referer": ""}
2020-12-17T01:57:20.452Z DEBUG /validate
2020-12-17T01:57:20.452Z ERROR no jwt found in request
2020-12-17T01:57:20.452Z DEBUG setting the cookie domain to taiheops.com
2020-12-17T01:57:20.452Z DEBUG CaptureWriter.Write set w.StatusCode 401
2020-12-17T01:57:20.452Z INFO |401| 114.823µs /validate {"statusCode": 401, "request": 1082, "latency": "114.823µs", "avgLatency": "1.249283ms", "ipPort": "172.17.0.1:47118", "method": "GET", "host": "vouch.taiheops.com", "path": "/validate", "referer": "http://vouch.taiheops.com:2081/login?url=http://test_sso_nginx_a.taiheops.com:2081/&vouch-failcount=&X-Vouch-Token=&error="}
2020-12-17T01:57:29.071Z DEBUG /auth
2020-12-17T01:57:29.364Z DEBUG id_token missing - may not be supported by this provider
2020-12-17T01:57:29.364Z DEBUG ptokens: accessToken length: 36, IdToken length: 0
2020-12-17T01:57:29.581Z INFO OpenID userinfo body: {"success":true,"code":"200","message":null,"requestId":"1F9A6980-1AB7-4F97-A4E5-DCAD23907EE6","data":{"sub":"3884468577942292116","ou_id":"5711823617764658328","nickname":"G","phone_number":null,"ou_name":"xxxx","email":"[email protected]","username":"gourds"}}
2020-12-17T01:57:29.581Z DEBUG /auth Claims from userinfo: {Claims:map[]}
2020-12-17T01:57:29.581Z DEBUG verifyUser: Success! skipping verification, cfg.Cfg.AllowAllUsers is true
2020-12-17T01:57:29.581Z DEBUG token created, expires: 1608184649 diff from now: 14400
2020-12-17T01:57:29.582Z DEBUG token compressed: was 224 bytes, now 288
2020-12-17T01:57:29.582Z DEBUG setting the cookie domain to taiheops.com
2020-12-17T01:57:29.583Z INFO |200| 512.345279ms /auth {"statusCode": 200, "request": 1083, "latency": "512.345279ms", "avgLatency": "1.721209ms", "ipPort": "172.17.0.1:47132", "method": "GET", "host": "vouch.taiheops.com", "path": "/auth", "referer": "http://vouch.taiheops.com:2081/"}
2020-12-17T01:57:35.072Z INFO |200| 34.955µs /healthcheck {"statusCode": 200, "request": 1084, "latency": "34.955µs", "avgLatency": "1.719654ms", "ipPort": "127.0.0.1:48806", "method": "GET", "host": "0.0.0.0:9090", "path": "/healthcheck", "referer": ""}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment