> 2.) xmpp.ssl_version=ssl.PROTOCOL_TLSv1
Here you're setting which version of TLS to use.
> 3.) xmpp.connect([local_server_address, port], reattempt=True, use_tls=False, use_ssl=False)
But here you're saying not to use TLS
> INFO SASL: PLAIN: PLAIN without encryption
> ERROR No appropriate login method.
For security reasons, we don't allow PLAIN without TLS.
> Any help would be appreciated.
If you do want TLS + PLAIN, then remove the usel_tls and use_ssl parameters from your connect call since the defaults will work fine.
If you are wanting PLAIN without TLS, then set:
xmpp['feature_mechanisms'].unencrypted_plain = True
-- Lance