0
我正在使用UnitySocketIO https://github.com/NetEase/UnitySocketIO 在Sails.js Socket.IO上連接到服務器。在握手期間 然而,錯誤出與unity3d + UnitySocketIO + sails.js初始化握手錯誤
socket Error: Error initializing handshake with http://192.168.0.104:1337/
服務器日誌:
handshake error No cookie transmitted with socket.io connection. Are you trying to access
your Sails.js server via socket.io on a 3rd party domain? If you're ok with losing users'
session data, you can set `authorization: false` to disable cookie-checking.
Or you can send a JSONP request first from the client to the Sails.js server
to get the cookie (be sure it's the same domain!!)
幫助!
YEAAAH !!! On Sails對於打開與套接字io 0.9客戶端的兼容性是必要的 – user3318056 2014-09-11 09:44:01