Skip to content

[Bug] panic: sending request failed for method 'update': timeout #7

@0xF7A4C6

Description

@0xF7A4C6
08:19:54 | 200 |    37.210011s |       127.0.0.1 | POST    | /api/task/new
08:19:54 | 200 |   37.2284951s |       127.0.0.1 | POST    | /api/task/new
08:19:54 | 200 |   36.7322873s |       127.0.0.1 | POST    | /api/task/new
08:19:54 | 200 |   36.8592681s |       127.0.0.1 | POST    | /api/task/new
2023-10-01T08:19:55.101+0200    ERROR   error-  {"error": "sending request failed for method 'create': timeout"}
panic: sending request failed for method 'update': timeout

goroutine 294509 [running]:
github.com/Implex-ltd/hcsolver/internal/handlers/task.CreateTask.func1(0xc00e39c6e0)
        C:/Users/arm/Documents/GitHub/HcaptchaSolver/internal/handlers/task/task.go:115 +0x48d
created by github.com/Implex-ltd/hcsolver/internal/handlers/task.CreateTask in goroutine 293940
        C:/Users/arm/Documents/GitHub/HcaptchaSolver/internal/handlers/task/task.go:86 +0xa25
panic: sending request failed for method 'create': timeout

goroutine 295494 [running]:
github.com/Implex-ltd/hcsolver/internal/handlers/task.CreateTask(0xc01259ac00)
        C:/Users/arm/Documents/GitHub/HcaptchaSolver/internal/handlers/task/task.go:77 +0xc45
github.com/gofiber/fiber/v2.(*App).next(0xc000a38500, 0xc01259ac00)
        C:/Users/arm/go/pkg/mod/github.com/gofiber/fiber/v2@v2.49.2/router.go:145 +0x1b2
github.com/gofiber/fiber/v2.(*Ctx).Next(0xc03080?)
        C:/Users/arm/go/pkg/mod/github.com/gofiber/fiber/v2@v2.49.2/ctx.go:970 +0x4d
github.com/gofiber/fiber/v2/middleware/limiter.FixedWindow.New.func1(0xc01259ac00)
        C:/Users/arm/go/pkg/mod/github.com/gofiber/fiber/v2@v2.49.2/middleware/limiter/limiter_fixed.go:33 +0x3b4
github.com/gofiber/fiber/v2.(*Ctx).Next(0xc000a44b40?)
        C:/Users/arm/go/pkg/mod/github.com/gofiber/fiber/v2@v2.49.2/ctx.go:967 +0x3d
github.com/gofiber/fiber/v2/middleware/logger.New.func3(0xc01259ac00)
        C:/Users/arm/go/pkg/mod/github.com/gofiber/fiber/v2@v2.49.2/middleware/logger/logger.go:122 +0x38f
github.com/gofiber/fiber/v2.(*App).next(0xc000a38500, 0xc01259ac00)
        C:/Users/arm/go/pkg/mod/github.com/gofiber/fiber/v2@v2.49.2/router.go:145 +0x1b2
github.com/gofiber/fiber/v2.(*App).handler(0xc000a38500, 0x709bef?)
        C:/Users/arm/go/pkg/mod/github.com/gofiber/fiber/v2@v2.49.2/router.go:172 +0x78
github.com/valyala/fasthttp.(*Server).serveConn(0xc000a26200, {0xd14fa0?, 0xc01201e1e8})
        C:/Users/arm/go/pkg/mod/github.com/valyala/fasthttp@v1.50.0/server.go:2359 +0x11d4
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc0000bbc20, 0xc0145ee2e0)
        C:/Users/arm/go/pkg/mod/github.com/valyala/fasthttp@v1.50.0/workerpool.go:224 +0xa4
github.com/valyala/fasthttp.(*workerPool).getCh.func1()
        C:/Users/arm/go/pkg/mod/github.com/valyala/fasthttp@v1.50.0/workerpool.go:196 +0x32
created by github.com/valyala/fasthttp.(*workerPool).getCh in goroutine 1
        C:/Users/arm/go/pkg/mod/github.com/valyala/fasthttp@v1.50.0/workerpool.go:195 +0x1ab

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions