Closed asennoussi closed 10 years ago
I'm running it on nginx if that can add anything
You wrote: var myClank = Clank.connect("wss://domain.com:8080"); // I use SSL
Should'nt it be: var myClank = Clank.connect("ws://domain.com:8080"); // I use SSL ?
ws:// instead of wss://
Hey! No, it's wss for secured connection, it won't work on Firefox otherwise. You can do it via proxy
Maybe your proxy don't accept websockets. Try without proxy
I don't know if you're asking or trying to solve the problem. Because I solved the problem by using a proxy on nginx. and this issue can be closed
Hi @Sshuichi , do you know how to do this same thing but with apache2? Thanks a lot!
This mod should answer your need : https://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html
Thans a lot, I'll do that.
It work's! Thanks a lot.
I'm using clank bundle and I want to test if socket server is running without problem I have set the configuration as follow :
the port 8080 is open and tested after adding the two js files :
autobahn.min.js
andclank.js
I do the following :note that the server is already running with the command :
the problem is I can't get the success message in my console.. When I stop clank server , it outputs the failure message. I don't know what's happening please help me ..