-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I've installed sleekxmpp using pip. copied those scripts in that folder.
I started Chatbotfinal.py and got "Session started" message.
No errors. Even I seems online from my friends account.
But when I try to send message in my account, I can't get reply back.
Please help me to solve this issue. Thanks
Here is the log:
DEBUG DNS: Querying chat.facebook.com for AAAA records.
DEBUG DNS: Querying chat.facebook.com for A records.
DEBUG Connecting to [2a03:2880:2130:bf02:face:b00c:0:133]:5222
DEBUG Event triggered: socket_error
ERROR Could not connect to [2a03:2880:2130:bf02:face:b00c:0:133]:5222. Socket
Error #10060: A connection attempt failed because the connected party did not p
roperly respond after a period of time, or established connection failed because
connected host has failed to respond
DEBUG Connecting to 173.252.122.5:5222
DEBUG Event triggered: connected
DEBUG ==== TRANSITION disconnected -> connected
DEBUG Starting HANDLER THREAD
DEBUG Loading event runner
DEBUG SEND (IMMED): <stream:stream to='chat.facebook.com' xmlns:stream='http:
//etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en' version='1.0'>
DEBUG RECV: <stream:stream version="1.0" from="chat.facebook.com" id="1" xml:
lang="en">
DEBUG RECV: <stream:features xmlns="http://etherx.jabber.org/streams"><startt
ls xmlns="urn:ietf:params:xml:ns:xmpp-tls" /><mechanisms xmlns="urn:ietf:params:
xml:ns:xmpp-sasl"><mechanism>X-FACEBOOK-PLATFORM</mechanism><mechanism>PLAIN</me
chanism></mechanisms></stream:features>
DEBUG SEND (IMMED): <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
DEBUG RECV: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
DEBUG Starting TLS
INFO Negotiating TLS
INFO Using SSL version: TLS 1.0
DEBUG CERT: -----BEGIN CERTIFICATE-----
MIIFGTCCBAGgAwIBAgIQDtR2rtSPCGnTt/MaFvx2PTANBgkqhkiG9w0BAQUFADBm
.....
.. .. .
. . . .
. ....
-----END CERTIFICATE-----
DEBUG Event triggered: ssl_cert
WARNING Could not find pyasn1 and pyasn1_modules. SSL certificate COULD NOT BE
VERIFIED.
DEBUG SEND (IMMED): <stream:stream to='chat.facebook.com' xmlns:stream='http:
//etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en' version='1.0'>
DEBUG RECV: <stream:stream version="1.0" from="chat.facebook.com" id="1" xml:
lang="en">
DEBUG RECV: <stream:features xmlns="http://etherx.jabber.org/streams"><mechan
isms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-FACEBOOK-PLATFORM</me
chanism><mechanism>PLAIN</mechanism></mechanisms></stream:features>
INFO SASL: X-FACEBOOK-PLATFORM: Missing credential: access_token
DEBUG SEND (IMMED): <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism=
"PLAIN">ADEwMDAwMTY1MTkwMzk0OQA5MjcwMjY4OQ==</auth>
DEBUG RECV: <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
DEBUG Event triggered: auth_success
DEBUG SEND (IMMED): <stream:stream to='chat.facebook.com' xmlns:stream='http:
//etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en' version='1.0'>
DEBUG RECV: <stream:stream version="1.0" from="chat.facebook.com" id="1" xml:
lang="en">
DEBUG RECV: <stream:features xmlns="http://etherx.jabber.org/streams"><bind x
mlns="urn:ietf:params:xml:ns:xmpp-bind" /><session xmlns="urn:ietf:params:xml:ns
:xmpp-session" /></stream:features>
DEBUG Requesting resource:
DEBUG SEND (IMMED): <iq type="set" id="37a972d5-72d2-4f41-b574-5bc83e032e68-1
"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind" /></iq>
DEBUG RECV: <iq type="result" from="100001651903949@chat.facebook.com" id="37
a972d5-72d2-4f41-b574-5bc83e032e68-1"><bind xmlns="urn:ietf:params:xml:ns:xmpp-b
ind"><jid>100001651903949@chat.facebook.com/Zqd6P5De</jid></bind></iq>
DEBUG Event triggered: session_bind
INFO JID set to: 100001651903949@chat.facebook.com/Zqd6P5De
DEBUG SEND (IMMED): <iq type="set" id="37a972d5-72d2-4f41-b574-5bc83e032e68-2
"><session xmlns="urn:ietf:params:xml:ns:xmpp-session" /></iq>
DEBUG RECV: <iq type="result" from="100001651903949@chat.facebook.com" id="37
a972d5-72d2-4f41-b574-5bc83e032e68-2"><session xmlns="urn:ietf:params:xml:ns:xmp
p-session" /></iq>
DEBUG Established Session
DEBUG Event triggered: session_start
DEBUG Finished processing stream features.
DEBUG Event triggered: stream_negotiated
WARNING Could not find pyasn1 and pyasn1_modules. SSL certificate expiration CO
ULD NOT BE VERIFIED.
DEBUG Event triggered: sent_presence
Session started
DEBUG SEND: <presence xml:lang="en" />
DEBUG SEND: <iq type="get" id="37a972d5-72d2-4f41-b574-5bc83e032e68-3"><query
xmlns="jabber:iq:roster" /></iq>
DEBUG RECV: <presence to="100001651903949@chat.facebook.com/Zqd6P5De" from="-
100008190094806@chat.facebook.com" />
DEBUG RECV: <iq to="100001651903949@chat.facebook.com/Zqd6P5De" type="result"
id="37a972d5-72d2-4f41-b574-5bc83e032e68-3"><query xmlns="jabber:iq:roster"><it
em jid="-100007715383547@chat.facebook.com" name="Abhishek Kumar" subscription="
... . . .. . . .
.. . .. . . . ..
... . . . .. .
</item></query></iq>
DEBUG Event triggered: roster_update
DEBUG Event triggered: presence
DEBUG Event triggered: presence_available
DEBUG Event triggered: got_online
DEBUG Event triggered: changed_status
DEBUG Scheduled event: Session timeout check: ()
EDIT : After some hours I again started the code and I also uncommented msg.reply("Thanks").send() code. Whenever I send any message, I get Just "Thanks" message as reply.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels