Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with http secure #5

Open
osferfer opened this issue Nov 15, 2011 · 3 comments
Open

Problem with http secure #5

osferfer opened this issue Nov 15, 2011 · 3 comments

Comments

@osferfer
Copy link

In file "easywebsocket.min.js" it has been configured the websocket server

->EasyWebSocket.serverUrl = "http://88.191.76.230:8950";

but if your aplication it´s running in a secure context (https) , socket.io can´t establish a connection.

@jeromeetienne
Copy link
Owner

hmm ok. first thanks for the report. i dont understand the matter. i have a fews question

  • can you explain why to me ?
  • does this require me to have an https certificate ?

ps: you can override this value before you start using easywebsocket, dunno if it helps

@osferfer
Copy link
Author

Ok, Ill try to explain it as good as posible.

My aplication is running by https so when a new EasyWebSocket is created,
the javascript code in file easywebsocket make http request :

GET https://88.191.76.230:8950/socket.io/1/?t=1321357125228&jsonp=0

And the server doesnt send response.

Thanks .

@jeromeetienne
Copy link
Owner

yep this server doesnt support https. https is hard to deploy and it is
costy to get a certificate. you can deploy https on your own server tho.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants