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

Timeout during connection #401

Open
guitariout opened this issue Jul 26, 2021 · 7 comments
Open

Timeout during connection #401

guitariout opened this issue Jul 26, 2021 · 7 comments

Comments

@guitariout
Copy link

guitariout commented Jul 26, 2021

Hi, I'm currently playing with a friend in multiplayer. We both have a really bad download/upload rate. Because of that, we cannot connect anymore, our save size is 17MB and we are using last versions of BepInEx and nebula.
Is there a way to customize the timeout value ?
Or is the error generated by something else ?

Here are the log files from both sides :

Host side :
LogOutput.log

Client side :
log_nok.log

@NoGTNoHappy
Copy link
Contributor

There's a great PR #394 doing network-refactoring things so maybe we should wait for its merging before making any other network change.

@NoGTNoHappy
Copy link
Contributor

https://stackoverflow.com/a/49635321
It seems like only both host and client sending heavy data to each other at the same time this issue will happen.
It can occur more often when network situation is bad, so I don't know how to reproduce everytime.
Maybe make client DisableNagleAlgorithm() after initialization will solve this problem.

@sp00ktober
Copy link
Collaborator

@PhantomGamers can we close this?

@PhantomGamers
Copy link
Collaborator

mmm I think maybe we can offer a customizable timeout once #465 is merged so maybe we keep this open as a feature request

@Caijue117
Copy link

How to close tcpClient.NoDelay = true;?

@sp00ktober
Copy link
Collaborator

Im not sure if i understand what you mean :/

@Caijue117
Copy link

I'm sorry because I don't understand the code.And I don't know how to find this setting and turn it off.

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

5 participants