Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IncompleteSignatureException - SSM #4285

Closed
jeyarajcs opened this issue Nov 28, 2022 · 7 comments
Closed

IncompleteSignatureException - SSM #4285

jeyarajcs opened this issue Nov 28, 2022 · 7 comments
Assignees
Labels
bug This issue is a bug. duplicate This issue is a duplicate.

Comments

@jeyarajcs
Copy link

Describe the bug

The recent release 2.1262.0, causes the SSM parameter fetching issue and leads to container crashes.

I am attaching the traces below.

IncompleteSignatureException: Authorization header requires 'Credential' parameter. Authorization header requires 'Signature' parameter. Authorization header requires 'SignedHeaders' parameter. Authorization=AWS xxxxx:yyyyyyy
    at Request.extractError (/app/node_modules/aws-sdk/lib/protocol/json.js:52:27)
    at Request.callListeners (/app/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
    at Request.emit (/app/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
    at Request.emit (/app/node_modules/aws-sdk/lib/request.js:686:14)
    at Request.transition (/app/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/app/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /app/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/app/node_modules/aws-sdk/lib/request.js:38:9)
    at Request.<anonymous> (/app/node_modules/aws-sdk/lib/request.js:688:12)
    at Request.callListeners (/app/node_modules/aws-sdk/lib/sequential_executor.js:116:18)
    at Request.emit (/app/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
    at Request.emit (/app/node_modules/aws-sdk/lib/request.js:686:14)
    at Request.transition (/app/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/app/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /app/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/app/node_modules/aws-sdk/lib/request.js:38:9)

Everything was working fine till today morning, and we pushed some changes from our side, but then the containers started crashing. After spending an hour, we figured that the issue was from aws-sdk@2.1262.0. Now we reverted to aws-sdk@2.1259.0 and things are working well.

Expected Behavior

The containers/code should work without any issues.

Current Behavior

The containers/code crashes constantly.

Reproduction Steps

Try the new SDK version 2.1262.0

Possible Solution

I think the latest change in the SDK might contain some strict validation. Please add some backward compatibility.

Additional Information/Context

No response

SDK version used

2.1262.0

Environment details (OS name and version, etc.)

Linux/Ubuntu

@jeyarajcs jeyarajcs added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Nov 28, 2022
@kayman-mk
Copy link

kayman-mk commented Nov 28, 2022

Same here with the SES service.

IncompleteSignature: Authorization header requires 'Credential' parameter. Authorization header requires 'Signature' parameter. Authorization header requires 'SignedHeaders' parameter. Authorization=AWS ASIA6NIRPE3ZBWHOQTEZ:fjLvBCuKKlNJnxPJ1Frz23LNrm8=
at Request.extractError (/opt/nodejs/node_modules/aws-sdk/lib/protocol/query.js:50:29)
at Request.callListeners (/opt/nodejs/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/opt/nodejs/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/opt/nodejs/node_modules/aws-sdk/lib/request.js:686:14)
at Request.transition (/opt/nodejs/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/opt/nodejs/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /opt/nodejs/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request. (/opt/nodejs/node_modules/aws-sdk/lib/request.js:38:9)
at Request. (/opt/nodejs/node_modules/aws-sdk/lib/request.js:688:12)
at Request.callListeners (/opt/nodejs/node_modules/aws-sdk/lib/sequential_executor.js:116:18)

@Drilmo
Copy link

Drilmo commented Nov 28, 2022

+1

1 similar comment
@MehranJanfeshan
Copy link

+1

liddellj added a commit to AulaEducation/website that referenced this issue Nov 28, 2022
@BasilaryGroup
Copy link

+1

@ajredniwja ajredniwja self-assigned this Nov 28, 2022
@trivikr
Copy link
Member

trivikr commented Nov 28, 2022

@jeyarajcs @kayman-mk Do you have a minimal repro that we can use to reproduce this?

@ajredniwja ajredniwja added p0 This issue is the highest priority and removed needs-triage This issue or PR still needs to be triaged. labels Nov 28, 2022
@ajredniwja
Copy link
Member

Related to #4286, the team is working on pushing a fix.

@trivikr
Copy link
Member

trivikr commented Nov 28, 2022

Closing as duplicate of #4286

Please comment with a minimal repro, or open a new bug report if the issue continues to exist after v2.1263.0 release.

@trivikr trivikr added duplicate This issue is a duplicate. and removed p0 This issue is the highest priority labels Nov 28, 2022
@trivikr trivikr closed this as completed Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. duplicate This issue is a duplicate.
Projects
None yet
Development

No branches or pull requests

7 participants