Logs

本页结果数:20
2026-08-27 18:08:04.012 · ERROR · cbg-trade · test
[http_server.go:322] [PANIC] recovered | path=/api/role/value | method=GET | ip=113.57.192.64 | err=runtime error: invalid memory address or nil pointer dereference goroutine 1257880 [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(0xc0031edd00, {0x10f1a40, 0x1f90de0}) /root/sources/cbg-value/internal/apps/value/http_server.go:327 +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({0x10f1a40?, 0x1f90de0?}) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/panic.go:787 +0x132 cbg-trade/internal/equipreport.(*EquipReport).GetArmor(0x0, 0x20?, 0x0, {0x126693e, 0x5}) /root/sources/cbg-value/internal/equipreport/armor_report.go:21 +0x3c cbg-trade/internal/apps/value/valueall.(*valueAll).GetValue(0x1ff4fa0, {0xc0042aafb8, 0x20}, 0xc003004960, 0x0, 0x0, {0x126689e, 0x5}) /root/sources/cbg-value/internal/apps/value/valueall/api.go:52 +0x968 cbg-trade/internal/apps/value.(*HttpServer).GetRoleValuation(0xc001146ee0, 0xc0031edd00) /root/sources/cbg-value/internal/apps/value/role_value.go:185 +0x1005 github.com/gin-gonic/gin.(*Context).Next(0xc0031edd00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b cbg-trade/internal/apps/value.NewHttpServer.Cors.func4(0xc0031edd00) /root/sources/cbg-value/internal/utils/cors.go:21 +0xd8 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(0xc0031edd00) /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(0xc0009201a0, 0xc0031edd00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x64e github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0009201a0, {0x169f128, 0xc003f5e2a0}, 0xc001853e00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1aa net/http.serverHandler.ServeHTTP({0xc009fff290?}, {0x169f128?, 0xc003f5e2a0?}, 0x1?) /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(0xc0010b1680, {0x16a0fb0, 0xc0009edec0}) /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 1 /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:3454 +0x485
2026-08-27 18:08:04.011 · ERROR · cbg-trade · test
[main.go:66] 2026/08/27 18:08:04 [Recovery] 2026/08/27 - 18:08:04 panic recovered: runtime error: invalid memory address or nil pointer dereference /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/panic.go:262 (0x478658) panicmem: panic(memoryError) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/signal_unix.go:925 (0x478628) sigpanic: panicmem() /root/sources/cbg-value/internal/equipreport/armor_report.go:21 (0xba91dc) (*EquipReport).GetArmor: equipDesc := itemdetail.GetItemJson(e.EquipDetail.Equip.Eid, e.EquipDetail.Equip.EquipDesc) /root/sources/cbg-value/internal/apps/value/valueall/api.go:52 (0xbd8547) (*valueAll).GetValue: reportItem, success := equipReport.GetArmor(false, ctx.IsFree, key.EidTypeArmor) /root/sources/cbg-value/internal/apps/value/role_value.go:185 (0xebb044) (*HttpServer).GetRoleValuation: type_, data, success = valueall.ValueAll.GetValue(eid, ctx, serverType, needRawData, key.ProxyReasonValue) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x96650a) (*Context).Next: c.handlers[c.index](c) /root/sources/cbg-value/internal/utils/cors.go:21 (0xf11bd7) NewHttpServer.Cors.func4: c.Next() /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x9731ae) (*Context).Next: c.handlers[c.index](c) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 (0x97319b) CustomRecoveryWithWriter.func1: c.Next() /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x97180d) (*Context).Next: c.handlers[c.index](c) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 (0x9714a4) (*Engine).handleHTTPRequest: c.Next() /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 (0x970fe9) (*Engine).ServeHTTP: engine.handleHTTPRequest(c) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:3301 (0x73c6ad) serverHandler.ServeHTTP: handler.ServeHTTP(rw, req) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:2102 (0x71b2e4) (*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/asm_amd64.s:1700 (0x47d6c0) goexit: BYTE $0x90 // NOP 
2026-08-27 18:08:04.005 · INFO · cbg-trade · test
[redis.go:34] Redis connecting to 192.168.101.203:6379, timeout: 30s
2026-08-27 18:08:04.005 · INFO · cbg-trade · test
[eidtype.go:87] [eid_type] upstream lookup succeeded, eid=202510281800113-459-7PTQSXGTOBJ2 server_id=459 reason=value status=1 status_code=OK kind_id=19 equip_type=2708 listing_status=2
2026-08-27 18:08:04.004 · WARN · cbg-trade · test
[eidtype.go:176] [eid_type] cache upstream response failed, eid=202510281800113-459-7PTQSXGTOBJ2 server_id=459 reason=value kind_id=19 equip_type=2708 err=kv set failed: status=429 body={"code":429,"message":"存储压力过高,请稍后重试"}
2026-08-27 18:08:04.004 · INFO · cbg-trade · test
[config.go:110] local ip [192.168.101.204 172.21.0.1 172.17.0.1 172.18.0.1 172.19.0.1 172.20.0.1]
2026-08-27 18:08:04.002 · INFO · cbg-trade · test
[main.go:37] Current directory: /app
2026-08-27 18:08:04.002 · INFO · cbg-trade · test
[main.go:30] Git Commit: revision -> [unknown]
2026-08-27 18:08:04.001 · INFO · cbg-trade · test
[main.go:29] Starting server, time -> [2026-08-27 18:08:04]
2026-08-27 18:08:03.875 · INFO · htb-control · automation
角色“横扫千军”优先攻击带“爆炸”的敌方“海星喽啰·爆炸”(ID 3,阵位 0,气血 不可读)
2026-08-27 18:08:03.874 · INFO · htb-control · automation
角色“横扫千军”优先攻击带“爆炸”的敌方“海星喽啰·爆炸”(ID 3,阵位 0,气血 不可读) | data: {"kind":"BATTLE_SELECT_TARGET","action_id":"plot\/generic_battle#36","argument":"海星喽啰·爆炸","secondary_argument":"3"}
2026-08-27 18:08:03.853 · INFO · htb-control · automation
immediate_confirmed | data: {"action":"battle_select_magic","slot":2,"id":1091,"name":"横扫千军","message_id":12,"status":"confirmed","accepted":true,"before":{"round":1,"actor_id":1,"phase":"role","command_visible":false,"order_invalid":false,"target_selection":false,"magic_visible":true,"item_visible":false,"auto_active":false},"after":{"round":1,"actor_id":1,"phase":"role","command_visible":false,"order_invalid":false,"target_selection":true,"magic_visible":true,"item_visible":false,"auto_active":false},"attempt":0,"max_retries":3}
2026-08-27 18:08:03.662 · INFO · htb-control · automation
电量=87% · 充电=true · 停止充电成功(当前 87%):/sys/class/power_supply/battery/input_suspend=1 /system/bin/sh: can't create /sys/class/power_supply/dc/input_suspend: Permission denied
2026-08-27 18:08:03.494 · INFO · htb-control · automation
Frida JS heartbeat | data: {"sequence":710,"js_time_ms":1787825283330,"active_request":null}
2026-08-27 18:08:03.333 · INFO · htb-control · automation
选择门派主攻技能“横扫千军”
2026-08-27 18:08:03.333 · INFO · htb-control · automation
选择门派主攻技能“横扫千军” | data: {"kind":"BATTLE_SELECT_MAGIC","action_id":"plot\/generic_battle#36","argument":"横扫千军","secondary_argument":""}
2026-08-27 18:08:03.310 · INFO · htb-control · automation
response_snapshot_confirmed | data: {"action":"battle_magic","panel":"Dlgwar","actor_id":1,"status":"pending_confirmation","accepted":false,"before":{"round":1,"actor_id":1,"phase":"role","command_visible":true,"order_invalid":false,"target_selection":false,"magic_visible":false,"item_visible":false,"auto_active":false},"after":{"round":1,"actor_id":1,"phase":"role","command_visible":false,"order_invalid":false,"target_selection":false,"magic_visible":true,"item_visible":false,"auto_active":false},"attempt":0,"max_retries":3}
2026-08-27 18:08:03.281 · INFO · htb-control · automation
自动寻路中 · 场景 1198 · (97, 37)
2026-08-27 18:08:03.280 · INFO · htb-control · automation
自动寻路中 · 场景 1198 · (97, 37) | data: {"kind":"WAIT","action_id":"newbie\/task_navigation#92","argument":"","secondary_argument":""}
2026-08-27 18:08:03.266 · INFO · htb-control · automation
#Y风风火火奔跑中(大唐官府→#G程咬金府#l) | data: {"active":false,"fingerprint":"free_message_box|<utils.VMessageBox object at 0x7901d63260>|#Y风风火火奔跑中(大唐官府→#G程咬金府#l)","profile":"navigation"}