You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened?
Using socket.io, I connect multiple client peers to my game server peer. Everything works as expected but I randomly get an "ERR_ICE_CONNECTION_FAILURE". I found this issue202 and have tried all the troubleshooting tips but none solved the error. One thing to note is that in issue202, the error comes up right during connection of peers, but for my case, the peers work perfectly for some time and then the error pops up randomly.
I have not been able to isolate the cause for the error, sometimes it happens when the server is idle, other times it happens when clients are regularly connecting and disconnecting. Occasionally the error does not pop up when the server is left overnight, but generally it occurs within 10 or so minutes.
This only comes up server side on nodes.js and not client side. I am also using webpack btw.
What did you expect to happen?
According to error, I suppose it should only happen during the initiation of the connection and not when connection has already been established. If so it might indicate that the error comes up during reconnection. If the connection was successful initially, then I suppose there should not be a problem on reconnection.
The text was updated successfully, but these errors were encountered:
simple-peer v9.11.1
windows 10, node.js v16.15.0, npm v8.5.5
What happened?
Using socket.io, I connect multiple client peers to my game server peer. Everything works as expected but I randomly get an "ERR_ICE_CONNECTION_FAILURE". I found this issue202 and have tried all the troubleshooting tips but none solved the error. One thing to note is that in issue202, the error comes up right during connection of peers, but for my case, the peers work perfectly for some time and then the error pops up randomly.
I have not been able to isolate the cause for the error, sometimes it happens when the server is idle, other times it happens when clients are regularly connecting and disconnecting. Occasionally the error does not pop up when the server is left overnight, but generally it occurs within 10 or so minutes.
This only comes up server side on nodes.js and not client side. I am also using webpack btw.
Some minimal code to show usage:
And this function is called at a high frequency, for all the peers
this is the error:
What did you expect to happen?
According to error, I suppose it should only happen during the initiation of the connection and not when connection has already been established. If so it might indicate that the error comes up during reconnection. If the connection was successful initially, then I suppose there should not be a problem on reconnection.
The text was updated successfully, but these errors were encountered: