Avoid “destroying non-socket.io upgrade” error

前端 未结 2 735
醉酒成梦
醉酒成梦 2021-01-06 14:27

I am trying to make a socket.io based server but whenever I connect by client to it using dojo, it shows me this error:

    debug - destroying non-socket.io          


        
2条回答
  •  日久生厌
    2021-01-06 14:37

    Setting "destroy upgrade" to false on socketio server configuration will fix this problem.

提交回复
热议问题