Closed awenger closed 8 years ago
@awenger thanks for the report. At this time, this is not configurable, but it certainly should be. I'm currently in the middle of rewriting Hedwig so I won't be able to address this right now.
Happy to hear that this will be supported in a future version. Thanks for the lib. For the time being manually replacing :gen_tcp
with :ssl
is a manageable workaround for me.
Excellent. I am currently working to make Hedwig more generic (adapter based). The first adapter will be XMPP of course :)
I would love some feedback once it's ready. On Sun, Dec 6, 2015 at 20:47 awenger notifications@github.com wrote:
Happy to hear that this will be supported in a future version. Thanks for the lib. For the time being manually replacing :gen_tcp with :ssl is a manageable workaround for me.
— Reply to this email directly or view it on GitHub https://github.com/hedwig-im/hedwig/issues/23#issuecomment-162341306.
@awenger thanks again for the report! I've created an issue on scrogson/romeo#2 to address it.
I'm trying to connect to the GCM XMPP Connection Server [1] with Hedwig. They require a TLS connection and don't support STARTTLS [2]. I tried different combinations in the config but it won't connect.
However, if I replace
:gen_tcp
with:ssl
in theHedwig.Transports.TCP
module the connection is established without errors. Is there some settings to force such behavior in the config?[1] https://developers.google.com/cloud-messaging/xmpp-server-ref [2] https://developers.google.com/cloud-messaging/ccs