Open nmhung109 opened 6 years ago
@jondubois , pls give to me any suggestion about this issue. I think it's very similar to #218 that @hustcer met
@nmhung109 TimeoutError just means that the server did not respond to an event in time. Maybe a database query is taking too long or you forgot to respond to one of the events (to which the client expects a response). The duration can be configured. Check ackTimeout
here: https://socketcluster.io/#!/docs/api-socketcluster.
@jondubois The problem is that I saw Server responsed to client via res
function. And it's fast, just below 1s while default is 10s. That's why Browser client can still work properly. But it happened occasionally on Mobile
I have a problem while trying to emit from a React Native project. The connection between React Native project & Socket Cluster is okay. But sometimes, I got TimeoutError. It happened occasionally that even I checked log from SocketCluster server, I saw that it already response to the callback.
I also tried to emit the same event on Web Browser, and it worked as expected Thanks