{"action":"created","issue":{"url":"https://api.github.com/repos/tomer8007/kik-bot-api-unofficial/issues/92","repository_url":"https://api.github.com/repos/tomer8007/kik-bot-api-unofficial","labels_url":"https://api.github.com/repos/tomer8007/kik-bot-api-unofficial/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/tomer8007/kik-bot-api-unofficial/issues/92/comments","events_url":"https://api.github.com/repos/tomer8007/kik-bot-api-unofficial/issues/92/events","html_url":"https://github.com/tomer8007/kik-bot-api-unofficial/issues/92","id":389474764,"node_id":"MDU6SXNzdWUzODk0NzQ3NjQ=","number":92,"title":"Main Loop Ended","user":{"login":"xorist","id":42919907,"node_id":"MDQ6VXNlcjQyOTE5OTA3","avatar_url":"https://avatars3.githubusercontent.com/u/42919907?v=4","gravatar_id":"","url":"https://api.github.com/users/xorist","html_url":"https://github.com/xorist","followers_url":"https://api.github.com/users/xorist/followers","following_url":"https://api.github.com/users/xorist/following{/other_user}","gists_url":"https://api.github.com/users/xorist/gists{/gist_id}","starred_url":"https://api.github.com/users/xorist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xorist/subscriptions","organizations_url":"https://api.github.com/users/xorist/orgs","repos_url":"https://api.github.com/users/xorist/repos","events_url":"https://api.github.com/users/xorist/events{/privacy}","received_events_url":"https://api.github.com/users/xorist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-10T20:33:14Z","updated_at":"2018-12-11T21:03:05Z","closed_at":null,"author_association":"NONE","body":"After about a full 24 hour day of operation, the bot I was running decided to suddenly end the main loop and I'm not sure what caused it. Here is the final snippet of the debug log below.\r\n\r\n```\r\n[2018-12-10 11:54:20,022] DEBUG  (thread Kik Connection): [+] Received raw data: b'<message xmlns=\"jabber:client\" type=\"groupchat\" id=\"c0dcbd45-42c6-436f-8847-b49e8b000029\" from=\"1100213405703_g@groups.kik.com\" to=\"aleksei2.0_tm2@talk.kik.com\"><kik qos=\"true\" app=\"all\" timestamp=\"1544460862882\" hop=\"true\" push=\"false\"/><request xmlns=\"kik:message:receipt\" r=\"false\" d=\"false\"/><roster/><g jid=\"1100213405703_g@groups.kik.com\"/><status jid=\"6illkpmigjgwwpjf25iw5sqprw5vmtfu2yodtndakqeuxrtkculq_a@talk.kik.com\">\\xd0\\x9c\\xd0\\xb5llo \\xf0\\x9f\\x91\\xbd-already stressed, don\\xe2\\x80\\x99t piss me off has removed Devil \\xf0\\x9f\\x98\\x88 from this group</status></message>'\r\n[2018-12-10 11:54:20,024] DEBUG  (thread Kik Connection): [+] Sending raw data: b'<iq type=\"set\" id=\"98b81134-31a4-4f09-a526-3282b557948c\"><query xmlns=\"kik:groups:admin\"><g jid=\"1100213405703_g@groups.kik.com\"><n>Join #RussianLearners</n></g></query></iq>'\r\n[2018-12-10 11:54:20,040] DEBUG  (thread Kik Connection): [+] Received raw data: b'<ack id=\"98b81134-31a4-4f09-a526-3282b557948c\"/>'\r\n[2018-12-10 11:54:20,252] DEBUG  (thread Kik Connection): [+] Received raw data: b'<iq type=\"result\" id=\"98b81134-31a4-4f09-a526-3282b557948c\" to=\"aleksei2.0_tm2@talk.kik.com/CAN62030843678b7376a707ca3d11e87837\"><query xmlns=\"kik:groups:admin\"><g jid=\"1100213405703_g@groups.kik.com\"><n>Join #RussianLearners</n></g></query></iq>'\r\n[2018-12-10 11:54:20,253] WARNING (thread Kik Connection): [-] Received unknown xml namespace: 'kik:groups:admin', ignoring (to see full data, enable debug logs)\r\n[2018-12-10 11:54:20,307] DEBUG  (thread Kik Connection): [+] Received raw data: b'<message type=\"groupchat\" id=\"f32c157c-deeb-46b4-871e-a482c7b47a64\" from=\"1100213405703_g@groups.kik.com\" to=\"aleksei2.0_tm2@talk.kik.com\"><kik qos=\"true\" app=\"all\" timestamp=\"1544460863115\" push=\"false\"/><request xmlns=\"kik:message:receipt\" r=\"false\" d=\"false\"/><roster/><g jid=\"1100213405703_g@groups.kik.com\"/><sysmsg xmlns=\"kik:msg:info\">You have changed the group name to Join #RussianLearners</sysmsg></message>'\r\n[2018-12-10 12:24:05,016] DEBUG  (thread Kik Connection): [+] Received raw data: b'</k>'\r\n[2018-12-10 12:24:05,017] DEBUG  (thread Kik Connection): [!] Main loop ended.\r\n```"},"comment":{"url":"https://api.github.com/repos/tomer8007/kik-bot-api-unofficial/issues/comments/446360713","html_url":"https://github.com/tomer8007/kik-bot-api-unofficial/issues/92#issuecomment-446360713","issue_url":"https://api.github.com/repos/tomer8007/kik-bot-api-unofficial/issues/92","id":446360713,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjM2MDcxMw==","user":{"login":"xorist","id":42919907,"node_id":"MDQ6VXNlcjQyOTE5OTA3","avatar_url":"https://avatars3.githubusercontent.com/u/42919907?v=4","gravatar_id":"","url":"https://api.github.com/users/xorist","html_url":"https://github.com/xorist","followers_url":"https://api.github.com/users/xorist/followers","following_url":"https://api.github.com/users/xorist/following{/other_user}","gists_url":"https://api.github.com/users/xorist/gists{/gist_id}","starred_url":"https://api.github.com/users/xorist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xorist/subscriptions","organizations_url":"https://api.github.com/users/xorist/orgs","repos_url":"https://api.github.com/users/xorist/repos","events_url":"https://api.github.com/users/xorist/events{/privacy}","received_events_url":"https://api.github.com/users/xorist/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T21:03:05Z","updated_at":"2018-12-11T21:03:05Z","author_association":"NONE","body":"I believe I've successfully created a callback for when the main loop ends. I'm hoping this can be used with a client controller for whenever a developer chooses to catch it and try to make their bot reconnect instead of just dying."}}
{"actor":{"display_login":"xorist"}}