Log Detail

列表 / 同App / 同Level
UUID22bd60ea-1635-4657-b3f3-48ebc78c1118
Time2026-11-08 13:52:00.675
LevelERROR
Appcbg-trade
Tagtest

Message

[http_server.go:337] [PANIC] recovered | path=/api/user/invitation/init | method=POST | ip=39.144.190.199 | err=context canceled
goroutine 328030 [running]:
runtime/debug.Stack()
	/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/debug/stack.go:26 +0x5e
cbg-trade/internal/apps/value.(*HttpServer).recoveryMiddleware.func1(0xc000ee2c00, {0x10e5360, 0x1f896e0})
	/root/sources/cbg-value/internal/apps/value/http_server.go:342 +0x3b
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1.1()
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:98 +0x776
panic({0x10e5360?, 0x1f896e0?})
	/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/panic.go:787 +0x132
cbg-trade/internal/model.LoadInvitationRebateConfig(0xc0048be810)
	/root/sources/cbg-value/internal/model/invitation_rebate_config.go:56 +0x14c
cbg-trade/internal/apps/value.(*HttpServer).GetInvitation(0xc000162180, 0xc000ee2c00)
	/root/sources/cbg-value/internal/apps/value/user_invitation.go:357 +0x257
cbg-trade/internal/apps/value.(*HttpServer).InitInvitation(0xc000162180, 0xc000ee2c00)
	/root/sources/cbg-value/internal/apps/value/user_invitation.go:343 +0x165
github.com/gin-gonic/gin.(*Context).Next(0xc000ee2c00)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b
cbg-trade/internal/apps/value.(*HttpServer).registerRoutes.(*HttpServer).userAuthMiddleware.func1(0xc000ee2c00)
	/root/sources/cbg-value/internal/apps/value/user_middleware.go:38 +0x352
github.com/gin-gonic/gin.(*Context).Next(0xc000ee2c00)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b
cbg-trade/internal/apps/value.NewHttpServer.Cors.func5(0xc000ee2c00)
	/root/sources/cbg-value/internal/utils/cors.go:21 +0xd8
github.com/gin-gonic/gin.(*Context).Next(0xc000ee2c00)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b
cbg-trade/internal/apps/value.NewHttpServer.valuationStatsMiddleware.func4(0xc000ee2c00)
	/root/sources/cbg-value/internal/apps/value/valuation_stats.go:39 +0xa8
github.com/gin-gonic/gin.(*Context).Next(...)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc000ee2c00)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x6f
github.com/gin-gonic/gin.(*Context).Next(...)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0009f8340, 0xc000ee2c00)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x64e
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0009f8340, {0x16967a8, 0xc0035a82a0}, 0xc0036e0500)
	/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1aa
net/http.serverHandler.ServeHTTP({0xc0051ca870?}, {0x16967a8?, 0xc0035a82a0?}, 0x6?)
	/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:3301 +0x8e
net/http.(*conn).serve(0xc0036041b0, {0x16985f0, 0xc00086c690})
	/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:2102 +0x625
created by net/http.(*Server).Serve in goroutine 114
	/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:3454 +0x485
点击上方链接可快速筛选同类日志。