{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/1060","repository_url":"https://api.github.com/repos/processone/ejabberd","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/1060/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/1060/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/1060/events","html_url":"https://github.com/processone/ejabberd/issues/1060","id":146770913,"number":1060,"title":"Subprocess crash when trying to use a SSL/TLS connection","user":{"login":"e-t-h-a-n","id":16525367,"avatar_url":"https://avatars.githubusercontent.com/u/16525367?v=3","gravatar_id":"","url":"https://api.github.com/users/e-t-h-a-n","html_url":"https://github.com/e-t-h-a-n","followers_url":"https://api.github.com/users/e-t-h-a-n/followers","following_url":"https://api.github.com/users/e-t-h-a-n/following{/other_user}","gists_url":"https://api.github.com/users/e-t-h-a-n/gists{/gist_id}","starred_url":"https://api.github.com/users/e-t-h-a-n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-t-h-a-n/subscriptions","organizations_url":"https://api.github.com/users/e-t-h-a-n/orgs","repos_url":"https://api.github.com/users/e-t-h-a-n/repos","events_url":"https://api.github.com/users/e-t-h-a-n/events{/privacy}","received_events_url":"https://api.github.com/users/e-t-h-a-n/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processone/ejabberd/labels/Component:Build","name":"Component:Build","color":"bfdadc"},{"url":"https://api.github.com/repos/processone/ejabberd/labels/Note:Cannot%20reproduce","name":"Note:Cannot reproduce","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"prefiks","id":61998,"avatar_url":"https://avatars.githubusercontent.com/u/61998?v=3","gravatar_id":"","url":"https://api.github.com/users/prefiks","html_url":"https://github.com/prefiks","followers_url":"https://api.github.com/users/prefiks/followers","following_url":"https://api.github.com/users/prefiks/following{/other_user}","gists_url":"https://api.github.com/users/prefiks/gists{/gist_id}","starred_url":"https://api.github.com/users/prefiks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prefiks/subscriptions","organizations_url":"https://api.github.com/users/prefiks/orgs","repos_url":"https://api.github.com/users/prefiks/repos","events_url":"https://api.github.com/users/prefiks/events{/privacy}","received_events_url":"https://api.github.com/users/prefiks/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/processone/ejabberd/milestones/15","html_url":"https://github.com/processone/ejabberd/milestones/ejabberd%2016.04","labels_url":"https://api.github.com/repos/processone/ejabberd/milestones/15/labels","id":1663616,"number":15,"title":"ejabberd 16.04","description":null,"creator":{"login":"mremond","id":86736,"avatar_url":"https://avatars.githubusercontent.com/u/86736?v=3","gravatar_id":"","url":"https://api.github.com/users/mremond","html_url":"https://github.com/mremond","followers_url":"https://api.github.com/users/mremond/followers","following_url":"https://api.github.com/users/mremond/following{/other_user}","gists_url":"https://api.github.com/users/mremond/gists{/gist_id}","starred_url":"https://api.github.com/users/mremond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mremond/subscriptions","organizations_url":"https://api.github.com/users/mremond/orgs","repos_url":"https://api.github.com/users/mremond/repos","events_url":"https://api.github.com/users/mremond/events{/privacy}","received_events_url":"https://api.github.com/users/mremond/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":9,"state":"open","created_at":"2016-03-24T10:20:39Z","updated_at":"2016-04-08T16:09:58Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2016-04-07T23:30:43Z","updated_at":"2016-04-09T19:03:53Z","closed_at":null,"body":"> What version of ejabberd are you using?\r\n\r\n16.03\r\n\r\n> What operating system (version) are you using?\r\n\r\nMac OS X 10.11.4\r\n\r\n> How did you install ejabberd (source, package, distribution)?\r\n\r\nSource\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\nWhen I run `openssl s_client -connect localhost:5222 -starttls xmpp` to check wether or not my ejabberd server has support for TLSv1.1 and upwards the connection hangs and the subprocess dies. The log says this:\r\n\r\n    CRASH REPORT Process <0.599.0> with 0 neighbours exited with reason: no function clause matching ejabberd_c2s:'-init/1-lc$^0/1-0-'(<<>>) line 286 in p1_fsm:init_it/6 line 392\r\n\r\nI configured ejabberd with:\r\n\r\n    ./configure --enable-tools --enable-mysql --enable-pgsql --enable-sqlite --enable-pam --enable-zlib --enable-riak --enable-redis --enable-elixir --enable-iconv --disable-debug CFLAGS=\"-I/usr/local/ssl/include -I/usr/local/include\" LDFLAGS=\"-L/usr/local/ssl/lib -L/usr/local/lib\"\r\n\r\nand built with `make`. Thanks in advance for any help."},"comment":{"url":"https://api.github.com/repos/processone/ejabberd/issues/comments/207835369","html_url":"https://github.com/processone/ejabberd/issues/1060#issuecomment-207835369","issue_url":"https://api.github.com/repos/processone/ejabberd/issues/1060","id":207835369,"user":{"login":"e-t-h-a-n","id":16525367,"avatar_url":"https://avatars.githubusercontent.com/u/16525367?v=3","gravatar_id":"","url":"https://api.github.com/users/e-t-h-a-n","html_url":"https://github.com/e-t-h-a-n","followers_url":"https://api.github.com/users/e-t-h-a-n/followers","following_url":"https://api.github.com/users/e-t-h-a-n/following{/other_user}","gists_url":"https://api.github.com/users/e-t-h-a-n/gists{/gist_id}","starred_url":"https://api.github.com/users/e-t-h-a-n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-t-h-a-n/subscriptions","organizations_url":"https://api.github.com/users/e-t-h-a-n/orgs","repos_url":"https://api.github.com/users/e-t-h-a-n/repos","events_url":"https://api.github.com/users/e-t-h-a-n/events{/privacy}","received_events_url":"https://api.github.com/users/e-t-h-a-n/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T19:03:53Z","updated_at":"2016-04-09T19:03:53Z","body":"I think this has to be an `OpenSSL` issue, downgrading to `ejabberd-16.01` didn't work (painful process anyway, it kept using system `libiconv` headers from `/usr` and my `libiconv` in `/usr/local/lib`), it still crashes. Hopefully this is a known issue with `OpenSSL 1.0.2g` and/or it'll be fixed in time for `OpenSSL 1.1.0`."}}