Garret Cook
05/22/2024, 5:01 PMDavid Espejo (he/him)
05/22/2024, 9:48 PMGarret Cook
05/22/2024, 9:49 PMDavid Espejo (he/him)
05/22/2024, 9:51 PMGarret Cook
05/22/2024, 9:52 PMGarret Cook
05/22/2024, 9:52 PMGarret Cook
05/23/2024, 12:00 AMGarret Cook
05/23/2024, 12:02 AMGarret Cook
05/23/2024, 12:38 AMGarret Cook
05/23/2024, 2:51 AMGarret Cook
05/23/2024, 2:53 AM{"json":{"src":"cookie.go:77"},"level":"info","msg":"Could not detect existing cookie [flyte_idt]. Error: http: named cookie not present","ts":"2024-05-23T02:49:59Z"}
{"json":{"src":"handlers.go:86"},"level":"error","msg":"Failed to retrieve tokens from request, redirecting to login handler. Error: [EMPTY_OAUTH_TOKEN] Failure to retrieve cookie [flyte_idt], caused by: http: named cookie not present","ts":"2024-05-23T02:49:59Z"}
{"json":{"src":"handlers.go:142"},"level":"debug","msg":"Setting CSRF state cookie to 40ey0x8ind and state to f03211768b5a96d659293448156e57a48e165d94b269182846ad1240e84c27a3\n","ts":"2024-05-23T02:49:59Z"}
{"json":{"src":"handler_utils.go:169"},"level":"debug","msg":"validating whether redirect url: <https://flyte.local>.******/console/select-project is authorized","ts":"2024-05-23T02:49:59Z"}
{"json":{"src":"handler_utils.go:172"},"level":"debug","msg":"authorizing redirect url: <https://flyte.local>.*********/console/select-project against authorized uri: <https://flyte.local>.***********/","ts":"2024-05-23T02:49:59Z"}
{"json":{"src":"composite_workqueue.go:88"},"level":"debug","msg":"Subqueue handler batch round","ts":"2024-05-23T02:50:00Z"}
{"json":{"src":"composite_workqueue.go:98"},"level":"debug","msg":"Dynamically configured batch size [-1]","ts":"2024-05-23T02:50:00Z"}
{"json":{"src":"composite_workqueue.go:129"},"level":"debug","msg":"Exiting SubQueue handler batch round","ts":"2024-05-23T02:50:00Z"}
{"json":{"src":"handlers.go:182"},"level":"debug","msg":"Running callback handler... for RequestURI /callback?code=t7SQUxEYPIMcf_ow7-6uLWnRREWjZfN3veZcBq0_WsQ&state=f03211768b5a96d659293448156e57a48e165d94b269182846ad1240e84c27a3","ts":"2024-05-23T02:50:00Z"
Garret Cook
05/23/2024, 2:53 AMGarret Cook
05/23/2024, 1:56 PMGarret Cook
05/23/2024, 2:13 PMingress:
create: true
commonAnnotations:
<http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: nginx
httpAnnotations:
<http://nginx.ingress.kubernetes.io/app-root|nginx.ingress.kubernetes.io/app-root>: /console
<http://nginx.ingress.kubernetes.io/proxy-buffer-size|nginx.ingress.kubernetes.io/proxy-buffer-size>: 256k
<http://nginx.ingress.kubernetes.io/proxy-buffers|nginx.ingress.kubernetes.io/proxy-buffers>: 4 256k
grpcAnnotations:
<http://nginx.ingress.kubernetes.io/backend-protocol|nginx.ingress.kubernetes.io/backend-protocol>: GRPC
The new lines are the annotations:
<http://nginx.ingress.kubernetes.io/proxy-buffer-size|nginx.ingress.kubernetes.io/proxy-buffer-size>: 256k
<http://nginx.ingress.kubernetes.io/proxy-buffers|nginx.ingress.kubernetes.io/proxy-buffers>: 4 256k
Which I have used before with nginx to solve this issue. I used the nginx ingress documentation here to get the formats:
https://docs.nginx.com/nginx-ingress-controller/configuration/ingress-resources/advanced-configuration-with-annotationsDavid Espejo (he/him)
05/23/2024, 2:44 PM502
errors?Garret Cook
05/23/2024, 2:45 PMGarret Cook
05/23/2024, 2:46 PMGarret Cook
05/23/2024, 2:47 PMDavid Espejo (he/him)
05/23/2024, 2:48 PMGarret Cook
05/23/2024, 2:49 PMGarret Cook
05/23/2024, 2:49 PM