problems with Ratchet websoket server

Alles, was den Apache betrifft, kann hier besprochen werden.

problems with Ratchet websoket server

Postby maximkav » 07. March 2016 21:24

Hello, everybody!

I have some problems with Ratchet websoket server when I'm trying to use it with web application when I turn SSL on.
I tried to use Apache mod_proxy_wstunnel.so and stunnel both, but it has no result.
Maybe I did something wrong, but my Ratchet still don't work with JavaScript client over SSL. When I turn SSL off, everything works perfectly.

Due to my task, I must use SSL in my project. Please, help me to find working solution!
Apache 2.4.12
Red Hat Linux Server 6.5

Here is apache my mod_proxy_wstunnel.so configs:

Code: Select all
<VirtualHost *:443>
SSLEngine         on
ServerName mydomain.com
SSLProxyEngine on
ProxyRequests Off
ProxyPass "/ws/"  "ws://mydomain.com:8098"
ProxyPass "/wss/"  "wss://mydomain.com:8098"
...
</VirtualHost>


Here is my stunnel configs (I used it separately with mod_proxy_wstunnel.so):

Code: Select all
[websockets]
accept = 443
connect = 8098


Regards, Max.
maximkav
 
Posts: 1
Joined: 07. March 2016 21:20
Operating System: RHL

Return to Apache

Who is online

Users browsing this forum: No registered users and 15 guests