Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

WebSocket error (no replies)

$
0
0
Attempting to test a php WebSocket Server in WampServer without success, and I am out of options. WebSockets are enabled in php extensions. My Javascript client test script connects with websocketstest.com so this is definitely a server issue. Any suggestions appreciated.

Error received: First- onerror function throws "connection failed" followed by onclose function throwing
1006 error code: The connection was closed abnormally, e.g., without sending or receiving a Close control frame

The client Javascript console shows
Firefox can’t establish a connection to the server at ws://192.168.0.101/cz/shmdelay/websocket.php
client executes from 192.168.0.101 so this should not a be CORS issue

The PHP websocket window shows
Server started Listening on: 192.168.0.101:80 Master socket: Resource id #4

PHP error log is empty

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>