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

fix: let DNS resolve outside connector #1120

Merged
merged 5 commits into from
Jun 26, 2024
Merged

fix: let DNS resolve outside connector #1120

merged 5 commits into from
Jun 26, 2024

Conversation

jackwotherspoon
Copy link
Collaborator

@jackwotherspoon jackwotherspoon commented Jun 25, 2024

Python's SSLContext requires trailing dot to be stripped from DNS
names in order to properly configure SSL/TLS.

Previously, we were resolving the DNS and connecting to the PSC
endpoint within the Connector. However, this was a poor workaround
as we should really just strip the trailing dot and allow the drivers to
resolve the DNS on connection.

@jackwotherspoon jackwotherspoon self-assigned this Jun 25, 2024
@jackwotherspoon jackwotherspoon requested a review from a team as a code owner June 25, 2024 19:53
@jackwotherspoon
Copy link
Collaborator Author

Will manually test as we currently don't have integration test support for PSC.

@jackwotherspoon jackwotherspoon merged commit d321f79 into main Jun 26, 2024
15 checks passed
@jackwotherspoon jackwotherspoon deleted the psc-fix branch June 26, 2024 12:49
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

Successfully merging this pull request may close these issues.

2 participants