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

Blaze Server 0.21.24 - Possible Regression in SSL Verification #660

Open
etspaceman opened this issue Jun 1, 2021 · 0 comments
Open

Blaze Server 0.21.24 - Possible Regression in SSL Verification #660

etspaceman opened this issue Jun 1, 2021 · 0 comments

Comments

@etspaceman
Copy link

etspaceman commented Jun 1, 2021

My kinesis-mock project attempted to upgrade to 0.21.24 (from 0.21.22). Most requests seemed to work just fine, however when interacting using the AWS CLI, I was getting errors. I couldn't nail down what was happening. I've added logs from the blaze server as well as the AWS CLI.

This can be reproduced with the following command:

docker run --rm -d -p "4567:4567" -p "4568:4568" -e "ROOT_LOG_LEVEL=TRACE" ghcr.io/etspaceman/kinesis-mock:0.0.5 && \
sleep 5 && \
AWS_ACCESS_KEY_ID=foo AWS_SECRET_ACCESS_KEY=bar AWS_DEFAULT_REGION=us-east-1 aws kinesis list-streams --endpoint-url https://localhost:4567 --no-verify-ssl

awsclidebuglogs.txt
blazeLogs.txt

The offending PR is likely #522.

Downgrading to 0.21.22 works for this use case. You can test that by using the 0.0.6 version, like so:

docker run --rm -d -p "4567:4567" -p "4568:4568" -e "ROOT_LOG_LEVEL=TRACE" ghcr.io/etspaceman/kinesis-mock:0.0.6 && \
sleep 5 && \
AWS_ACCESS_KEY_ID=foo AWS_SECRET_ACCESS_KEY=bar AWS_DEFAULT_REGION=us-east-1 aws kinesis list-streams --endpoint-url https://localhost:4567 --no-verify-ssl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants