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

Some network operations breaks on timeout #2

Closed
atauenis opened this issue Dec 22, 2019 · 2 comments
Closed

Some network operations breaks on timeout #2

atauenis opened this issue Dec 22, 2019 · 2 comments
Labels
bug Something isn't working network System network stack related issues

Comments

@atauenis
Copy link
Owner

Some operations related to download something from remote servers are hanging and falling off due to timeout.

Examples:

  1. Image converting.
    1.1. Browser trying to download a webm picture (and a webm->gif rule is present in webone.conf).
    1.2. WebOne returns a 302 to converter.
    1.3. Browser opening converter page.
    1.4. Starting the converter.
    1.5. Converter attempts to download source file....
    1.6. After some time download fails. The error is Timeout.
    1.7. But in 80% of attempts the file gets successfully downloaded in adequate time and then converted without problems.
  2. Simply opening a page.
    2.1 Browser trying to download a page via proxy (GET http://... HTTP/1.0.....).
    2.1 WebOne is downloading the page...
    2.2. After few minutes network stack stops wait, and returning to WebOne a Timeout error.
    2.2.1 But most of attempts have no problems here. And the original page correctly loaded by WebOne and then gets processed okay.

This appear at least on both Win7 SP1 and Win10 1903. Different hardware, antiviruses, ISPs, LANs, etc... The common here is using default Windows Firewall.

Any ideas why?

  • Incorrect .NET network stack usage?
  • Windows Defender-Firewall machinations?
@atauenis atauenis added bug Something isn't working network System network stack related issues labels Dec 22, 2019
@atauenis
Copy link
Owner Author

Related discussion (in Russian): https://qna.habr.com/q/696033

atauenis added a commit that referenced this issue Dec 25, 2019
@atauenis
Copy link
Owner Author

atauenis commented Dec 27, 2019

Probably solved. At least my modest testing wasn't detected any Timeouts.

This was caused by excess of limit of possible network connections. Rewritten HTTP downloader, now network resources are freeing and the bug does not appear in test environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working network System network stack related issues
Projects
None yet
Development

No branches or pull requests

1 participant