Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CEF network problems #33

Open
somethingInterestingHappens opened this issue Feb 7, 2022 · 1 comment
Open

CEF network problems #33

somethingInterestingHappens opened this issue Feb 7, 2022 · 1 comment

Comments

@somethingInterestingHappens
Copy link

Hello.

First I have to say thank you for such amazing work you have done.

We're investigating an issue with networking in your plugin. Sometimes it simply drops connections (from server or client, we don't know what side is a problem) and players unable to use CEF. At such moments in log we have such rows:

21:51:16 [TRACE] (5) client::network: [client\src\network.rs:329] CEF Network: OpenConnection (ip:port)
21:51:16 [TRACE] (5) client::network: [client\src\network.rs:330] CEF Network: Elapsed since Network module created 140.2991411s
21:51:16 [TRACE] (5) client::network: [client\src\network.rs:390] CEF Network: Timeout
21:51:18 [TRACE] (5) client::network: [client\src\network.rs:415] CEF Network: CEF didn't connect. Retrying ...
21:51:18 [TRACE] (5) client::network: [client\src\network.rs:329] CEF Network: OpenConnection (ip:port)
21:51:18 [TRACE] (5) client::network: [client\src\network.rs:330] CEF Network: Elapsed since Network module created 142.8002528s
21:51:18 [TRACE] (5) client::network: [client\src\network.rs:390] CEF Network: Timeout
21:51:21 [TRACE] (5) client::network: [client\src\network.rs:415] CEF Network: CEF didn't connect. Retrying ...
21:51:21 [TRACE] (5) client::network: [client\src\network.rs:329] CEF Network: OpenConnection (ip:port)
21:51:21 [TRACE] (5) client::network: [client\src\network.rs:330] CEF Network: Elapsed since Network module created 145.3058335s
21:51:21 [TRACE] (5) client::network: [client\src\network.rs:390] CEF Network: Timeout

Also in SAMP game mode we have debug and on such moments OnCefInitialize returns success 0 for players with such problem.

Sometimes it receives "JoinResponse OK", but then connection loses again in some chance. We have tested it on 2 OS (Debian 10, Debian 8) and problem occurs on both.
We have opened required by CEF port on our firewall (for UDP and TCP connections) and requested our host to disable protection and filtering on CEF port, so it's not a host/protection problem.

This issue occurs not every time and not for everyone. It can be solved on rejoin (for 2-5 attempts), but it still creates problems and it's unable to work with it as expected.

Does any one have suggestions how we could solve or investigate deeper this issue?

@WestSide56
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants