I'm trying to work with the send_client example.
Trying to connect with a public jabber server (007jabber.com), which uses connection encryption.
I get reports from normal jabber clients that the certificate for the server is bad, but I can still connect to it with them (pidgin and Gajim).
When connecting to it using SleekXMPP, the connection is refused:
SendMsgBot init start
DEBUG Loaded Plugin: RFC 6120: Stream Feature: STARTTLS
DEBUG Loaded Plugin: RFC 6120: Stream Feature: Resource Binding
DEBUG Loaded Plugin: RFC 3920: Stream Feature: Start Session
DEBUG Loaded Plugin: RFC 6121: Stream Feature: Roster Versioning
DEBUG Loaded Plugin: RFC 6121: Stream Feature: Subscription Pre-Approval
DEBUG Loaded Plugin: RFC 6120: Stream Feature: SASL
SendMsgBot init end
DEBUG Loaded Plugin: XEP-0030: Service Discovery
DEBUG Loaded Plugin: XEP-0199: XMPP Ping
Connecting...
DEBUG DNS: Querying 007jabber.com for AAAA records.
DEBUG DNS: Error retreiving AAAA address info for 007jabber.com.
DEBUG DNS: Querying 007jabber.com for A records.
DEBUG Socket Wrapped for SSL
DEBUG Connecting to 43.231.234.102:5222
ERROR CERT: Invalid certificate trust chain.
Unable to connect.
doTest end
SleekXMPP version: 1.3.3 python 2.7.13 (really winpython 2.7.13)
I'm trying to work with the send_client example. Trying to connect with a public jabber server (007jabber.com), which uses connection encryption. I get reports from normal jabber clients that the certificate for the server is bad, but I can still connect to it with them (pidgin and Gajim). When connecting to it using SleekXMPP, the connection is refused:
SendMsgBot init start DEBUG Loaded Plugin: RFC 6120: Stream Feature: STARTTLS DEBUG Loaded Plugin: RFC 6120: Stream Feature: Resource Binding DEBUG Loaded Plugin: RFC 3920: Stream Feature: Start Session DEBUG Loaded Plugin: RFC 6121: Stream Feature: Roster Versioning DEBUG Loaded Plugin: RFC 6121: Stream Feature: Subscription Pre-Approval DEBUG Loaded Plugin: RFC 6120: Stream Feature: SASL SendMsgBot init end DEBUG Loaded Plugin: XEP-0030: Service Discovery DEBUG Loaded Plugin: XEP-0199: XMPP Ping Connecting... DEBUG DNS: Querying 007jabber.com for AAAA records. DEBUG DNS: Error retreiving AAAA address info for 007jabber.com. DEBUG DNS: Querying 007jabber.com for A records. DEBUG Socket Wrapped for SSL DEBUG Connecting to 43.231.234.102:5222 ERROR CERT: Invalid certificate trust chain. Unable to connect. doTest end
I implemented the method to catch the event
(tried both the variants fo the definition)
and registered it into the init:
but no matter what, the event handler is never called (the appended log is taken in this condition)