stenyak / breakbot

WhatsApp<->IRC gateway bot
90 stars 38 forks source link

Connections interrupts instantly #32

Open Leseratte10 opened 9 years ago

Leseratte10 commented 9 years ago

As soon as I start the bot, the connection closes "because of closed":

$ python ./bot.py 2015-06-20 09:21:33.482174 II bot.py:141: 3 contacts loaded from configuration file 2015-06-20 09:21:33.483149 II bot.py:49: Connecting IRC client (bot@127.0.0.1:6667) 2015-06-20 09:21:33.490249 II irc_bot.py:122: Joining channels: #eroom 2015-06-20 09:21:33.528102 II irc_bot.py:140: Connected IRC client (bot@127.0.0.1:6667) 2015-06-20 09:21:33.590026 II bot.py:52: Connecting WA client (492271XXXXXXX) YowsupConnectionManager: >>>>>>>> AUTH CALLED BinTreeNodeReader: Reader init YowsupAuth: Connecting to c2.whatsapp.net WAuth: Yowsup WAUTH-1 INIT WAuth: Starting stream WAuth: Sending Features BinTreeNodeWriter: Outgoing BinTreeNodeWriter:
stream:features

/w:profile:picture /w:profile:picture /stream:features WAuth: Sending Auth BinTreeNodeWriter: Outgoing BinTreeNodeWriter: WAuth: Read stream start YowsupConnectionManager: Conn closed Exception ReaderThread: Sending disconnected because of closed 2015-06-20 09:21:34.982389 II wa_bot.py:142: Disconnected WA client (492271XXXXXXX): closed What am I doing wrong? The account creation with yowsup worked perfectly and I'm able to send messages with "yowsup-cli demos -c config -s 49123456789 "test""
h1rule commented 8 years ago

Same here! https://github.com/stenyak/breakbot/issues/34

RaviKarrii commented 8 years ago

I have the same problem! did anyone found the solution?