Node.js Heroku Socket.IO服务器连接被Cocos2D应用程序拒绝

Node.js Heroku Socket.IO服务器连接被Cocos2D应用程序拒绝,node.js,sockets,heroku,socket.io,cocos2d-x,Node.js,Sockets,Heroku,Socket.io,Cocos2d X,我在将Cocos2D应用程序连接到Heroku上托管的Socket.IO服务器时遇到问题。使用Cocos2D Socket.IO客户端,我尝试连接到***.herokuapp.com:80,收到以下输出: In the constructor of HttpClient! libpng warning: iCCP: known incorrect sRGB profile cocos2d: QuadCommand: resizing index size from [-1] to [2560]

我在将Cocos2D应用程序连接到Heroku上托管的Socket.IO服务器时遇到问题。使用Cocos2D Socket.IO客户端,我尝试连接到
***.herokuapp.com:80
,收到以下输出:

In the constructor of HttpClient!
libpng warning: iCCP: known incorrect sRGB profile
cocos2d: QuadCommand: resizing index size from [-1] to [2560]
[WebSocket::init] _host: ***.herokuapp.com, _port: 80, _path: /socket.io/1/websocket/?EIO=2&transport=websocket&sid=GhYgtb7djoMU4u79AAAB
WebSocket thread start, helper instance: 0x6000000a2ee0
NOTICE: Initial logging level 967

NOTICE: Libwebsockets version: 1.6.0 3ca4bac

NOTICE: IPV6 compiled in and enabled

NOTICE: libev support not compiled in

NOTICE:  mem: platform fd map: 38912 bytes

NOTICE:  mem: per-conn:          336 bytes + protocol rx buf

WebSocket (0x6000001c2fd0) onConnectionError ...
Ready state is closing or was closed, code=2, quit websocket thread!
NOTICE: lws_context_destroy

WebSocket (0x6000001c2fd0) onConnectionClosed ...
WebSocket thread exit, helper instance: 0x6000000a2ee0
Websocket error received: 1
In the destructor of WebSocket (0x6000001c2fd0)
我不知道该怎么办,到处都在寻找解决办法。我已尝试将端口更改为
:443
,并获得以下信息:

In the constructor of HttpClient!
libpng warning: iCCP: known incorrect sRGB profile
cocos2d: QuadCommand: resizing index size from [-1] to [2560]
SIOClientImpl::handshake() failed
error buffer: Empty reply from server
我真的不知道该怎么办。如果我尝试通过
localhost:3000
连接到同一个Socket.IO服务器,它就可以正常工作,并且我可以查看所有事件,没有问题。我怎样才能解决这个问题?这是希罗库的问题吗?我只是使用了错误的URL吗