|
|
|
|
[GOID:54] [ERROR] 2024-01-18 18:57:57 [/pkg/dapi/base.go:146] <*runtime.TypeAssertionError Value> goroutine 54 [running]:
|
|
|
|
|
epur-pay/pkg/dapi.apiProxy.func1()
|
|
|
|
|
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:144 +0x6c
|
|
|
|
|
panic({0x101cf82a0?, 0x14000841500?})
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/runtime/panic.go:914 +0x218
|
|
|
|
|
epur-pay/model.(*HttpParams).Get1(0x101cdb780?, {0x1400067fb00?, 0x4, 0x6})
|
|
|
|
|
/Users/tc/Desktop/epur-pay/model/http.go:245 +0xc00
|
|
|
|
|
epur-pay/model.(*Http).Do(0x140004dc2a0)
|
|
|
|
|
/Users/tc/Desktop/epur-pay/model/http.go:37 +0x430
|
|
|
|
|
epur-pay/api.Test(0x140005e42d0, 0x140004dc2a0)
|
|
|
|
|
/Users/tc/Desktop/epur-pay/api/test.go:30 +0xe0
|
|
|
|
|
reflect.Value.call({0x101cbd340?, 0x101e45068?, 0x101e3da40?}, {0x101798b84, 0x4}, {0x14000841230, 0x2, 0x16?})
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/reflect/value.go:596 +0x994
|
|
|
|
|
reflect.Value.Call({0x101cbd340?, 0x101e45068?, 0x10252d368?}, {0x14000841230?, 0x10252d360?, 0x1?})
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/reflect/value.go:380 +0x94
|
|
|
|
|
epur-pay/pkg/dapi.(*ApiBase).apiHandler(0x140005e42d0)
|
|
|
|
|
/Users/tc/Desktop/epur-pay/pkg/dapi/utils.go:31 +0x104
|
|
|
|
|
epur-pay/pkg/dapi.(*ApiBase).apiRunEx(0x140001e1668?)
|
|
|
|
|
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:61 +0x40
|
|
|
|
|
epur-pay/pkg/dapi.(*ApiBase).apiRun(0x140005e42d0)
|
|
|
|
|
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:107 +0x54
|
|
|
|
|
epur-pay/pkg/dapi.(*ApiBase).apiMain(0x101cd3620?)
|
|
|
|
|
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:119 +0x2c
|
|
|
|
|
epur-pay/pkg/dapi.apiProxy(0x140005e42d0)
|
|
|
|
|
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:154 +0x4c
|
|
|
|
|
epur-pay/pkg/dapi.ApiDecorator.func1(0x140007aa100)
|
|
|
|
|
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:135 +0x18c
|
|
|
|
|
github.com/gin-gonic/gin.(*Context).Next(...)
|
|
|
|
|
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
|
|
|
|
|
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0x140007aa100)
|
|
|
|
|
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x80
|
|
|
|
|
github.com/gin-gonic/gin.(*Context).Next(...)
|
|
|
|
|
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
|
|
|
|
|
github.com/gin-contrib/gzip.(*gzipHandler).Handle(0x14000776090, 0x140007aa100)
|
|
|
|
|
/Users/tc/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.6/handler.go:60 +0x290
|
|
|
|
|
github.com/gin-gonic/gin.(*Context).Next(0x140007aa100)
|
|
|
|
|
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x3c
|
|
|
|
|
epur-pay/router.Router.Logs.func1(0x140007aa100)
|
|
|
|
|
/Users/tc/Desktop/epur-pay/router/middleware.go:39 +0x38
|
|
|
|
|
github.com/gin-gonic/gin.(*Context).Next(...)
|
|
|
|
|
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
|
|
|
|
|
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0x14000583040, 0x140007aa100)
|
|
|
|
|
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x524
|
|
|
|
|
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x14000583040, {0x101e539d0?, 0x140007a2540}, 0x140007aa400)
|
|
|
|
|
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1a0
|
|
|
|
|
net/http.serverHandler.ServeHTTP({0x101e4ef28?}, {0x101e539d0?, 0x140007a2540?}, 0x6?)
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2938 +0xbc
|
|
|
|
|
net/http.(*conn).serve(0x140008602d0, {0x101e55428, 0x14000840450})
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2009 +0x518
|
|
|
|
|
created by net/http.(*Server).Serve in goroutine 66
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3086 +0x4cc
|
|
|
|
|
|
|
|
|
|
goroutine 1 [chan receive]:
|
|
|
|
|
epur-pay/pkg/server.(*App).WaitServerAppListen(0x14000823800)
|
|
|
|
|
/Users/tc/Desktop/epur-pay/pkg/server/api.go:21 +0x78
|
|
|
|
|
main.main()
|
|
|
|
|
/Users/tc/Desktop/epur-pay/main.go:35 +0x26c
|
|
|
|
|
|
|
|
|
|
goroutine 10 [select]:
|
|
|
|
|
database/sql.(*DB).connectionOpener(0x140005af040, {0x101e55460, 0x14000825450})
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1218 +0x80
|
|
|
|
|
created by database/sql.OpenDB in goroutine 1
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:791 +0x158
|
|
|
|
|
|
|
|
|
|
goroutine 50 [select]:
|
|
|
|
|
github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher.func1()
|
|
|
|
|
/Users/tc/go/pkg/mod/github.com/go-sql-driver/mysql@v1.7.0/connection.go:614 +0x7c
|
|
|
|
|
created by github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher in goroutine 1
|
|
|
|
|
/Users/tc/go/pkg/mod/github.com/go-sql-driver/mysql@v1.7.0/connection.go:611 +0xf8
|
|
|
|
|
|
|
|
|
|
goroutine 14 [select]:
|
|
|
|
|
database/sql.(*DB).connectionCleaner(0x140005af040, 0x0?)
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1061 +0x90
|
|
|
|
|
created by database/sql.(*DB).startCleanerLocked in goroutine 1
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1048 +0xf8
|
|
|
|
|
|
|
|
|
|
goroutine 51 [chan receive]:
|
|
|
|
|
epur-pay/pkg/mq.(*Async).Consumer.func1({0x1017a9b4d?, 0x0?}, 0x101e44fc8)
|
|
|
|
|
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:134 +0x94
|
|
|
|
|
created by epur-pay/pkg/mq.(*Async).Consumer in goroutine 16
|
|
|
|
|
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:130 +0xe0
|
|
|
|
|
|
|
|
|
|
goroutine 23 [syscall]:
|
|
|
|
|
os/signal.signal_recv()
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/runtime/sigqueue.go:149 +0x2c
|
|
|
|
|
os/signal.loop()
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/os/signal/signal_unix.go:23 +0x1c
|
|
|
|
|
created by os/signal.Notify.func1.1 in goroutine 1
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/os/signal/signal.go:151 +0x28
|
|
|
|
|
|
|
|
|
|
goroutine 66 [IO wait]:
|
|
|
|
|
internal/poll.runtime_pollWait(0x1097c4d40, 0x72)
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
|
|
|
|
|
internal/poll.(*pollDesc).wait(0x14000858080?, 0x0?, 0x0)
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_poll_runtime.go:84 +0x28
|
|
|
|
|
internal/poll.(*pollDesc).waitRead(...)
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_poll_runtime.go:89
|
|
|
|
|
internal/poll.(*FD).Accept(0x14000858080)
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:611 +0x250
|
|
|
|
|
net.(*netFD).accept(0x14000858080)
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/net/fd_unix.go:172 +0x28
|
|
|
|
|
net.(*TCPListener).accept(0x1400078c260)
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/net/tcpsock_posix.go:152 +0x28
|
|
|
|
|
net.(*TCPListener).Accept(0x1400078c260)
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/net/tcpsock.go:315 +0x2c
|
|
|
|
|
net/http.(*Server).Serve(0x14000882780, {0x101e535b0, 0x1400078c260})
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3056 +0x2b8
|
|
|
|
|
net/http.(*Server).ListenAndServe(0x14000882780)
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2985 +0x84
|
|
|
|
|
epur-pay/pkg/server.(*App).ListenServerApp.func1(0x0?)
|
|
|
|
|
/Users/tc/Desktop/epur-pay/pkg/server/api.go:39 +0x1c
|
|
|
|
|
created by epur-pay/pkg/server.(*App).ListenServerApp in goroutine 1
|
|
|
|
|
/Users/tc/Desktop/epur-pay/pkg/server/api.go:38 +0x3c
|
|
|
|
|
|
|
|
|
|
goroutine 55 [IO wait]:
|
|
|
|
|
internal/poll.runtime_pollWait(0x1097c4c48, 0x72)
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
|
|
|
|
|
internal/poll.(*pollDesc).wait(0x14000858300?, 0x140008408e1?, 0x0)
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_poll_runtime.go:84 +0x28
|
|
|
|
|
internal/poll.(*pollDesc).waitRead(...)
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_poll_runtime.go:89
|
|
|
|
|
internal/poll.(*FD).Read(0x14000858300, {0x140008408e1, 0x1, 0x1})
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:164 +0x200
|
|
|
|
|
net.(*netFD).Read(0x14000858300, {0x140008408e1?, 0x101cf7fa0?, 0x101d1db40?})
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/net/fd_posix.go:55 +0x28
|
|
|
|
|
net.(*conn).Read(0x140001944b0, {0x140008408e1?, 0x101797f01?, 0x140005da370?})
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/net/net.go:179 +0x34
|
|
|
|
|
net/http.(*connReader).backgroundRead(0x140008408d0)
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/net/http/server.go:683 +0x40
|
|
|
|
|
created by net/http.(*connReader).startBackgroundRead in goroutine 54
|
|
|
|
|
/Users/tc/sdk/go1.21.2/src/net/http/server.go:679 +0xc8
|
|
|
|
|
|