Skip to content

connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted #7411

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

Closed
2 of 7 tasks
bkodre opened this issue Jul 10, 2019 · 2 comments

Comments

@bkodre
Copy link

bkodre commented Jul 10, 2019

  • Gitea version (or commit ref): 1.8.3
  • Git version:2.22.0.windows.1
  • Operating system: Windows server 2012 R2
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Gitea is writting this message in log file every 200 milliseconds:

2019/07/10 07:32:18 [...s/context/context.go:238 func1()] [E] UserSignIn: dial tcp 127.0.0.1:3306: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2019/07/10 07:32:18 [...s/context/context.go:238 func1()] [E] GetAccessTokenBySha: dial tcp 127.0.0.1:3306: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.
20

What can be done to solve this issue.?

@bkodre
Copy link
Author

bkodre commented Jul 11, 2019

Setting registry keys MaxUserPort to 65535 and TcpTimedWaitDelay to 30 solved the problem.
Settings that can be Modified to Improve Network Performance

@bkodre bkodre closed this as completed Jul 11, 2019
@zeripath
Copy link
Contributor

For future suffers: see #7416 and in particular #7416 (comment)

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants