0
Ubuntu 14.04でPython 2.7.6を使用しているTLS XMPPクライアントを取得しようとしています。デバッグモードを有効にして、エラーメッセージerror Failed SASL authentification: <incorrect-encoding />
が得られるまで接続全体がうまく見えます。デスクトップのJabberクライアントを介してユーザーとパスワードのアカウントを確認しました。ここで私が使用しているコードです。Python XMPPエラー:SASL認証に失敗しました:<間違ったエンコーディング/>
DEBUG: socket got <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<incorrect-encoding/>
</failure>
DEBUG: dispatcher ok Got urn:ietf:params:xml:ns:xmpp-sasl/failure stanza
DEBUG: dispatcher ok Dispatching failure stanza with type-> props->[u'urn:ietf:params:xml:ns:xmpp-sasl'] id->None
DEBUG: sasl error Failed SASL authentification: <incorrect-encoding />
DEBUG: sasl stop Plugging <xmpp.auth.SASL instance at 0x7f7c40711950> out of <xmpp.client.Client instance at 0x7f7c40784c68>.
DEBUG: roster start Plugging <xmpp.roster.Roster instance at 0x7f7c40711d40> into <xmpp.client.Client instance at 0x7f7c40784c68>
DEBUG: dispatcher info Registering handler <bound method Roster.RosterIqHandler of <xmpp.roster.Roster instance at 0x7f7c40711d40>> for "iq" type->result ns->jabber:iq:roster(jabber:client)
DEBUG: dispatcher info Registering handler <bound method Roster.RosterIqHandler of <xmpp.roster.Roster instance at 0x7f7c40711d40>> for "iq" type->set ns->jabber:iq:roster(jabber:client)
DEBUG: dispatcher info Registering handler <bound method Roster.PresenceHandler of <xmpp.roster.Roster instance at 0x7f7c40711d40>> for "presence" type-> ns->(jabber:client)
DEBUG: socket sent <iq type="get" id="22">
<query xmlns="jabber:iq:roster" />