adorable-australia-90343
07/31/2023, 3:56 PMflytectl get projects
I’m seeing the below error:
Error: rpc error: code = Unimplemented desc = unexpected HTTP status code received from server: 404 (Not Found); transport: received unexpected content-type "text/plain; charset=utf-8"
I can’t tell if the 404 is from a request that the ctl made or if it’s happening in a backend service. I tried to increase the log levels on backend but couldn’t find anything. Any help would be greatly appreciated! cc @gifted-train-81198thankful-minister-83577
adorable-australia-90343
07/31/2023, 4:30 PMthankful-minister-83577
logger:
show-source: true
level: 5
thankful-minister-83577
adorable-australia-90343
07/31/2023, 4:35 PMthankful-minister-83577
thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
adorable-australia-90343
07/31/2023, 4:36 PMthankful-minister-83577
adorable-australia-90343
07/31/2023, 4:41 PMadmin:
insecure: false
endpoint: dns:///<HOSTNAME>
insecureSkipVerify: true
authType: ExternalCommand
command: [echo, <BEARER TOKEN>]
authorizationHeader: "Authorization"
logger:
show-source: true
level: 5
adorable-australia-90343
07/31/2023, 4:41 PMadorable-australia-90343
07/31/2023, 4:41 PMthankful-minister-83577
adorable-australia-90343
07/31/2023, 4:42 PMthankful-minister-83577
thankful-minister-83577
adorable-australia-90343
07/31/2023, 4:44 PMadorable-australia-90343
07/31/2023, 4:44 PM{"json":{"src":"viper.go:398"},"level":"debug","msg":"Config section [storage] updated. No update handler registered.","ts":"2023-07-31T10:43:26-06:00"}
{"json":{"src":"viper.go:398"},"level":"debug","msg":"Config section [root] updated. No update handler registered.","ts":"2023-07-31T10:43:26-06:00"}
{"json":{"src":"viper.go:400"},"level":"debug","msg":"Config section [admin] updated. Firing updated event.","ts":"2023-07-31T10:43:26-06:00"}
{"json":{"src":"viper.go:398"},"level":"debug","msg":"Config section [files] updated. No update handler registered.","ts":"2023-07-31T10:43:26-06:00"}
{"json":{"src":"viper.go:398"},"level":"debug","msg":"Config section [console] updated. No update handler registered.","ts":"2023-07-31T10:43:26-06:00"}
{"json":{"src":"client.go:145"},"level":"warning","msg":"using insecureSkipVerify. Server's certificate chain and host name wont be verified. Caution : shouldn't be used for production usecases","ts":"2023-07-31T10:43:26-06:00"}
{"json":{"src":"client.go:63"},"level":"info","msg":"Initialized Admin client","ts":"2023-07-31T10:43:26-06:00"}
{"json":{"src":"auth_interceptor.go:86"},"level":"debug","msg":"Request failed due to [rpc error: code = Unauthenticated desc = Invalid IAP credentials: empty token]. If it's an unauthenticated error, we will attempt to establish an authenticated context.","ts":"2023-07-31T10:43:26-06:00"}
{"json":{"src":"auth_interceptor.go:91"},"level":"debug","msg":"Request failed due to [Unauthenticated]. Attempting to establish an authenticated connection and trying again.","ts":"2023-07-31T10:43:26-06:00"}
{"json":{"src":"client.go:145"},"level":"warning","msg":"using insecureSkipVerify. Server's certificate chain and host name wont be verified. Caution : shouldn't be used for production usecases","ts":"2023-07-31T10:43:26-06:00"}
Error: rpc error: code = Unimplemented desc = unexpected HTTP status code received from server: 404 (Not Found); transport: received unexpected content-type "text/plain; charset=utf-8"
{"json":{"src":"main.go:13"},"level":"error","msg":"rpc error: code = Unimplemented desc = unexpected HTTP status code received from server: 404 (Not Found); transport: received unexpected content-type \"text/plain; charset=utf-8\"","ts":"2023-07-31T10:43:27-06:00"}
adorable-australia-90343
07/31/2023, 4:44 PMUnauthenticated desc = Invalid IAP credentials: empty token
thankful-minister-83577
thankful-minister-83577
GRPC_TRACE=all GRPC_VERBOSITY=DEBUG
thankful-minister-83577
thankful-minister-83577
flyteidl
adorable-australia-90343
07/31/2023, 4:52 PMthankful-minister-83577
thankful-minister-83577
adorable-australia-90343
07/31/2023, 4:53 PMthankful-minister-83577
thankful-minister-83577
thankful-minister-83577
adorable-australia-90343
07/31/2023, 4:59 PMadorable-australia-90343
07/31/2023, 5:02 PMadorable-australia-90343
07/31/2023, 5:02 PM{
"error": "unknown service flyteidl.service.AuthMetadataService",
"code": 12,
"message": "unknown service flyteidl.service.AuthMetadataService"
}
adorable-australia-90343
07/31/2023, 5:13 PMuseAuth: true
adorable-australia-90343
07/31/2023, 5:13 PMadorable-australia-90343
07/31/2023, 5:14 PM{
"client_id": "flytectl",
"redirect_uri": "<http://localhost:53593/callback>",
"scopes": [
"offline",
"all"
],
"authorization_metadata_key": "flyte-authorization"
}
adorable-australia-90343
07/31/2023, 5:14 PMadorable-australia-90343
07/31/2023, 5:14 PM{
"issuer": "<https://accounts.google.com>",
"authorization_endpoint": "<https://accounts.google.com/o/oauth2/v2/auth>",
"token_endpoint": "<https://oauth2.googleapis.com/token>",
"response_types_supported": [
"code",
"token",
"id_token",
"code token",
"code id_token",
"token id_token",
"code token id_token",
"none"
],
"scopes_supported": [
"openid",
"email",
"profile"
],
"token_endpoint_auth_methods_supported": [
"client_secret_post",
"client_secret_basic"
],
"jwks_uri": "<https://www.googleapis.com/oauth2/v3/certs>",
"code_challenge_methods_supported": [
"plain",
"S256"
],
"grant_types_supported": [
"authorization_code",
"refresh_token",
"urn:ietf:params:oauth:grant-type:device_code",
"urn:ietf:params:oauth:grant-type:jwt-bearer"
],
"device_authorization_endpoint": "<https://oauth2.googleapis.com/device/code>"
}
thankful-minister-83577
adorable-australia-90343
07/31/2023, 5:15 PMthankful-minister-83577
adorable-australia-90343
07/31/2023, 5:16 PM{"json":{"src":"viper.go:398"},"level":"debug","msg":"Config section [root] updated. No update handler registered.","ts":"2023-07-31T11:15:59-06:00"}
{"json":{"src":"viper.go:400"},"level":"debug","msg":"Config section [admin] updated. Firing updated event.","ts":"2023-07-31T11:15:59-06:00"}
{"json":{"src":"client.go:145"},"level":"warning","msg":"using insecureSkipVerify. Server's certificate chain and host name wont be verified. Caution : shouldn't be used for production usecases","ts":"2023-07-31T11:15:59-06:00"}
{"json":{"src":"client.go:63"},"level":"info","msg":"Initialized Admin client","ts":"2023-07-31T11:15:59-06:00"}
{"json":{"src":"auth_interceptor.go:67"},"level":"debug","msg":"Request failed due to [rpc error: code = Unauthenticated desc = Invalid IAP credentials: empty token]. If it's an unauthenticated error, we will attempt to establish an authenticated context.","ts":"2023-07-31T11:15:59-06:00"}
{"json":{"src":"auth_interceptor.go:72"},"level":"debug","msg":"Request failed due to [Unauthenticated]. Attempting to establish an authenticated connection and trying again.","ts":"2023-07-31T11:15:59-06:00"}
{"json":{"src":"client.go:145"},"level":"warning","msg":"using insecureSkipVerify. Server's certificate chain and host name wont be verified. Caution : shouldn't be used for production usecases","ts":"2023-07-31T11:15:59-06:00"}
Error: authentication error! Original Error: rpc error: code = Unauthenticated desc = Invalid IAP credentials: empty token, Auth Error: pipe: too many open files
{"json":{"src":"main.go:13"},"level":"error","msg":"authentication error! Original Error: rpc error: code = Unauthenticated desc = Invalid IAP credentials: empty token, Auth Error: pipe: too many open files","ts":"2023-07-31T11:15:59-06:00"}
thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
adorable-australia-90343
07/31/2023, 5:22 PMcool-lifeguard-49380
08/15/2023, 5:17 PM