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

Ability to debug requests #36

Open
nikhilo opened this issue Apr 29, 2020 · 0 comments
Open

Ability to debug requests #36

nikhilo opened this issue Apr 29, 2020 · 0 comments

Comments

@nikhilo
Copy link

nikhilo commented Apr 29, 2020

I'm running the proxy on my mac, with an SSH tunnel through a VPC bastion host pointing to the ES domain inside of a VPC.
Run command,
docker run -it --rm -p 8080:8080 --add-host my-vpc-es.us-east-1.es.amazonaws.com:192.168.65.2 -e AWS_ACCESS_KEY_ID=(aws --profile=default configure get aws_access_key_id) -e AWS_SECRET_ACCESS_KEY=(aws --profile=default configure get aws_secret_access_key) -e AWS_REGION=us-east-1 --name aws-signing-proxy cllunsford/aws-signing-proxy -target https://my-vpc-es.us-east-1.es.amazonaws.com:9443 -region us-east-1

Getting following response with a 403
{"message":"The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details."}

Is there any way to debug the request/response? print headers maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant