{"action":"created","issue":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/856","labels_url":"https://api.github.com/repos/tgalal/yowsup/issues/856/labels{/name}","comments_url":"https://api.github.com/repos/tgalal/yowsup/issues/856/comments","events_url":"https://api.github.com/repos/tgalal/yowsup/issues/856/events","html_url":"https://github.com/tgalal/yowsup/issues/856","id":85968907,"number":856,"title":"xml-not-well-formed","user":{"login":"Dl0tt","id":12213460,"avatar_url":"https://avatars.githubusercontent.com/u/12213460?v=3","gravatar_id":"","url":"https://api.github.com/users/Dl0tt","html_url":"https://github.com/Dl0tt","followers_url":"https://api.github.com/users/Dl0tt/followers","following_url":"https://api.github.com/users/Dl0tt/following{/other_user}","gists_url":"https://api.github.com/users/Dl0tt/gists{/gist_id}","starred_url":"https://api.github.com/users/Dl0tt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dl0tt/subscriptions","organizations_url":"https://api.github.com/users/Dl0tt/orgs","repos_url":"https://api.github.com/users/Dl0tt/repos","events_url":"https://api.github.com/users/Dl0tt/events{/privacy}","received_events_url":"https://api.github.com/users/Dl0tt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tgalal/yowsup/labels/investigate","name":"investigate","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-06-08T00:23:26Z","updated_at":"2015-12-29T10:23:30Z","closed_at":null,"body":"I'm getting this randomly:\r\n\r\nTraceback (most recent call last):\r\n  File \"run.py\", line 44, in <module>\r\n    stack.loop( timeout = 0.5, discrete = 0.5 )\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/stacks/yowstack.py\", line 167, in loop\r\n    asyncore.loop(*args, **kwargs)\r\n  File \"/usr/lib/python2.7/asyncore.py\", line 216, in loop\r\n    poll_fun(timeout, map)\r\n  File \"/usr/lib/python2.7/asyncore.py\", line 156, in poll\r\n    read(obj)\r\n  File \"/usr/lib/python2.7/asyncore.py\", line 87, in read\r\n    obj.handle_error()\r\n  File \"/usr/lib/python2.7/asyncore.py\", line 83, in read\r\n    obj.handle_read_event()\r\n  File \"/usr/lib/python2.7/asyncore.py\", line 449, in handle_read_event\r\n    self.handle_read()\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/network/layer.py\", line 72, in handle_read\r\n    self.receive(data)\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/network/layer.py\", line 79, in receive\r\n    self.toUpper(data)\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/__init__.py\", line 55, in toUpper\r\n    self.__upper.receive(data)\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/stanzaregulator/layer.py\", line 28, in receive\r\n    self.processReceived()\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/stanzaregulator/layer.py\", line 48, in processReceived\r\n    self.toUpper(oneMessageData)\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/__init__.py\", line 55, in toUpper\r\n    self.__upper.receive(data)\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/auth/layer_crypt.py\", line 63, in receive\r\n    self.toUpper(payload)\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/__init__.py\", line 55, in toUpper\r\n    self.__upper.receive(data)\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/coder/layer.py\", line 35, in receive\r\n    self.toUpper(node)\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/__init__.py\", line 55, in toUpper\r\n    self.__upper.receive(data)\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/logger/layer.py\", line 14, in receive\r\n    self.toUpper(data)\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/__init__.py\", line 55, in toUpper\r\n    self.__upper.receive(data)\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/__init__.py\", line 160, in receive\r\n    s.receive(data)\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/__init__.py\", line 101, in receive\r\n    recv(node)\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.3.84-py2.7.egg/yowsup/layers/auth/layer_authentication.py\", line 79, in handleStreamError\r\n    raise AuthError(\"Unhandled stream:error node:\\n%s\" % node)\r\nyowsup.layers.auth.autherror.AuthError: Unhandled stream:error node:\r\n\\<stream:error>\r\n\\<xml-not-well-formed>\r\n\\</xml-not-well-formed>\r\n\\</stream:error>\r\n\r\nI couldn't find what exacly what causes this to happen...\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/20851760-xml-not-well-formed?utm_campaign=plugin&utm_content=tracker%2F298781&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F298781&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/comments/167761654","html_url":"https://github.com/tgalal/yowsup/issues/856#issuecomment-167761654","issue_url":"https://api.github.com/repos/tgalal/yowsup/issues/856","id":167761654,"user":{"login":"yniv","id":7657911,"avatar_url":"https://avatars.githubusercontent.com/u/7657911?v=3","gravatar_id":"","url":"https://api.github.com/users/yniv","html_url":"https://github.com/yniv","followers_url":"https://api.github.com/users/yniv/followers","following_url":"https://api.github.com/users/yniv/following{/other_user}","gists_url":"https://api.github.com/users/yniv/gists{/gist_id}","starred_url":"https://api.github.com/users/yniv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yniv/subscriptions","organizations_url":"https://api.github.com/users/yniv/orgs","repos_url":"https://api.github.com/users/yniv/repos","events_url":"https://api.github.com/users/yniv/events{/privacy}","received_events_url":"https://api.github.com/users/yniv/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T10:23:30Z","updated_at":"2015-12-29T10:23:30Z","body":"same here... any news about this one? is it dangerous?"}}