{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/1892","repository_url":"https://api.github.com/repos/processone/ejabberd","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/1892/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/1892/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/1892/events","html_url":"https://github.com/processone/ejabberd/issues/1892","id":246296110,"number":1892,"title":"ejabberd 17.07 Hook c2s_copy_session crashed when running mod_privacy:c2s_copy_session","user":{"login":"moJ090","id":25964026,"avatar_url":"https://avatars0.githubusercontent.com/u/25964026?v=4","gravatar_id":"","url":"https://api.github.com/users/moJ090","html_url":"https://github.com/moJ090","followers_url":"https://api.github.com/users/moJ090/followers","following_url":"https://api.github.com/users/moJ090/following{/other_user}","gists_url":"https://api.github.com/users/moJ090/gists{/gist_id}","starred_url":"https://api.github.com/users/moJ090/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moJ090/subscriptions","organizations_url":"https://api.github.com/users/moJ090/orgs","repos_url":"https://api.github.com/users/moJ090/repos","events_url":"https://api.github.com/users/moJ090/events{/privacy}","received_events_url":"https://api.github.com/users/moJ090/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-28T09:33:40Z","updated_at":"2017-07-28T09:55:17Z","closed_at":"2017-07-28T09:55:17Z","body":"> What version of ejabberd are you using?\r\n\r\n17.07\r\n\r\n\r\n> What operating system (version) are you using?\r\n\r\nCentos 7.3\r\n\r\n> How did you install ejabberd (source, package, distribution)?\r\n\r\nrpm \r\n\r\n> What did not work as expected? Are there error messages in the log? What\r\n> was the unexpected behavior? What was the expected result?\r\n\r\nI dont know why Iam getting this errors. Can you help me?\r\n\r\n\r\n```\r\n[error] <0.584.0>@ejabberd_hooks:safe_apply:383 Hook c2s_copy_session crashed when running mod_privacy:c2s_copy_session/2:\r\n** Reason = {error,function_clause,[{mod_privacy,c2s_copy_session,[{file,\"src/mod_privacy.erl\"},{line,414}],[#{mod => ejabberd_c2s,conn => c2s_tls,mgmt_resend => false,socket_monitor => #Ref<0.0.1.4862>,stream_encrypted => true,stream_id => <<\"11826324493439784451\">>,lserver => <<\"example.com\">>,mgmt_queue_type => ram,socket => {socket_state,fast_tls,{tlssock,#Port<0.21076>,<<>>},<0.583.0>},auth_module => ejabberd_auth_mnesia,mgmt_stanzas_in => 0,tls_options => [compression_none,{ciphers,<<\"ECDH:DH:!3DES:!aNULL:!eNULL:!MEDIUM@STRENGTH\">>},{dhfile,<<\"/opt/ejabberd-17.07/conf/dhparams.pem\">>},{protocol_options,<<\"no_sslv3|no_tlsv1|cipher_server_preference|no_compression\">>},{certfile,<<\"/opt/ejabberd-17.07/conf/server.pem\">>}],mgmt_ack_timeout => 60000,mgmt_max_timeout => 300,tls_verify => false,sid => {{1501,230170,1},<0.584.0>},jid => {jid,<<\"exampleuser\">>,<<\"example.com\">>,<<\"mobile\">>,<<\"exampleuser\">>,<<\"example.com\">>,<<\"mobile\">>},stream_authenticated => true,user => <<\"exampleuser\">>,stream_timeout => {30000,-576459210313},mgmt_max_queue => 1000,lang => <<\"en\">>,csi_state => active,ip => {{0,0,0,0,0,65535,21105,25424},38523},tls_enabled => true,pres_a => {1,{{<<\"f7kfd38icpt\">>,<<\"conference.example.com\">>,<<\"exampleuser\">>},nil,nil}},pres_timestamp => {1501,231414,873343},stream_compressed => false,csi_queue => {4,#{{{<<\"exampleuser\">>,<<\"example.com\">>,<<\"mobile\">>},presence} => {{4,{1501,231414,873664}},{presence,<<>>,available,<<\"en\">>,{jid,<<\"exampleuser\">>,<<\"example.com\">>,<<\"mobile\">>,<<\"exampleuser\">>,<<\"example.com\">>,<<\"mobile\">>},{jid,<<\"exampleuser\">>,<<\"example.com\">>,<<\"mobile\">>,<<\"exampleuser\">>,<<\"example.com\">>,<<\"mobile\">>},undefined,[],undefined,[{xmlel,<<\"c\">>,[{<<\"xmlns\">>,<<\"http://jabber.org/protocol/caps\">>},{<<\"ver\">>,<<\"IEVmk80YcxrC26oK20fBKhyGaZA=\">>},{<<\"node\">>,<<\"http://conversations.im\">>},{<<\"hash\">>,<<\"sha-1\">>}],[]},{xmlel,<<\"idle\">>,[{<<\"xmlns\">>,<<\"urn:xmpp:idle:1\">>},{<<\"since\">>,<<\"2017-07-28T08:42:14.439Z\">>}],[]}],#{ip => {0,0,0,0,0,65535,22400,...}}}}}},...},...]},...]}\r\n```\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/processone/ejabberd/issues/comments/318611938","html_url":"https://github.com/processone/ejabberd/issues/1892#issuecomment-318611938","issue_url":"https://api.github.com/repos/processone/ejabberd/issues/1892","id":318611938,"user":{"login":"zinid","id":1095902,"avatar_url":"https://avatars3.githubusercontent.com/u/1095902?v=4","gravatar_id":"","url":"https://api.github.com/users/zinid","html_url":"https://github.com/zinid","followers_url":"https://api.github.com/users/zinid/followers","following_url":"https://api.github.com/users/zinid/following{/other_user}","gists_url":"https://api.github.com/users/zinid/gists{/gist_id}","starred_url":"https://api.github.com/users/zinid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinid/subscriptions","organizations_url":"https://api.github.com/users/zinid/orgs","repos_url":"https://api.github.com/users/zinid/repos","events_url":"https://api.github.com/users/zinid/events{/privacy}","received_events_url":"https://api.github.com/users/zinid/received_events","type":"User","site_admin":false},"created_at":"2017-07-28T09:55:17Z","updated_at":"2017-07-28T09:55:17Z","body":"Duplicate of #1842 "}}
{"actor":{"display_login":"zinid"}}