Logs

本页结果数:20
2026-07-02 05:26:08.816 · INFO · cbg-item · test
[http_server.go:121] Starting server on :9601
2026-07-02 05:26:08.816 · INFO · cbg-item · test
[http_server.go:87] status update cache flush lock cleared on startup
2026-07-02 05:26:08.816 · INFO · cbg-item · test
[http_server.go:92] cron scheduled: id=1 spec=*/30 * * * * *
2026-07-02 05:26:08.816 · INFO · cbg-item · test
[http_server.go:107] cron scheduled: id=4 spec=0 0 2 * * *
2026-07-02 05:26:07.461 · INFO · cbg-item · test
[redis.go:42] Redis client initialized successfully with timeout: 30s
2026-07-02 05:26:07.451 · INFO · cbg-item · test
[clickhouse.go:111] ClickHouse连接初始化成功,数据库: cbg_item
2026-07-02 05:26:06.870 · INFO · cbg-item · test
[clickhouse.go:77] clickhouse dsn: http://admin:FE2cmzYD5lW0V1nRF9XeHGj9Y3IZ8FrG@192.168.101.203:8123/cbg_item?dial_timeout=10s&max_execution_time=60
2026-07-02 05:26:06.693 · INFO · cbg-item · test
[database.go:37] mysql dsn: root:bayChfvTPZoszP8zKL4bhesbWh934Tw7@tcp(192.168.101.204:3306)/cbg?charset=utf8mb4&parseTime=True&loc=Local&timeout=5s&readTimeout=120s&writeTimeout=120s
2026-07-02 05:26:06.692 · INFO · cbg-item · test
[mongo.go:83] MongoDB客户端初始化成功,数据库: cbg, 超时时间: 30s
2026-07-02 05:26:06.670 · INFO · cbg-item · test
[config.go:102] local ip [192.168.101.204 172.17.0.1 172.18.0.1 172.19.0.1 172.20.0.1 172.21.0.1]
2026-07-02 05:26:06.671 · INFO · cbg-item · test
[mongo.go:54] MongoDB连接URI: mongodb://mongodb:ttiB4S73wwYaOFYRfumyCqFo3E05Zo@192.168.101.204:27017
2026-07-02 05:26:06.667 · INFO · cbg-item · test
[main.go:31] Git Commit: revision -> [17de58d]
2026-07-02 05:26:06.667 · INFO · cbg-item · test
[main.go:38] Current directory: /root/sources/cbg-item
2026-07-02 05:26:06.651 · INFO · cbg-item · test
[main.go:30] Starting server, time -> [2026-07-02 05:26:06]
2026-07-02 05:26:05.670 · ERROR · cbg-item · test
[armor_value.go:22] armor value panic: Post "http://admin:***@192.168.101.203:8123?database=cbg_item&default_format=Native&max_execution_time=60": dial tcp 192.168.101.203:8123: i/o timeout, stack: goroutine 7826882 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:26 +0x5e cbg-item/internal/apps/value.(*HttpServer).GetArmorValue.func1() /root/sources/cbg-item/internal/apps/value/armor_value.go:22 +0x45 panic({0x11e3820?, 0xc007b68270?}) /usr/local/go/src/runtime/panic.go:785 +0x132 cbg-item/internal/apps/value/armor.(*MaleHelmetValue).GetMaleHelmetValueWithItems(0x7faa943c4a48?, 0xc0047e21c8?, 0xc00316f680, 0x1, 0x1, 0x21539e0?) /root/sources/cbg-item/internal/apps/value/armor/male_helmet_value.go:129 +0x7c5 cbg-item/internal/apps/value/armor.(*MaleHelmetValue).GetLocalTradeItems(0xc00290c780, 0x7faaff8683c8?) /root/sources/cbg-item/internal/apps/value/armor/male_helmet_value.go:96 +0x3d cbg-item/internal/apps/value/checkpoint.(*CheckPointLocalTrade).GetResult(0xc0047e2180, {0x21683a0, 0xc00290c780}, 0xc002bbf690?) /root/sources/cbg-item/internal/apps/value/checkpoint/checkpoint.go:20 +0x36 cbg-item/internal/apps/value/checkpoint.(*CheckSystem).GetResult(0xc002bbf768, 0x0) /root/sources/cbg-item/internal/apps/value/checkpoint/checksystem.go:29 +0x79 cbg-item/internal/apps/value/armor.(*MaleHelmetValue).GetMaleHelmetValue(0xc00290c780, 0xc00011c060?) /root/sources/cbg-item/internal/apps/value/armor/male_helmet_value.go:198 +0x7ea cbg-item/internal/apps/value.(*HttpServer).GetArmorValue(0x1346bc1?, 0xc0030f4c00) /root/sources/cbg-item/internal/apps/value/armor_value.go:67 +0x4a5 github.com/gin-gonic/gin.(*Context).Next(0xc0030f4c00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b cbg-item/internal/apps/value.NewHttpServer.Cors.func2(0xc0030f4c00) /root/sources/cbg-item/internal/utils/cors.go:14 +0xa5 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(0xc0030f4c00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x6f github.com/gin-gonic/gin.(*Context).Next(0xc0030f4c00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b cbg-item/internal/apps/value.NewHttpServer.(*HttpServer).loggerMiddleware.func1(0xc0030f4c00) /root/sources/cbg-item/internal/apps/value/http_server.go:284 +0xa9 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(0xc00192f380, 0xc0030f4c00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x64e github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc00192f380, {0x215f7a0, 0xc0001d28c0}, 0xc000bbfb80) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1b2 net/http.serverHandler.ServeHTTP({0x215bf80?}, {0x215f7a0?, 0xc0001d28c0?}, 0x6?) /usr/local/go/src/net/http/server.go:3210 +0x8e net/http.(*conn).serve(0xc002257200, {0x2161fe8, 0xc002fe7500}) /usr/local/go/src/net/http/server.go:2092 +0x5d0 created by net/http.(*Server).Serve in goroutine 1 /usr/local/go/src/net/http/server.go:3360 +0x485
2026-07-02 05:26:05.386 · WARN · cbg-item · test
[http_server.go:238] [Restart] restart requested from 192.168.101.203
2026-07-02 05:26:04.259 · ERROR · cbg-item · test
[armor_value.go:22] armor value panic: Post "http://admin:***@192.168.101.203:8123?database=cbg_item&default_format=Native&max_execution_time=60": dial tcp 192.168.101.203:8123: i/o timeout, stack: goroutine 7826649 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:26 +0x5e cbg-item/internal/apps/value.(*HttpServer).GetArmorValue.func1() /root/sources/cbg-item/internal/apps/value/armor_value.go:22 +0x45 panic({0x11e3820?, 0xc003b09ce0?}) /usr/local/go/src/runtime/panic.go:785 +0x132 cbg-item/internal/apps/value/armor.(*ShoeValue).GetShoeValueWithItems(0xc0040862b8?, 0xc003061440, 0x1, 0x1, 0x21539e0?) /root/sources/cbg-item/internal/apps/value/armor/shoe_value.go:137 +0x805 cbg-item/internal/apps/value/armor.(*ShoeValue).GetLocalTradeItems(0xc0035628c0, 0x7faaff867a68?) /root/sources/cbg-item/internal/apps/value/armor/shoe_value.go:103 +0x39 cbg-item/internal/apps/value/checkpoint.(*CheckPointLocalTrade).GetResult(0xc004086270, {0x2168300, 0xc0035628c0}, 0xc002bc3690?) /root/sources/cbg-item/internal/apps/value/checkpoint/checkpoint.go:20 +0x36 cbg-item/internal/apps/value/checkpoint.(*CheckSystem).GetResult(0xc002bc3768, 0x0) /root/sources/cbg-item/internal/apps/value/checkpoint/checksystem.go:29 +0x79 cbg-item/internal/apps/value/armor.(*ShoeValue).GetShoeValue(0xc0035628c0) /root/sources/cbg-item/internal/apps/value/armor/shoe_value.go:198 +0x7ea cbg-item/internal/apps/value.(*HttpServer).GetArmorValue(0x1346bc1?, 0xc000971700) /root/sources/cbg-item/internal/apps/value/armor_value.go:82 +0x37e github.com/gin-gonic/gin.(*Context).Next(0xc000971700) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b cbg-item/internal/apps/value.NewHttpServer.Cors.func2(0xc000971700) /root/sources/cbg-item/internal/utils/cors.go:14 +0xa5 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(0xc000971700) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x6f github.com/gin-gonic/gin.(*Context).Next(0xc000971700) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b cbg-item/internal/apps/value.NewHttpServer.(*HttpServer).loggerMiddleware.func1(0xc000971700) /root/sources/cbg-item/internal/apps/value/http_server.go:284 +0xa9 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(0xc00192f380, 0xc000971700) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x64e github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc00192f380, {0x215f7a0, 0xc0035c6620}, 0xc000a58640) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1b2 net/http.serverHandler.ServeHTTP({0x215bf80?}, {0x215f7a0?, 0xc0035c6620?}, 0x6?) /usr/local/go/src/net/http/server.go:3210 +0x8e net/http.(*conn).serve(0xc002150510, {0x2161fe8, 0xc002fe7500}) /usr/local/go/src/net/http/server.go:2092 +0x5d0 created by net/http.(*Server).Serve in goroutine 1 /usr/local/go/src/net/http/server.go:3360 +0x485
2026-07-02 05:26:03.412 · ERROR · cbg-item · test
[yupo_value.go:22] stack: goroutine 7826492 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:26 +0x5e cbg-item/internal/apps/value.(*HttpServer).GetYupoValue.func1() /root/sources/cbg-item/internal/apps/value/yupo_value.go:22 +0x9a panic({0x11e3820?, 0xc003b097d0?}) /usr/local/go/src/runtime/panic.go:785 +0x132 cbg-item/internal/apps/value/yupo.(*YupoYangValue).GetYupoYangValueWithItems(0xc003562640, 0xc00192af00, 0x1, 0x1, 0x0) /root/sources/cbg-item/internal/apps/value/yupo/yang_value.go:131 +0x6cc cbg-item/internal/apps/value/yupo.(*YupoYangValue).GetLocalTradeItems(0xc003562640, 0x7faaff867a68?) /root/sources/cbg-item/internal/apps/value/yupo/yang_value.go:46 +0x39 cbg-item/internal/apps/value/checkpoint.(*CheckPointLocalTrade).GetResult(0xc0040860a8, {0x2168940, 0xc003562640}, 0xc003ea3680?) /root/sources/cbg-item/internal/apps/value/checkpoint/checkpoint.go:20 +0x36 cbg-item/internal/apps/value/checkpoint.(*CheckSystem).GetResult(0xc003ea3758, 0x0) /root/sources/cbg-item/internal/apps/value/checkpoint/checksystem.go:29 +0x79 cbg-item/internal/apps/value/yupo.(*YupoYangValue).GetYupoYangValue(0xc003562640) /root/sources/cbg-item/internal/apps/value/yupo/yang_value.go:193 +0x7dc cbg-item/internal/apps/value.(*HttpServer).GetYupoValue(0x1346bc1?, 0xc000971d00) /root/sources/cbg-item/internal/apps/value/yupo_value.go:56 +0x56e github.com/gin-gonic/gin.(*Context).Next(0xc000971d00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b cbg-item/internal/apps/value.NewHttpServer.Cors.func2(0xc000971d00) /root/sources/cbg-item/internal/utils/cors.go:14 +0xa5 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(0xc000971d00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x6f github.com/gin-gonic/gin.(*Context).Next(0xc000971d00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b cbg-item/internal/apps/value.NewHttpServer.(*HttpServer).loggerMiddleware.func1(0xc000971d00) /root/sources/cbg-item/internal/apps/value/http_server.go:284 +0xa9 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(0xc00192f380, 0xc000971d00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x64e github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc00192f380, {0x215f7a0, 0xc0035c6540}, 0xc0031fda40) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1b2 net/http.serverHandler.ServeHTTP({0x215bf80?}, {0x215f7a0?, 0xc0035c6540?}, 0x6?) /usr/local/go/src/net/http/server.go:3210 +0x8e net/http.(*conn).serve(0xc0021c5200, {0x2161fe8, 0xc002fe7500}) /usr/local/go/src/net/http/server.go:2092 +0x5d0 created by net/http.(*Server).Serve in goroutine 1 /usr/local/go/src/net/http/server.go:3360 +0x485
2026-07-02 05:26:03.411 · ERROR · cbg-item · test
[yupo_value.go:21] yupo value panic: Post "http://admin:***@192.168.101.203:8123?database=cbg_item&default_format=Native&max_execution_time=60": dial tcp 192.168.101.203:8123: i/o timeout
2026-07-02 05:26:01.954 · ERROR · cbg-item · test
[armor_value.go:22] armor value panic: Post "http://admin:***@192.168.101.203:8123?database=cbg_item&default_format=Native&max_execution_time=60": dial tcp 192.168.101.203:8123: i/o timeout, stack: goroutine 7827088 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:26 +0x5e cbg-item/internal/apps/value.(*HttpServer).GetArmorValue.func1() /root/sources/cbg-item/internal/apps/value/armor_value.go:22 +0x45 panic({0x11e3820?, 0xc003b08cc0?}) /usr/local/go/src/runtime/panic.go:785 +0x132 cbg-item/internal/apps/value/armor.(*MaleClothesValue).GetMaleClothesValueWithItems(0xc000807068?, 0xc00335c120, 0x1, 0x1, 0x0) /root/sources/cbg-item/internal/apps/value/armor/male_clothes_value.go:139 +0x825 cbg-item/internal/apps/value/armor.(*MaleClothesValue).GetLocalTradeItems(0xc004da87c0, 0x7faaff867f18?) /root/sources/cbg-item/internal/apps/value/armor/male_clothes_value.go:96 +0x39 cbg-item/internal/apps/value/checkpoint.(*CheckPointLocalTrade).GetResult(0xc000807008, {0x21683f0, 0xc004da87c0}, 0xc002b45690?) /root/sources/cbg-item/internal/apps/value/checkpoint/checkpoint.go:20 +0x36 cbg-item/internal/apps/value/checkpoint.(*CheckSystem).GetResult(0xc002b45768, 0x0) /root/sources/cbg-item/internal/apps/value/checkpoint/checksystem.go:29 +0x79 cbg-item/internal/apps/value/armor.(*MaleClothesValue).GetMaleClothesValue(0xc004da87c0) /root/sources/cbg-item/internal/apps/value/armor/male_clothes_value.go:256 +0x7ea cbg-item/internal/apps/value.(*HttpServer).GetArmorValue(0x1346bc1?, 0xc0033aea00) /root/sources/cbg-item/internal/apps/value/armor_value.go:73 +0x40e github.com/gin-gonic/gin.(*Context).Next(0xc0033aea00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b cbg-item/internal/apps/value.NewHttpServer.Cors.func2(0xc0033aea00) /root/sources/cbg-item/internal/utils/cors.go:14 +0xa5 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(0xc0033aea00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x6f github.com/gin-gonic/gin.(*Context).Next(0xc0033aea00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b cbg-item/internal/apps/value.NewHttpServer.(*HttpServer).loggerMiddleware.func1(0xc0033aea00) /root/sources/cbg-item/internal/apps/value/http_server.go:284 +0xa9 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(0xc00192f380, 0xc0033aea00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x64e github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc00192f380, {0x215f7a0, 0xc0034e87e0}, 0xc000ac7a40) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1b2 net/http.serverHandler.ServeHTTP({0x215bf80?}, {0x215f7a0?, 0xc0034e87e0?}, 0x6?) /usr/local/go/src/net/http/server.go:3210 +0x8e net/http.(*conn).serve(0xc0022695f0, {0x2161fe8, 0xc002fe7500}) /usr/local/go/src/net/http/server.go:2092 +0x5d0 created by net/http.(*Server).Serve in goroutine 1 /usr/local/go/src/net/http/server.go:3360 +0x485