Why does my wss:// (WebSockets over SSL/TLS) connection immediately disconnect without giving any errors?

前端 未结 3 427
情书的邮戳
情书的邮戳 2020-12-01 07:45

Posting this for anybody else running across the same problem.

I was working on a browser client that used stanza.io to connect to an XMPP server (Prosody, in my cas

3条回答
  •  隐瞒了意图╮
    2020-12-01 08:19

    This is what I did and it worked:

    1 - Generate self signed certificate

    2 - Create an https websockets server this way

提交回复
热议问题