然而,一旦我将我的应用程序扩展到超过1 dyno,我就会收到几个http请求错误:
can't establish a connection to the server at wss://***/socket.ioEIO=2&transport=websocket&sid=Hky6IHdckNADdU_tAACm. socket.io.js:4520 The connection to wss://***/socket.ioEIO=2&a
) {}); 我也在相同的端点上使用Websocket,代码如下: const wss= new Websocket.Server({ server }) wss.on('connection', ws => {
console.log('user is connected to the server #mainpage