Re: [SR-Users] Websocket TLS Issue

2017-02-03 Thread Daniel-Constantin Mierla
Hello, can you try with debug=3 in kamailio.cfg, there should be more logs that can provide hints on what happens. Also, what are your settings for tls module? Do you require a specific TLS version? Cheers, Daniel On 02/02/2017 18:39, Jade SZ wrote: > Hi Guys, > > I am trying to setup the foll

Re: [SR-Users] Websocket TLS Issue

2017-02-02 Thread Jade SZ
Hi Guys, Thanks for replying. @Ludovic: Are you referring to this: Browser >> WSS >> HA Proxy >>> *WS* >> Kamailio ? I am trying to have minimum translation between HAproxy and Kamailio so keeping it same. Just want it work then can decide on above. @Gonzalo: Using public certs. When used only

Re: [SR-Users] Websocket TLS Issue

2017-02-02 Thread Gonzalo Gasca Meza
Are you using self-signed certs? or public certs signed by public CA. On Thu, Feb 2, 2017 at 1:34 PM, Ludovic Gasc wrote: > Hi, > > It might be a stupid question, but why you don't have WebSockets without > TLS between HAProxy and Kamailio ? > I've a similar setup to enable us to have on the sam

Re: [SR-Users] Websocket TLS Issue

2017-02-02 Thread Ludovic Gasc
Hi, It might be a stupid question, but why you don't have WebSockets without TLS between HAProxy and Kamailio ? I've a similar setup to enable us to have on the same 443 port regular Web server and SIP WebSockets, for now, it works pretty well. -- Ludovic Gasc (GMLudo) Lead Developer Architect at

[SR-Users] Websocket TLS Issue

2017-02-02 Thread Jade SZ
Hi Guys, I am trying to setup the following flow: Browser >> WSS >> HA Proxy >>> WSS >> Kamailio But getting TLS errors in Kamailio logs: *[29634]: ERROR: [tcp_read.c:1321]: tcp_read_req(): ERROR: tcp_read_req: error reading - c: 0x7f68ebe872b0 r: 0x7f68ebe87330* *[29631]: ERROR: tls [tls_util.