You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are many return points of naked errors, we need to figure out which branch gives not found, ResolveEndpointV2. It turned out "not found, %v" is from
I ran into this problem lately using Tekton. It came down that the credential-helper uses an older version of the aws-sdk and with v1.23.0 they introduced a breaking change. If you now use any depdendency using a version >v1.23.0 you will most likely run into this. See issue of aws-sdk aws/aws-sdk-go-v2#2370 and the Tekton issue tektoncd/pipeline#7698.
Hope I could help you identifing your problem a bit better.
We encountered a weird error, which seems from the generated code.
We did some initial analysis on this.
Our version is 0.70,
Git commit: cd92a7a
Failed to get authorization token:
leads us toamazon-ecr-credential-helper/ecr-login/api/client.go
Line 229 in cd92a7a
Given the error message, it's clear that the err is from
c.ecrClient.GetAuthorizationToken
,amazon-ecr-credential-helper/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/api_op_GetAuthorizationToken.go
Lines 23 to 36 in cd92a7a
Following the invocations from the
c.invokeOperation
,amazon-ecr-credential-helper/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/api_client.go
Lines 71 to 106 in cd92a7a
c.addOperationGetAuthorizationTokenMiddlewares
amazon-ecr-credential-helper/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/api_op_GetAuthorizationToken.go
Lines 65 to 139 in cd92a7a
There are many return points of naked errors, we need to figure out which branch gives
not found, ResolveEndpointV2
. It turned out"not found, %v"
is fromamazon-ecr-credential-helper/ecr-login/vendor/github.com/aws/smithy-go/middleware/ordered_group.go
Lines 178 to 230 in cd92a7a
and 2 other functions in the same file.
Search
ResolveEndpointV2
gives us 3 results:amazon-ecr-credential-helper/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/api_client.go
Lines 132 to 146 in cd92a7a
amazon-ecr-credential-helper/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/aws/signer/v4/middleware.go
Lines 104 to 106 in cd92a7a
amazon-ecr-credential-helper/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/api_client.go
Lines 451 to 455 in cd92a7a
However, this means the previously added
ResolveEndpointV2
is missing after a few invocations. Could you please take a look?The text was updated successfully, but these errors were encountered: