loud-keyboard-72751
04/22/2024, 7:50 AMpanic: rpc error: code = Unavailable desc = connection error: desc = "error reading server preface: http2: frame too large"
goroutine 1 [running]:
Note: I already try to solve by adding few annotations in my ingress
Those annotations are:
enabled: true
webpackHMR: false
separateGrpcIngress: true
separateGrpcIngressAnnotations:
<http://nginx.ingress.kubernetes.io/backend-protocol|nginx.ingress.kubernetes.io/backend-protocol>: "GRPC"
annotations:
<http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: nginx
<http://ingress.kubernetes.io/rewrite-target|ingress.kubernetes.io/rewrite-target>: /
<http://nginx.ingress.kubernetes.io/proxy-buffer-size|nginx.ingress.kubernetes.io/proxy-buffer-size>: "128k"
<http://nginx.ingress.kubernetes.io/proxy-read-timeout|nginx.ingress.kubernetes.io/proxy-read-timeout>: "600"
<http://nginx.ingress.kubernetes.io/proxy-send-timeout|nginx.ingress.kubernetes.io/proxy-send-timeout>: "600"
<http://nginx.ingress.kubernetes.io/ssl-redirect|nginx.ingress.kubernetes.io/ssl-redirect>: "true"
<http://nginx.ingress.kubernetes.io/affinity|nginx.ingress.kubernetes.io/affinity>: "cookie"
<http://nginx.ingress.kubernetes.io/app-root|nginx.ingress.kubernetes.io/app-root>: /console
Problem 2:
In my system port 9000 is busy with some other application running on it. So I am using 9200 and 9201 as a minio service local-port. Now I already setup minio endpoint in storage section with 9200 port and also In k8s plugin's default env section. But Still I recieve this error during pyflyte run command in which minio endpoint is showing 9000 as port number. Now how can I change that?
warnings.warn(
Failed with Exception Code: USER:ValueError
USER:ValueError: error=Value error! Received: 400. Request to send data <http://minio.flyte.svc.cluster.local:9000/flyte-bucket/flytesnacks/development/555TNYN3Q6EC7NMQTA3USVCQSA%3D%3D%3D%3D%3D%3D/script_mode.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minio%2F20240422%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240422T074930Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=content-md5%3Bhost%3Bx-amz-meta-flytecontentmd5&X-Amz-Signature=e517e6a6972f014e24769616c3eb176e78456faaaf8df5177a46f36ab3919bff> failed.
Response: <?xml version="1.0" encoding="UTF-8"?>
<Error><Code>MissingFields</Code><Message>Missing fields in request.</Message><Key>flytesnacks/development/555TNYN3Q6EC7NMQTA3USVCQSA======/script_mode.tar.gz</Key><BucketName>flyte-bucket</BucketName><Resource>/flyte-bucket/flytesnacks/development/555TNYN3Q6EC7NMQTA3USVCQSA======/script_mode.tar.gz</Resource><Region>gd-eu-muc9</Region><RequestId>17C88AB570F9715A</RequestId><HostId>dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8</HostId></Error>
thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
average-finland-92144
04/22/2024, 6:04 PMconfig.yaml
file to see there is not storage config pointing to the `9000`portloud-keyboard-72751
04/22/2024, 6:13 PMloud-keyboard-72751
04/23/2024, 9:50 AMloud-keyboard-72751
04/23/2024, 9:51 AMloud-keyboard-72751
04/23/2024, 9:52 AMloud-keyboard-72751
04/23/2024, 9:53 AMthankful-minister-83577
loud-keyboard-72751
04/23/2024, 4:57 PMloud-keyboard-72751
04/23/2024, 5:07 PMaverage-finland-92144
04/23/2024, 5:20 PMtype: custom
loud-keyboard-72751
04/23/2024, 5:36 PMaverage-finland-92144
04/23/2024, 5:40 PMstorage:
type: custom
container: "flyte-bucket"
stow:
kind: s3
config:
access_key_id: xyz
...
average-finland-92144
04/23/2024, 5:41 PMloud-keyboard-72751
04/23/2024, 5:44 PMthankful-minister-83577
storage.yaml
block for admin is defined here https://github.com/flyteorg/flyte/blob/8c5aac605f848978cac5c273515e7fd0de68fb1c/charts/flyte-core/templates/admin/configmap.yaml#L43C27-L43C49thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
loud-keyboard-72751
04/24/2024, 8:00 AMloud-keyboard-72751
04/24/2024, 8:01 AMthankful-minister-83577
thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
loud-keyboard-72751
04/24/2024, 8:26 PMloud-keyboard-72751
04/24/2024, 8:28 PMloud-keyboard-72751
04/26/2024, 7:54 AMloud-keyboard-72751
04/26/2024, 7:55 AMaverage-finland-92144
04/30/2024, 3:52 PMloud-keyboard-72751
05/01/2024, 7:55 AMinline:
admin:
httpProxyURL: "<PROXY_VALUE>"
scopes:
- api://<clientID>/.default
average-finland-92144
05/01/2024, 4:16 PMloud-keyboard-72751
05/01/2024, 4:18 PMloud-keyboard-72751
05/01/2024, 4:21 PMaverage-finland-92144
05/01/2024, 4:21 PMloud-keyboard-72751
05/01/2024, 4:22 PM