-
-
Notifications
You must be signed in to change notification settings - Fork 35.8k
Fix XMPP not working with non-TLS servers #150957
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 XMPP not working with non-TLS servers #150957
Conversation
|
Hey there @fabaff, @flowolf, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh hi there @Human 👋
Thanks for opening a pull request. However, we cannot merge or process untested PRs.
Please make sure to properly test is or add unit tests.
Thanks! 👍
../Frenck
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
|
Hi, @frenck ! I did manually test that before my two-line change, unencrypted XMPP servers no longer work, and after my two-line change, they work again. Is there other specific testing that you would like to see? Perhaps I could temporarily configure an encrypted XMPP server to ensure that encrypted connections do not regress with this change? That would still be a manual test, of course. |
|
I was able to manually test this as follows: I kept my legacy non-TLS XMPP config, which works with my PR: I set up an account on a public encrypted XMPP server and added two configurations for it: and My expectation of a successful test would be that the mis-configured I hope this manual test suffices. |
Proposed change
Fixes a regression in the XMPP integration for non-TLS XMPP servers.
Type of change
Additional information
I do not have a TLS-enabled XMPP server to test, and I would appreciate someone with a TLS-enabled XMPP server to ensure that my change does not fix the issue for non-TLS-enabled servers at the expense of breaking TLS-enabled servers.
Checklist
ruff format homeassistant tests)To help with the load of incoming pull requests: