aws ssm start-session fails when behind HTTP proxy #9282
Labels
bug
This issue is a bug.
p3
This is a minor priority issue
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
ssm
Describe the bug
The CLI fails to operate correctly when behind an HTTP proxy. This is NOT for the ssm-agent but on the calling client side. The AWS CLI does not work for making wss:// protocol connections behind an HTTP proxy such as Burp Suite.
Regression Issue
Expected Behavior
The wss:// traffic to appear in the HTTP proxy software (Burp Suite) and the terminal to function as normal.
Current Behavior
Reproduction Steps
Start an HTTP proxy such as Burp Suite.
Open a terminal and paste the following env. variables:
In that same terminal attempt to start an SSM session:
One HTTP request + response is seen in the proxy, but no WebSocket traffic. The terminal also hangs and is unresponsive as described in the Current Behavior section.
Possible Solution
Workaround:
export NO_PROXY=ssmmessages.us-east-1.amazonaws.com
The terminal will work, but no wss:// traffic will be captured in the Burp Suite proxy.
Additional Information/Context
Adding
aws --no-verify-ssl ssm start-session
does not help either.CLI version used
aws-cli/2.19.1 Python/3.12.6 Linux/6.8.0-51-generic exe/x86_64.ubuntu.22
Environment details (OS name and version, etc.)
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: