ghedipunk / PHP-Websockets

A Websockets server written in PHP.
BSD 3-Clause "New" or "Revised" License
913 stars 376 forks source link

Secure websocket - Internet Explorer #12

Closed shockalotti closed 9 years ago

shockalotti commented 9 years ago

Hi there,

We've developed a Facebook application that needs secure websockets.

We're using Nginx as a reverse proxy which takes incoming secure websocket connections and routes them internally as non-secure.

Your PHP-Websockets library really works well with Chrome and Firefox but not at all with Internet Explorer.

Just wondering if you know of a way to make Internet Explorer accept secure websocket connections under this configuration?

Thanks Wynne

blondie101010 commented 9 years ago

Does your Internet Explorer version fully support Websockets?

shockalotti commented 9 years ago

I'm using the latest IE 11.

blondie101010 commented 9 years ago

If you try the following test, does it work?

http://www.websocket.org/echo.html

ghedipunk commented 9 years ago

If you're using Nginx as a reverse proxy, then the direct client to your end Websockets server is Nginx, not the user's web browser.

Is it possible that your version of IE and Nginx are what are conflicting?

Also note that there is no support for secure Websockets implementations built into this server, nor do I currently intend to add TLS support, due to the very limited support for TLS in PHP and the current limitation of every connection sharing the same process.

The first place that I'd look is the Nginx logs. You could also try running the websockets server in interactive mode to see if you see any errors while attempting to connect.

shockalotti commented 9 years ago

@blondie101010 - yes, the websocket test - both secure and non-secure tests - work on my Internet Explorer.

shockalotti commented 9 years ago

@ghedipunk I tested my Internet Explorer version using websocket.org. Hopefully that means my Internet Explorer is not the culprit?

I'll check out the logs as you suggest and go from there.

Thanks.

ghedipunk commented 9 years ago

Open for over a month with no further information -- Closing. (Feel free to reopen if this is still an issue.)