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

WebSocket version migration #56

Closed
leonhard-s opened this issue Jul 5, 2022 · 1 comment
Closed

WebSocket version migration #56

leonhard-s opened this issue Jul 5, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request prio:high Fix as soon as possible

Comments

@leonhard-s
Copy link
Owner

In recent versions of Python, the SSL certificate bypass hack from #55 no longer works, and the default context used can even prevent successful connections entirely.

As a hotfix, the bypass will be disabled in the next version. This should not cause any interruptions to clients as the certs are still good for a few more months (and maybe will be updated this time, rather than expiring).

A more comprehensive fix will follow in conjunction with a migration to the new websockets API. Auraxium is currently using the legacy client-based interface for connections, and any SSL context customization required is tied to it, so might as well do both rather than having to re-do it in a few months anyway.

@leonhard-s leonhard-s added enhancement New feature or request prio:high Fix as soon as possible labels Jul 5, 2022
@leonhard-s leonhard-s self-assigned this Jul 5, 2022
@leonhard-s
Copy link
Owner Author

A note regarding the FutureWarning raised when specifying no_ssl_certs=True in Auraxium v0.2.2:

This warning is primarily intended to inform the user that the bypass is currently inactive. Future versions will likely still use this syntax and no changes to client code will be needed.

leonhard-s added a commit that referenced this issue Jul 5, 2022
This is a hotfix for connection issues on some versions of Python. See #56 for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request prio:high Fix as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant