Skip to content

Connections interrupts instantly #32

Description

@Leseratte10

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
<receipt_acks>
</receipt_acks>
<w:profile:picture type="all">
/w:profile:picture
<w:profile:picture type="group">
/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""

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions