I am developing node application for WebRTC. Currently I am using socket.io for real time communication. But I have following error when connect to signaling server placed on Linux CentOS7(Apache).
WebSocket connection to 'ws://localhost/socket.io/?EIO=3&transport=websocket&sid=BmT1OlWRijuoGNpXAAAA' failed: Error during WebSocket handshake: 'Connection' header is missing
I am using socket.io.js in client side.
<script src = "/javascripts/lib/socket.io.js"></script>
<script type = "javascript">
var socket = io();
</script>
I think this is happened cause of my websocket config in httpd.conf. Would you like to help me?