nakama icon indicating copy to clipboard operation
nakama copied to clipboard

when ProcessRequest is false and it sends error message to chan, the …

Open nguyentrannhan opened this issue 1 year ago • 4 comments

According to issue https://github.com/heroiclabs/nakama/issues/1164 nakama-js can be timeout because the IncomingLoop is break. We need to add a flag to break IncomingLoop safely

nguyentrannhan avatar Feb 02 '24 07:02 nguyentrannhan

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 02 '24 07:02 CLAassistant

I am facing the same problem, please consider to merge this one

minhlucvan avatar Feb 02 '24 07:02 minhlucvan

The PR and code change is not descriptive enough.

  • Can you please describe the actual problem you are facing?
  • Can you tell us what the gameplay mechanic you are building?
  • What game engine (SDK) and what devices are you targeting?

I ask these questions because we've never seen an issue in this code path.

mofirouz avatar Feb 02 '24 08:02 mofirouz

I create this issue https://github.com/heroiclabs/nakama/issues/1164 for describe the problem what I am facing with. Please take a look. Here is screen shot when I tested with joinChat function

The timeout message will appear after 10 seconds image

nguyentrannhan avatar Feb 02 '24 09:02 nguyentrannhan

There is not enough information provided to understand why the server should process one additional message when an error is encountered with the socket connection.

If you can provide this additional required context then please feel free to re-open this, and we can evaluate it then. A complete minimal reproducible test case would also be very helpful. 🙏

zyro avatar Aug 11 '24 16:08 zyro