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

FastHttp panic #105

Open
MindHunter86 opened this issue Dec 23, 2023 · 1 comment
Open

FastHttp panic #105

MindHunter86 opened this issue Dec 23, 2023 · 1 comment
Assignees
Labels
bug Something isn't working dependencies Pull requests that update a dependency file

Comments

@MindHunter86
Copy link
Owner

9:03PM INF runtime.go:292 > runtime config - applied lottery chance 100
9:04PM INF runtime.go:316 > runtime config - applied quality 1080
9:05PM INF runtime.go:252 > runtime config - blocklist status updated
panic: BUG: error in SetWriteDeadline(200ms): set tcp4 XXX:8089: use of closed network connection

goroutine 4191 [running]:
github.com/valyala/fasthttp.(*Server).serveConn(0xc0001c0200, {0xb4ce80?, 0xc000013ba0})
        github.com/valyala/[email protected]/server.go:2380 +0x1f85
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc0001c50e0, 0xc0000633a0)
        github.com/valyala/[email protected]/workerpool.go:224 +0xa9
github.com/valyala/fasthttp.(*workerPool).getCh.func1()
        github.com/valyala/[email protected]/workerpool.go:196 +0x38
created by github.com/valyala/fasthttp.(*workerPool).getCh
        github.com/valyala/[email protected]/workerpool.go:195 +0x1b0

@MindHunter86 MindHunter86 added bug Something isn't working dependencies Pull requests that update a dependency file labels Dec 23, 2023
@MindHunter86 MindHunter86 self-assigned this Dec 23, 2023
@MindHunter86
Copy link
Owner Author

MindHunter86 commented Dec 23, 2023

maybe problem in #100

addie/app/app.go

Lines 89 to 93 in 29aa719

if strings.TrimSpace(c.Hostname()) == "" {
gLog.Warn().Msgf("invalid request from %s", c.Context().Conn().RemoteAddr().String())
gLog.Debug().Msgf("invalid request: %+v ; error - %+v", c, err)
return c.Context().Conn().Close()
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

1 participant