{"action":"created","issue":{"url":"https://api.github.com/repos/mgp25/Chat-API/issues/1892","repository_url":"https://api.github.com/repos/mgp25/Chat-API","labels_url":"https://api.github.com/repos/mgp25/Chat-API/issues/1892/labels{/name}","comments_url":"https://api.github.com/repos/mgp25/Chat-API/issues/1892/comments","events_url":"https://api.github.com/repos/mgp25/Chat-API/issues/1892/events","html_url":"https://github.com/mgp25/Chat-API/issues/1892","id":153285186,"number":1892,"title":"Blocked every day after ~10 hours of running","user":{"login":"simonejan","id":18734593,"avatar_url":"https://avatars.githubusercontent.com/u/18734593?v=3","gravatar_id":"","url":"https://api.github.com/users/simonejan","html_url":"https://github.com/simonejan","followers_url":"https://api.github.com/users/simonejan/followers","following_url":"https://api.github.com/users/simonejan/following{/other_user}","gists_url":"https://api.github.com/users/simonejan/gists{/gist_id}","starred_url":"https://api.github.com/users/simonejan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonejan/subscriptions","organizations_url":"https://api.github.com/users/simonejan/orgs","repos_url":"https://api.github.com/users/simonejan/repos","events_url":"https://api.github.com/users/simonejan/events{/privacy}","received_events_url":"https://api.github.com/users/simonejan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-05T17:48:37Z","updated_at":"2016-05-06T08:54:47Z","closed_at":"2016-05-05T18:47:57Z","body":"Make sure these boxes are checked before submitting your issue -- thank you!\r\n\r\n\r\n- [x ] You are using PHP > 5.6\r\n- [ x] You have installed all extensions and modules listed in [here](https://github.com/mgp25/Chat-API/wiki/Dependencies). PHP Protobuf and Curve25519 are required!\r\n- [ x] You have checked if someone has already asked the same issue you have.\r\n- [x ] You have read the [wiki](https://github.com/mgp25/Chat-API/wiki).\r\n- [x ] Is not a programming question.\r\n- [x ] You are using latest Chat API code.\r\n\r\n\r\n### Error\r\nPost your error below:\r\n<not-authorized></not-authorized>\r\n\r\nNo matter what I try I get block exactly after running my tests on a number without any traffic at all.Sync only one number, send message once, receive message once. Let it run for 10 hours with two pings and disconnect. After around 10 hours number gets blocked,as last action the nextChallange was changed. I noticed every time I get block the file axolotl-316xxxxxx.db\r\nreach the following and then I get blocked.\r\n\r\n   [198] => Array\r\n        (\r\n            [_id] => 200\r\n            [prekey_id] => 6227011\r\n            [sent_to_server] =>\r\n▒f▒<;n▒▒▒~▒X;▒t)%▒▒▒j=>È▒!▒0▒▒~9V@▒{▒▒▒▒[P▒▒▒▒tNi P'\r\n        )\r\n\r\nNot sure if its related.\r\nIt seems that there is a password change of some sort and then the number gets blocked.\r\n\r\nJust to put the highlights:\r\n\r\n1. No traffic\r\n2. double ping and disconnect.\r\n3. nextChallage change number gets blocked.\r\n\r\n### Debug log\r\nPost your debug log below:\r\n\r\n```xml\r\nThe time is 07:48:40pmlistening to: 316xxxxxx\r\ntx  <stream:features></stream:features>\r\n\r\ntx  <auth user=\"316xxxxxx\" mechanism=\"WAUTH-2\">c8c575b63937323532353437313333360ba5109b627b8bf120ad36602951e6dc78919fa231343632343636393230</auth>\r\n\r\nrx  <from s.whatsapp.net=\"\"></from>\r\n\r\nrx  <stream:features></stream:features>\r\n\r\nrx  <challenge>6779552938dd89d2ca91fb0bbdbce1b4820f3b17</challenge>\r\n\r\ntx  <response>0e4afb95c30c4a21de20ed0dba8635a3ef7384c260f0e8780a4247a7cce08f854781faa37adf8eaade35dedca11737a317d768ad1746038da3f5969e9fe4b680c4077ee26af885aed0b72f8431b7</response>\r\n\r\nrx  <success t=\"1462466920\" props=\"5\" kind=\"free\" status=\"active\" creation=\"1462434629\" expiration=\"4444444444\">d0eae96f712e2b5c007179b9b3eebd2b588d6000</success>\r\n\r\ntx  <presence name=\"testt\" type=\"available\"></presence>\r\n\r\ntx  <iq id=\"01\" xmlns=\"jabber:iq:privacy\" type=\"get\">\r\ntx    <query>\r\ntx      <list name=\"default\"></list>\r\ntx    </query>\r\ntx  </iq>\r\n\r\ntx  <iq id=\"02\" xmlns=\"urn:xmpp:whatsapp:push\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <config></config>\r\ntx  </iq>\r\n\r\nrx  <presence from=\"316xxxxxx@s.whatsapp.net\"></presence>\r\n\r\nrx  <ib from=\"s.whatsapp.net\">\r\nrx    <offline count=\"0\"></offline>\r\nrx  </ib>\r\n\r\nrx  <iq from=\"316xxxxxx@s.whatsapp.net\" type=\"error\" id=\"1\">\r\nrx    <error code=\"404\" text=\"item-not-found\"></error>\r\nrx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"02\">\r\nrx    <config platform=\"gcm\" id=\"6vfmg_3a8CC:APA91b660vTJwT1QrpCad5Ff42d4RGXwapxtIuMNk95UcRDTmK31DQh0IONDPfeUtpWWpY_2zuGy-wcgm6MJhO1rX_fuVxjD8tu_tw42BlKQ1MZ_D_4Hh8km3OGrVfvYABUKmlJozU7L\"></config>\r\nrx  </iq>\r\n\r\ntx  <iq id=\"03\" xmlns=\"w:p\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <ping></ping>\r\ntx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"03\" t=\"1462466982\"></iq>\r\n\r\ntx  <iq id=\"04\" xmlns=\"w:p\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <ping></ping>\r\ntx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"04\" t=\"1462467044\"></iq>\r\n\r\n\r\n\r\n\r\nThe time is 07:51:49pmlistening to: 316xxxxxx\r\ntx  <stream:features></stream:features>\r\n\r\ntx  <auth user=\"316xxxxxx\" mechanism=\"WAUTH-2\">ee667fdf393732353235343731333336d0eae96f712e2b5c007179b9b3eebd2b588d600031343632343637313039</auth>\r\n\r\nrx  <from s.whatsapp.net=\"\"></from>\r\n\r\nrx  <stream:features></stream:features>\r\n\r\nrx  <challenge>6277f75e78dd7df613dae9f2c6c595390423efb6</challenge>\r\n\r\ntx  <response>232a7eef82f2acc50d07460ae15868b3015f67de25d6feb8b6513bddad4145094b0c1da3f0a89dc39435f0f330480ca2aaeccb6b64a476f8fd5cb6402978e3a88f785025b2924cc7069f2b3927ba</response>\r\n\r\nrx  <success t=\"1462467109\" props=\"5\" kind=\"free\" status=\"active\" creation=\"1462434629\" expiration=\"4444444444\">54561b33e98d8c15d4e82c74e61be69fe960befb</success>\r\n\r\ntx  <presence name=\"testt\" type=\"available\"></presence>\r\n\r\ntx  <iq id=\"01\" xmlns=\"jabber:iq:privacy\" type=\"get\">\r\ntx    <query>\r\ntx      <list name=\"default\"></list>\r\ntx    </query>\r\ntx  </iq>\r\n\r\ntx  <iq id=\"02\" xmlns=\"urn:xmpp:whatsapp:push\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <config></config>\r\ntx  </iq>\r\n\r\nrx  <ib from=\"s.whatsapp.net\">\r\nrx    <offline count=\"0\"></offline>\r\nrx  </ib>\r\n\r\nrx  <presence from=\"316xxxxxx@s.whatsapp.net\"></presence>\r\n\r\nrx  <iq from=\"316xxxxxx@s.whatsapp.net\" type=\"error\" id=\"1\">\r\nrx    <error code=\"404\" text=\"item-not-found\"></error>\r\nrx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"02\">\r\nrx    <config platform=\"gcm\" id=\"6vfmg_3a8CC:APA91b660vTJwT1QrpCad5Ff42d4RGXwapxtIuMNk95UcRDTmK31DQh0IONDPfeUtpWWpY_2zuGy-wcgm6MJhO1rX_fuVxjD8tu_tw42BlKQ1MZ_D_4Hh8km3OGrVfvYABUKmlJozU7L\"></config>\r\nrx  </iq>\r\n\r\ntx  <iq id=\"03\" xmlns=\"w:p\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <ping></ping>\r\ntx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"03\" t=\"1462467171\"></iq>\r\n\r\ntx  <iq id=\"04\" xmlns=\"w:p\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <ping></ping>\r\ntx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"04\" t=\"1462467233\"></iq>\r\n\r\n\r\n\r\n\r\nThe time is 07:54:58pmlistening to: 316xxxxxx\r\ntx  <stream:features></stream:features>\r\n\r\ntx  <auth user=\"316xxxxxx\" mechanism=\"WAUTH-2\">0088e93f39373235323534373133333654561b33e98d8c15d4e82c74e61be69fe960befb31343632343637323938</auth>\r\n\r\nrx  <from s.whatsapp.net=\"\"></from>\r\n\r\nrx  <stream:features></stream:features>\r\n\r\nrx  <challenge>8f099784dea1e0d7a29c88fb460f1d9ca854e635</challenge>\r\n\r\ntx  <response>f5ae92db71f257743ab7626b850ac34d5bf491fcbdf65bed980aee18575b2f8e5ceb792dc1589ebc6d9681654b8b357b7c7f5be1d76a3b00421ddf4e0cbe6af83c4a726fb7eb13d410fd58f53a21</response>\r\n\r\nrx  <success t=\"1462467298\" props=\"5\" kind=\"free\" status=\"active\" creation=\"1462434629\" expiration=\"4444444444\">b46675a87354e6c9ed8f96b789dc686ab53982bc</success>\r\n\r\ntx  <presence name=\"testt\" type=\"available\"></presence>\r\n\r\ntx  <iq id=\"01\" xmlns=\"jabber:iq:privacy\" type=\"get\">\r\ntx    <query>\r\ntx      <list name=\"default\"></list>\r\ntx    </query>\r\ntx  </iq>\r\n\r\ntx  <iq id=\"02\" xmlns=\"urn:xmpp:whatsapp:push\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <config></config>\r\ntx  </iq>\r\n\r\nrx  <ib from=\"s.whatsapp.net\">\r\nrx    <offline count=\"0\"></offline>\r\nrx  </ib>\r\n\r\nrx  <presence from=\"316xxxxxx@s.whatsapp.net\"></presence>\r\n\r\nrx  <iq from=\"316xxxxxx@s.whatsapp.net\" type=\"error\" id=\"1\">\r\nrx    <error code=\"404\" text=\"item-not-found\"></error>\r\nrx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"02\">\r\nrx    <config platform=\"gcm\" id=\"6vfmg_3a8CC:APA91b660vTJwT1QrpCad5Ff42d4RGXwapxtIuMNk95UcRDTmK31DQh0IONDPfeUtpWWpY_2zuGy-wcgm6MJhO1rX_fuVxjD8tu_tw42BlKQ1MZ_D_4Hh8km3OGrVfvYABUKmlJozU7L\"></config>\r\nrx  </iq>\r\n\r\ntx  <iq id=\"03\" xmlns=\"w:p\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <ping></ping>\r\ntx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"03\" t=\"1462467360\"></iq>\r\n\r\ntx  <iq id=\"04\" xmlns=\"w:p\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <ping></ping>\r\ntx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"04\" t=\"1462467422\"></iq>\r\n\r\n\r\n\r\n\r\nThe time is 07:58:07pmlistening to: 316xxxxxx\r\ntx  <stream:features></stream:features>\r\n\r\ntx  <auth user=\"316xxxxxx\" mechanism=\"WAUTH-2\">fc5558e6393732353235343731333336b46675a87354e6c9ed8f96b789dc686ab53982bc31343632343637343837</auth>\r\n\r\nrx  <from s.whatsapp.net=\"\"></from>\r\n\r\nrx  <stream:features></stream:features>\r\n\r\nrx  <challenge>c31b5dcf0be89411cb3e955f2b1b98d584e3a35e</challenge>\r\n\r\ntx  <response>fa12642917ad1582bc0db91b3a1fa6353c26bb1f0a503e17b682722b9b9a5c6ce289a98442c157d47c29b57a1b939194badc070539aa8e22e44c8148963cdb1c080d3c930cfc9fd3aeec2b17bc81</response>\r\n\r\nrx  <success t=\"1462467487\" props=\"5\" kind=\"free\" status=\"active\" creation=\"1462434629\" expiration=\"4444444444\">9fd7eeb919b80556a6a70a28c537fd3767ee3667</success>\r\n\r\ntx  <presence name=\"testt\" type=\"available\"></presence>\r\n\r\ntx  <iq id=\"01\" xmlns=\"jabber:iq:privacy\" type=\"get\">\r\ntx    <query>\r\ntx      <list name=\"default\"></list>\r\ntx    </query>\r\ntx  </iq>\r\n\r\ntx  <iq id=\"02\" xmlns=\"urn:xmpp:whatsapp:push\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <config></config>\r\ntx  </iq>\r\n\r\nrx  <ib from=\"s.whatsapp.net\">\r\nrx    <offline count=\"0\"></offline>\r\nrx  </ib>\r\n\r\nrx  <presence from=\"316xxxxxx@s.whatsapp.net\"></presence>\r\n\r\nrx  <iq from=\"316xxxxxx@s.whatsapp.net\" type=\"error\" id=\"1\">\r\nrx    <error code=\"404\" text=\"item-not-found\"></error>\r\nrx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"02\">\r\nrx    <config platform=\"gcm\" id=\"6vfmg_3a8CC:APA91b660vTJwT1QrpCad5Ff42d4RGXwapxtIuMNk95UcRDTmK31DQh0IONDPfeUtpWWpY_2zuGy-wcgm6MJhO1rX_fuVxjD8tu_tw42BlKQ1MZ_D_4Hh8km3OGrVfvYABUKmlJozU7L\"></config>\r\nrx  </iq>\r\n\r\ntx  <iq id=\"03\" xmlns=\"w:p\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <ping></ping>\r\ntx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"03\" t=\"1462467549\"></iq>\r\n\r\ntx  <iq id=\"04\" xmlns=\"w:p\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <ping></ping>\r\ntx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"04\" t=\"1462467611\"></iq>\r\n\r\n\r\n\r\n\r\nThe time is 08:01:16pmlistening to: 316xxxxxx\r\ntx  <stream:features></stream:features>\r\n\r\ntx  <auth user=\"316xxxxxx\" mechanism=\"WAUTH-2\">80a387d53937323532353437313333369fd7eeb919b80556a6a70a28c537fd3767ee366731343632343637363736</auth>\r\n\r\nrx  <from s.whatsapp.net=\"\"></from>\r\n\r\nrx  <stream:features></stream:features>\r\n\r\nrx  <challenge>1c33ac0722b934036322ec5a085961799511daa8</challenge>\r\n\r\ntx  <response>c48dab72b98db1027541fda28ddc70807aef579b04d52eba5f963a75d92920d3632a5034503d60c6fd84d5080da2bf1d73951cdd7269a53ee5e1f188d7c1c120da410196d3a260b8e077e2435ab7</response>\r\n\r\nrx  <success t=\"1462467676\" props=\"5\" kind=\"free\" status=\"active\" creation=\"1462434629\" expiration=\"4444444444\">45f9e01ffc28294516b37c76c00100f07401613f</success>\r\n\r\ntx  <presence name=\"testt\" type=\"available\"></presence>\r\n\r\ntx  <iq id=\"01\" xmlns=\"jabber:iq:privacy\" type=\"get\">\r\ntx    <query>\r\ntx      <list name=\"default\"></list>\r\ntx    </query>\r\ntx  </iq>\r\n\r\ntx  <iq id=\"02\" xmlns=\"urn:xmpp:whatsapp:push\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <config></config>\r\ntx  </iq>\r\n\r\nrx  <ib from=\"s.whatsapp.net\">\r\nrx    <offline count=\"0\"></offline>\r\nrx  </ib>\r\n\r\nrx  <presence from=\"316xxxxxx@s.whatsapp.net\"></presence>\r\n\r\nrx  <iq from=\"316xxxxxx@s.whatsapp.net\" type=\"error\" id=\"1\">\r\nrx    <error code=\"404\" text=\"item-not-found\"></error>\r\nrx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"02\">\r\nrx    <config platform=\"gcm\" id=\"6vfmg_3a8CC:APA91b660vTJwT1QrpCad5Ff42d4RGXwapxtIuMNk95UcRDTmK31DQh0IONDPfeUtpWWpY_2zuGy-wcgm6MJhO1rX_fuVxjD8tu_tw42BlKQ1MZ_D_4Hh8km3OGrVfvYABUKmlJozU7L\"></config>\r\nrx  </iq>\r\n\r\ntx  <iq id=\"03\" xmlns=\"w:p\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <ping></ping>\r\ntx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"03\" t=\"1462467738\"></iq>\r\n\r\ntx  <iq id=\"04\" xmlns=\"w:p\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <ping></ping>\r\ntx  </iq>\r\n\r\nrx  <iq from=\"s.whatsapp.net\" type=\"result\" id=\"04\" t=\"1462467800\"></iq>\r\n\r\n\r\n\r\n\r\nThe time is 08:04:25pmlistening to: 316xxxxxx\r\ntx  <stream:features></stream:features>\r\n\r\ntx  <auth user=\"316xxxxxx\" mechanism=\"WAUTH-2\">2bacc93839373235323534373133333645f9e01ffc28294516b37c76c00100f07401613f31343632343637383635</auth>\r\n\r\nrx  <from s.whatsapp.net=\"\"></from>\r\n\r\nrx  <stream:features></stream:features>\r\n\r\nrx  <challenge>d46897105260b0c8245ca8b52ebb05c9ada1130f</challenge>\r\n\r\ntx  <response>b26b0a15140d9a993e13877d23740cbc10980054704a4152c39b40b992aa38fd896345cd9d25127c6f4d622ff8a83b309ce10f35b5211599e5dd910134336aab153b90b292afbd27de640bfa7260</response>\r\n\r\nrx  <failure>\r\nrx    <not-authorized></not-authorized>\r\nrx  </failure>\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/mgp25/Chat-API/issues/comments/217388787","html_url":"https://github.com/mgp25/Chat-API/issues/1892#issuecomment-217388787","issue_url":"https://api.github.com/repos/mgp25/Chat-API/issues/1892","id":217388787,"user":{"login":"simonejan","id":18734593,"avatar_url":"https://avatars.githubusercontent.com/u/18734593?v=3","gravatar_id":"","url":"https://api.github.com/users/simonejan","html_url":"https://github.com/simonejan","followers_url":"https://api.github.com/users/simonejan/followers","following_url":"https://api.github.com/users/simonejan/following{/other_user}","gists_url":"https://api.github.com/users/simonejan/gists{/gist_id}","starred_url":"https://api.github.com/users/simonejan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonejan/subscriptions","organizations_url":"https://api.github.com/users/simonejan/orgs","repos_url":"https://api.github.com/users/simonejan/repos","events_url":"https://api.github.com/users/simonejan/events{/privacy}","received_events_url":"https://api.github.com/users/simonejan/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T08:54:47Z","updated_at":"2016-05-06T08:54:47Z","body":"You are right sorry for my question, you did your part and we thank you for that, its a great tool!! Its all there in black and white so people indeed should do a little bit homework and just follow your steps no questions asked. But the problem is with newbie that don't know this stuff. From experience I can say to people \"read the manual\" if its not clear just quit and leave the guy alone..... Have a nice weekend everyone."}}