{"action":"created","issue":{"url":"https://api.github.com/repos/ChatSecure/ChatSecure-iOS/issues/707","repository_url":"https://api.github.com/repos/ChatSecure/ChatSecure-iOS","labels_url":"https://api.github.com/repos/ChatSecure/ChatSecure-iOS/issues/707/labels{/name}","comments_url":"https://api.github.com/repos/ChatSecure/ChatSecure-iOS/issues/707/comments","events_url":"https://api.github.com/repos/ChatSecure/ChatSecure-iOS/issues/707/events","html_url":"https://github.com/ChatSecure/ChatSecure-iOS/issues/707","id":210864291,"number":707,"title":"Session PID Problem","user":{"login":"beritt","id":26038266,"avatar_url":"https://avatars3.githubusercontent.com/u/26038266?v=3","gravatar_id":"","url":"https://api.github.com/users/beritt","html_url":"https://github.com/beritt","followers_url":"https://api.github.com/users/beritt/followers","following_url":"https://api.github.com/users/beritt/following{/other_user}","gists_url":"https://api.github.com/users/beritt/gists{/gist_id}","starred_url":"https://api.github.com/users/beritt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beritt/subscriptions","organizations_url":"https://api.github.com/users/beritt/orgs","repos_url":"https://api.github.com/users/beritt/repos","events_url":"https://api.github.com/users/beritt/events{/privacy}","received_events_url":"https://api.github.com/users/beritt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-28T18:04:37Z","updated_at":"2017-03-04T16:32:07Z","closed_at":null,"body":"Hello,\r\nI am an XMPP newbie running a server at home (ejabberd 17.01). With chatsecure I have a small issue, which is probably client-related as conversations works flawlessly.\r\n\r\nSee the following error message (not the debug loglevel):\r\n\r\n`2017-02-24 14:27:32.106 [info] <0.499.0>@ejabberd_listener:accept:333 (#Port<0.21243>) Accepted connection xxx -> xxx:5222\r\n2017-02-24 14:27:32.688 [info] <0.2775.0>@ejabberd_c2s:wait_for_sasl_response:942 ({socket_state,fast_tls,{tlssock,#Port<0.21243>,#Port<0.21244>},<0.2774.0>}) Accepted authentication for xxx by undefined from xxx\r\n2017-02-24 14:27:32.780 [info] <0.2775.0>@ejabberd_c2s:handle_resume:2886 Cannot resume session for xxx: Previous session PID not found\r\n2017-02-24 14:27:32.827 [info] <0.2775.0>@ejabberd_c2s:open_session:1153 ({socket_state,fast_tls,{tlssock,#Port<0.21243>,#Port<0.21244>},<0.2774.0>}) Opened session for xxx/chatsecure67751\r\n2017-02-24 14:27:32.964 [info] <0.2775.0>@ejabberd_c2s:handle_enable:2786 Stream management with resumption enabled for fxxx/chatsecure67751\r\n2017-02-24 14:27:32.964 [info] <0.495.0>@mod_carboncopy:iq_handler:102 carbons enabled for user xxx\r\n2017-02-24 14:27:33.672 [info] <0.2775.0>@ejabberd_c2s:terminate:1851 ({socket_state,fast_tls,{tlssock,#Port<0.21243>,#Port<0.21244>},<0.2774.0>}) Close session for xxx/chatsecure67751\r\n2017-02-24 14:27:34.125 [info] <0.499.0>@ejabberd_listener:accept:333 (#Port<0.21245>) Accepted connection xxx:58413 -> xxx:5222\r\n2017-02-24 14:27:34.707 [info] <0.2780.0>@ejabberd_c2s:wait_for_sasl_response:942 ({socket_state,fast_tls,{tlssock,#Port<0.21245>,#Port<0.21246>},<0.2779.0>}) Accepted authentication for xxx by undefined from xxxx\r\n2017-02-24 14:27:34.824 [info] <0.2780.0>@ejabberd_c2s:handle_resume:2886 Cannot resume session for xxx@xxx: Previous session PID not found\r\n2017-02-24 14:27:34.874 [info] <0.2780.0>@ejabberd_c2s:open_session:1153 ({socket_state,fast_tls,{tlssock,#Port<0.21245>,#Port<0.21246>},<0.2779.0>}) Opened session for xxx/chatsecure67751\r\n2017-02-24 14:27:34.987 [info] <0.495.0>@mod_carboncopy:iq_handler:102 carbons enabled for user xxxx/chatsecure67751\r\n2017-02-24 14:27:34.987 [info] <0.2780.0>@ejabberd_c2s:handle_enable:2786 Stream management with resumption enabled for xxx/chatsecure67751\r\n2017-02-24 14:27:35.577 [info] <0.2780.0>@ejabberd_c2s:terminate:1851 ({socket_state,fast_tls,{tlssock,#Port<0.21245>,#Port<0.21246>},<0.2779.0>}) Close session for xxx/chatsecure67751`\r\n\r\nAnd this goes on an on for forever (and quite frequently).\r\n\r\nTo me it looks like the sign in process works good. However, the session is directly terminated after it is opened and for the next sign in process a wrong session PID is presented (or the server has trouble remembering it)- anyways that is only my interpretation and I am really new to that.\r\n\r\nSo any help is strongly appreciated and that would be very nice :) Tell me if you need a more detailed debug log.\r\n\r\nP.S.: Great that you are doing this, XMPP/OMEMO an iphone is very important I would say!"},"comment":{"url":"https://api.github.com/repos/ChatSecure/ChatSecure-iOS/issues/comments/284162659","html_url":"https://github.com/ChatSecure/ChatSecure-iOS/issues/707#issuecomment-284162659","issue_url":"https://api.github.com/repos/ChatSecure/ChatSecure-iOS/issues/707","id":284162659,"user":{"login":"chrisballinger","id":518687,"avatar_url":"https://avatars1.githubusercontent.com/u/518687?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisballinger","html_url":"https://github.com/chrisballinger","followers_url":"https://api.github.com/users/chrisballinger/followers","following_url":"https://api.github.com/users/chrisballinger/following{/other_user}","gists_url":"https://api.github.com/users/chrisballinger/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisballinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisballinger/subscriptions","organizations_url":"https://api.github.com/users/chrisballinger/orgs","repos_url":"https://api.github.com/users/chrisballinger/repos","events_url":"https://api.github.com/users/chrisballinger/events{/privacy}","received_events_url":"https://api.github.com/users/chrisballinger/received_events","type":"User","site_admin":false},"created_at":"2017-03-04T16:32:07Z","updated_at":"2017-03-04T16:32:07Z","body":"There are other users running ejabberd without issue, so I'm guessing either there's something with 17.0.1 or the 0198 extension."}}
{"actor":{"display_login":"chrisballinger"}}