You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1515 lines
834 KiB

1 month ago
[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
[GOID:28] [ERROR] 2024-01-18 19:02:28 [/pkg/dapi/base.go:146] <*runtime.TypeAssertionError Value> goroutine 28 [running]:
epur-pay/pkg/dapi.apiProxy.func1()
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:144 +0x74
panic({0x103c2f540?, 0x140005d5a70?})
/Users/tc/sdk/go1.21.2/src/runtime/panic.go:920 +0x254
epur-pay/model.(*HttpParams).Get1(0x14000928630, {0x1400081a900, 0x4, 0x6})
/Users/tc/Desktop/epur-pay/model/http.go:245 +0x1b50
epur-pay/model.(*Http).Do(0x14000414690)
/Users/tc/Desktop/epur-pay/model/http.go:37 +0x62c
epur-pay/api.Test(0x140009021e0, 0x14000414690)
/Users/tc/Desktop/epur-pay/api/test.go:30 +0x68
reflect.Value.call({0x103bf3ee0, 0x103d82d48, 0x13}, {0x10366116c, 0x4}, {0x140005d57a0, 0x2, 0x2})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:596 +0x9e8
reflect.Value.Call({0x103bf3ee0, 0x103d82d48, 0x13}, {0x140005d57a0, 0x2, 0x2})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:380 +0x74
epur-pay/pkg/dapi.(*ApiBase).apiHandler(0x140009021e0)
/Users/tc/Desktop/epur-pay/pkg/dapi/utils.go:31 +0x198
epur-pay/pkg/dapi.(*ApiBase).apiRunEx(0x140009021e0)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:61 +0x90
epur-pay/pkg/dapi.(*ApiBase).apiRun(0x140009021e0)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:107 +0x1b0
epur-pay/pkg/dapi.(*ApiBase).apiMain(0x140009021e0)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:119 +0x58
epur-pay/pkg/dapi.apiProxy(0x140009021e0)
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:154 +0x68
epur-pay/pkg/dapi.ApiDecorator.func1(0x1400091a100)
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:135 +0x2b8
github.com/gin-gonic/gin.(*Context).Next(0x1400091a100)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x98
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0x1400091a100)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x98
github.com/gin-gonic/gin.(*Context).Next(0x1400091a100)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x98
github.com/gin-contrib/gzip.(*gzipHandler).Handle(0x140007837a0, 0x1400091a100)
/Users/tc/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.6/handler.go:60 +0x428
github.com/gin-gonic/gin.(*Context).Next(0x1400091a100)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x98
epur-pay/router.Logs.func1(0x1400091a100)
/Users/tc/Desktop/epur-pay/router/middleware.go:39 +0x3c
github.com/gin-gonic/gin.(*Context).Next(0x1400091a100)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x98
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0x14000497a00, 0x1400091a100)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x36c
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x14000497a00, {0x103d918d0, 0x140005f6a80}, 0x1400091a400)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0xc0
net/http.serverHandler.ServeHTTP({0x140005f22d0}, {0x103d918d0, 0x140005f6a80}, 0x1400091a400)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2938 +0x2a0
net/http.(*conn).serve(0x14000068240, {0x103d93358, 0x14000814230})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2009 +0x155c
created by net/http.(*Server).Serve in goroutine 53
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3086 +0x7f8
goroutine 1 [chan receive, 4 minutes]:
epur-pay/pkg/server.(*App).WaitServerAppListen(0x140006a7c80)
/Users/tc/Desktop/epur-pay/pkg/server/api.go:21 +0x94
main.main()
/Users/tc/Desktop/epur-pay/main.go:35 +0xf0
goroutine 6 [select, 4 minutes]:
database/sql.(*DB).connectionOpener(0x140004a11e0, {0x103d93358, 0x140006c4c80})
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1218 +0x9c
created by database/sql.OpenDB in goroutine 1
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:791 +0x2e0
goroutine 50 [select]:
database/sql.(*DB).connectionCleaner(0x140004a11e0, 0xdf8475800)
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1061 +0xc8
created by database/sql.(*DB).startCleanerLocked in goroutine 1
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1048 +0x190
goroutine 11 [chan receive, 4 minutes]:
epur-pay/pkg/mq.(*Async).Consumer.func1({0x103672311, 0xd}, 0x103d82cf0)
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:134 +0xf0
created by epur-pay/pkg/mq.(*Async).Consumer in goroutine 52
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:130 +0x28c
goroutine 53 [runnable]:
net.sockaddrToTCP({0x103d88f08, 0x14000982000})
/Users/tc/sdk/go1.21.2/src/net/tcpsock_posix.go:21 +0x250
net.(*netFD).accept(0x1400088a000)
/Users/tc/sdk/go1.21.2/src/net/fd_unix.go:189 +0x2a8
net.(*TCPListener).accept(0x1400088e000)
/Users/tc/sdk/go1.21.2/src/net/tcpsock_posix.go:152 +0x44
net.(*TCPListener).Accept(0x1400088e000)
/Users/tc/sdk/go1.21.2/src/net/tcpsock.go:315 +0x4c
net/http.(*Server).Serve(0x140005f22d0, {0x103d914e0, 0x1400088e000})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3056 +0x3d4
net/http.(*Server).ListenAndServe(0x140005f22d0)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2985 +0x134
epur-pay/pkg/server.(*App).ListenServerApp.func1(0x140005f22d0)
/Users/tc/Desktop/epur-pay/pkg/server/api.go:39 +0x24
created by epur-pay/pkg/server.(*App).ListenServerApp in goroutine 1
/Users/tc/Desktop/epur-pay/pkg/server/api.go:38 +0x11c
goroutine 29 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0xe?, 0x72)
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0x44
internal/poll.(*pollDesc).wait(0x14000914220, 0x72, 0x0)
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_poll_runtime.go:84 +0x84
internal/poll.(*pollDesc).waitRead(0x14000914220, 0x0)
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_poll_runtime.go:89 +0x34
internal/poll.(*FD).Read(0x14000914200, {0x140005d4e51, 0x1, 0x1})
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:164 +0x308
net.(*netFD).Read(0x14000914200, {0x140005d4e51, 0x1, 0x1})
/Users/tc/sdk/go1.21.2/src/net/fd_posix.go:55 +0x54
net.(*conn).Read(0x140005260c8, {0x140005d4e51, 0x1, 0x1})
/Users/tc/sdk/go1.21.2/src/net/net.go:179 +0x6c
net/http.(*connReader).backgroundRead(0x140005d4e40)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:683 +0x74
created by net/http.(*connReader).startBackgroundRead in goroutine 28
/Users/tc/sdk/go1.21.2/src/net/http/server.go:679 +0x150
goroutine 66 [syscall, 4 minutes]:
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 +0x24
created by os/signal.Notify.func1.1 in goroutine 1
/Users/tc/sdk/go1.21.2/src/os/signal/signal.go:151 +0x34
[GOID:14] [ERROR] 2024-01-18 19:50:29 [/pkg/dapi/base.go:146] sql: Scan error on column index 3, name "pay_requests": json: cannot unmarshal object into Go struct field HttpParamsValue.customPool.value.tools of type string goroutine 14 [running]:
epur-pay/pkg/dapi.apiProxy.func1()
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:144 +0x6c
panic({0x10114fe20?, 0x140007c4e50?})
/Users/tc/sdk/go1.21.2/src/runtime/panic.go:914 +0x218
epur-pay/pkg/utils.Error(...)
/Users/tc/Desktop/epur-pay/pkg/utils/error.go:7
epur-pay/api.GetPayChannel(0x140007d02d0)
/Users/tc/Desktop/epur-pay/api/payChannel.go:24 +0x230
reflect.Value.call({0x10115f6a0?, 0x101318f30?, 0x101311920?}, {0x100c6aea4, 0x4}, {0x140007c61b0, 0x1, 0x16?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:596 +0x994
reflect.Value.Call({0x10115f6a0?, 0x101318f30?, 0x10126e040?}, {0x140007c61b0?, 0x100c6c452?, 0x5?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:380 +0x94
epur-pay/pkg/dapi.(*ApiBase).apiHandler(0x140007d02d0)
/Users/tc/Desktop/epur-pay/pkg/dapi/utils.go:26 +0x84
epur-pay/pkg/dapi.(*ApiBase).apiRunEx(0x1400085b668?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:61 +0x40
epur-pay/pkg/dapi.(*ApiBase).apiRun(0x140007d02d0)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:107 +0x54
epur-pay/pkg/dapi.(*ApiBase).apiMain(0x1400085b698?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:119 +0x2c
epur-pay/pkg/dapi.apiProxy(0x140007d02d0)
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:154 +0x4c
epur-pay/pkg/dapi.ApiDecorator.func1(0x140000f0700)
/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(0x140000f0700)
/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(0x140007c80f0, 0x140000f0700)
/Users/tc/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.6/handler.go:60 +0x290
github.com/gin-gonic/gin.(*Context).Next(0x140000f0700)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x3c
epur-pay/router.Router.Logs.func1(0x140000f0700)
/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(0x14000093520, 0x140000f0700)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x524
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x14000093520, {0x1013278b0?, 0x140008a4380}, 0x140000f0500)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1a0
net/http.serverHandler.ServeHTTP({0x101322e08?}, {0x1013278b0?, 0x140008a4380?}, 0x6?)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2938 +0xbc
net/http.(*conn).serve(0x14000778000, {0x101329308, 0x1400067c390})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2009 +0x518
created by net/http.(*Server).Serve in goroutine 25
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3086 +0x4cc
goroutine 1 [chan receive, 8 minutes]:
epur-pay/pkg/server.(*App).WaitServerAppListen(0x14000898a40)
/Users/tc/Desktop/epur-pay/pkg/server/api.go:21 +0x78
main.main()
/Users/tc/Desktop/epur-pay/main.go:35 +0x26c
goroutine 9 [select, 8 minutes]:
database/sql.(*DB).connectionOpener(0x140005345b0, {0x101329340, 0x1400089a780})
/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 13 [chan receive, 8 minutes]:
epur-pay/pkg/mq.(*Async).Consumer.func1({0x100c7be6d?, 0x2?}, 0x101318ea8)
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:134 +0x94
created by epur-pay/pkg/mq.(*Async).Consumer in goroutine 24
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:130 +0xe0
goroutine 51 [syscall, 8 minutes]:
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 28 [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 14
/Users/tc/go/pkg/mod/github.com/go-sql-driver/mysql@v1.7.0/connection.go:611 +0xf8
goroutine 25 [IO wait]:
internal/poll.runtime_pollWait(0x148cc28a8, 0x72)
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
internal/poll.(*pollDesc).wait(0x1400088eb80?, 0x1002fb014?, 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(0x1400088eb80)
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:611 +0x250
net.(*netFD).accept(0x1400088eb80)
/Users/tc/sdk/go1.21.2/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x14000896b20)
/Users/tc/sdk/go1.21.2/src/net/tcpsock_posix.go:152 +0x28
net.(*TCPListener).Accept(0x14000896b20)
/Users/tc/sdk/go1.21.2/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x140007d0000, {0x101327490, 0x14000896b20})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3056 +0x2b8
net/http.(*Server).ListenAndServe(0x140007d0000)
/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 82 [select]:
database/sql.(*DB).connectionCleaner(0x140005345b0, 0x0?)
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1061 +0x90
created by database/sql.(*DB).startCleanerLocked in goroutine 14
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1048 +0xf8
[GOID:14] [ERROR] 2024-01-18 19:51:04 [/pkg/dapi/base.go:146] sql: Scan error on column index 3, name "pay_requests": json: cannot unmarshal object into Go struct field HttpParamsValue.customPool.value.tools of type string goroutine 14 [running]:
epur-pay/pkg/dapi.apiProxy.func1()
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:144 +0x6c
panic({0x10114fe20?, 0x140005061d0?})
/Users/tc/sdk/go1.21.2/src/runtime/panic.go:914 +0x218
epur-pay/pkg/utils.Error(...)
/Users/tc/Desktop/epur-pay/pkg/utils/error.go:7
epur-pay/api.GetPayChannel(0x140008a25a0)
/Users/tc/Desktop/epur-pay/api/payChannel.go:24 +0x230
reflect.Value.call({0x10115f6a0?, 0x101318f30?, 0x101311920?}, {0x100c6aea4, 0x4}, {0x1400019fb78, 0x1, 0x16?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:596 +0x994
reflect.Value.Call({0x10115f6a0?, 0x101318f30?, 0x10126e040?}, {0x1400019fb78?, 0x100c6c452?, 0x5?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:380 +0x94
epur-pay/pkg/dapi.(*ApiBase).apiHandler(0x140008a25a0)
/Users/tc/Desktop/epur-pay/pkg/dapi/utils.go:26 +0x84
epur-pay/pkg/dapi.(*ApiBase).apiRunEx(0x14000875668?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:61 +0x40
epur-pay/pkg/dapi.(*ApiBase).apiRun(0x140008a25a0)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:107 +0x54
epur-pay/pkg/dapi.(*ApiBase).apiMain(0x14000875698?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:119 +0x2c
epur-pay/pkg/dapi.apiProxy(0x140008a25a0)
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:154 +0x4c
epur-pay/pkg/dapi.ApiDecorator.func1(0x140000f0200)
/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(0x140000f0200)
/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(0x140007c80f0, 0x140000f0200)
/Users/tc/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.6/handler.go:60 +0x290
github.com/gin-gonic/gin.(*Context).Next(0x140000f0200)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x3c
epur-pay/router.Router.Logs.func1(0x140000f0200)
/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(0x14000093520, 0x140000f0200)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x524
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x14000093520, {0x1013278b0?, 0x140002255e0}, 0x1400010a800)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1a0
net/http.serverHandler.ServeHTTP({0x101322e08?}, {0x1013278b0?, 0x140002255e0?}, 0x6?)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2938 +0xbc
net/http.(*conn).serve(0x14000778000, {0x101329308, 0x1400067c390})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2009 +0x518
created by net/http.(*Server).Serve in goroutine 25
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3086 +0x4cc
goroutine 1 [chan receive, 8 minutes]:
epur-pay/pkg/server.(*App).WaitServerAppListen(0x14000898a40)
/Users/tc/Desktop/epur-pay/pkg/server/api.go:21 +0x78
main.main()
/Users/tc/Desktop/epur-pay/main.go:35 +0x26c
goroutine 9 [select, 8 minutes]:
database/sql.(*DB).connectionOpener(0x140005345b0, {0x101329340, 0x1400089a780})
/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 13 [chan receive, 8 minutes]:
epur-pay/pkg/mq.(*Async).Consumer.func1({0x100c7be6d?, 0x2?}, 0x101318ea8)
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:134 +0x94
created by epur-pay/pkg/mq.(*Async).Consumer in goroutine 24
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:130 +0xe0
goroutine 51 [syscall, 8 minutes]:
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 28 [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 14
/Users/tc/go/pkg/mod/github.com/go-sql-driver/mysql@v1.7.0/connection.go:611 +0xf8
goroutine 25 [IO wait]:
internal/poll.runtime_pollWait(0x148cc28a8, 0x72)
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
internal/poll.(*pollDesc).wait(0x1400088eb80?, 0x1002fb014?, 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(0x1400088eb80)
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:611 +0x250
net.(*netFD).accept(0x1400088eb80)
/Users/tc/sdk/go1.21.2/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x14000896b20)
/Users/tc/sdk/go1.21.2/src/net/tcpsock_posix.go:152 +0x28
net.(*TCPListener).Accept(0x14000896b20)
/Users/tc/sdk/go1.21.2/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x140007d0000, {0x101327490, 0x14000896b20})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3056 +0x2b8
net/http.(*Server).ListenAndServe(0x140007d0000)
/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 82 [select]:
database/sql.(*DB).connectionCleaner(0x140005345b0, 0x0?)
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1061 +0x90
created by database/sql.(*DB).startCleanerLocked in goroutine 14
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1048 +0xf8
[GOID:14] [ERROR] 2024-01-18 19:51:36 [/pkg/dapi/base.go:146] sql: Scan error on column index 3, name "pay_requests": json: cannot unmarshal object into Go struct field HttpParamsValue.customPool.value.tools of type string goroutine 14 [running]:
epur-pay/pkg/dapi.apiProxy.func1()
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:144 +0x6c
panic({0x10114fe20?, 0x140005069d0?})
/Users/tc/sdk/go1.21.2/src/runtime/panic.go:914 +0x218
epur-pay/pkg/utils.Error(...)
/Users/tc/Desktop/epur-pay/pkg/utils/error.go:7
epur-pay/api.GetPayChannel(0x140008a2000)
/Users/tc/Desktop/epur-pay/api/payChannel.go:24 +0x230
reflect.Value.call({0x10115f6a0?, 0x101318f30?, 0x101311920?}, {0x100c6aea4, 0x4}, {0x140000e60c0, 0x1, 0x16?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:596 +0x994
reflect.Value.Call({0x10115f6a0?, 0x101318f30?, 0x10126e040?}, {0x140000e60c0?, 0x100c6c452?, 0x5?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:380 +0x94
epur-pay/pkg/dapi.(*ApiBase).apiHandler(0x140008a2000)
/Users/tc/Desktop/epur-pay/pkg/dapi/utils.go:26 +0x84
epur-pay/pkg/dapi.(*ApiBase).apiRunEx(0x14000857668?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:61 +0x40
epur-pay/pkg/dapi.(*ApiBase).apiRun(0x140008a2000)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:107 +0x54
epur-pay/pkg/dapi.(*ApiBase).apiMain(0x14000857698?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:119 +0x2c
epur-pay/pkg/dapi.apiProxy(0x140008a2000)
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:154 +0x4c
epur-pay/pkg/dapi.ApiDecorator.func1(0x1400010a500)
/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(0x1400010a500)
/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(0x140007c80f0, 0x1400010a500)
/Users/tc/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.6/handler.go:60 +0x290
github.com/gin-gonic/gin.(*Context).Next(0x1400010a500)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x3c
epur-pay/router.Router.Logs.func1(0x1400010a500)
/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(0x14000093520, 0x1400010a500)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x524
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x14000093520, {0x1013278b0?, 0x140008a41c0}, 0x1400010a700)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1a0
net/http.serverHandler.ServeHTTP({0x101322e08?}, {0x1013278b0?, 0x140008a41c0?}, 0x6?)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2938 +0xbc
net/http.(*conn).serve(0x14000778000, {0x101329308, 0x1400067c390})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2009 +0x518
created by net/http.(*Server).Serve in goroutine 25
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3086 +0x4cc
goroutine 1 [chan receive, 9 minutes]:
epur-pay/pkg/server.(*App).WaitServerAppListen(0x14000898a40)
/Users/tc/Desktop/epur-pay/pkg/server/api.go:21 +0x78
main.main()
/Users/tc/Desktop/epur-pay/main.go:35 +0x26c
goroutine 9 [select, 9 minutes]:
database/sql.(*DB).connectionOpener(0x140005345b0, {0x101329340, 0x1400089a780})
/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 13 [chan receive, 9 minutes]:
epur-pay/pkg/mq.(*Async).Consumer.func1({0x100c7be6d?, 0x2?}, 0x101318ea8)
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:134 +0x94
created by epur-pay/pkg/mq.(*Async).Consumer in goroutine 24
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:130 +0xe0
goroutine 51 [syscall, 9 minutes]:
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 25 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x148cc28a8, 0x72)
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
internal/poll.(*pollDesc).wait(0x1400088eb80?, 0x1002fb014?, 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(0x1400088eb80)
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:611 +0x250
net.(*netFD).accept(0x1400088eb80)
/Users/tc/sdk/go1.21.2/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x14000896b20)
/Users/tc/sdk/go1.21.2/src/net/tcpsock_posix.go:152 +0x28
net.(*TCPListener).Accept(0x14000896b20)
/Users/tc/sdk/go1.21.2/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x140007d0000, {0x101327490, 0x14000896b20})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3056 +0x2b8
net/http.(*Server).ListenAndServe(0x140007d0000)
/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 82 [select]:
database/sql.(*DB).connectionCleaner(0x140005345b0, 0x0?)
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1061 +0x90
created by database/sql.(*DB).startCleanerLocked in goroutine 14
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1048 +0xf8
goroutine 77 [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 14
/Users/tc/go/pkg/mod/github.com/go-sql-driver/mysql@v1.7.0/connection.go:611 +0xf8
[GOID:14] [ERROR] 2024-01-18 19:51:36 [/pkg/dapi/base.go:146] sql: Scan error on column index 3, name "pay_requests": json: cannot unmarshal object into Go struct field HttpParamsValue.customPool.value.tools of type string goroutine 14 [running]:
epur-pay/pkg/dapi.apiProxy.func1()
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:144 +0x6c
panic({0x10114fe20?, 0x140006306b0?})
/Users/tc/sdk/go1.21.2/src/runtime/panic.go:914 +0x218
epur-pay/pkg/utils.Error(...)
/Users/tc/Desktop/epur-pay/pkg/utils/error.go:7
epur-pay/api.GetPayChannel(0x140007d00f0)
/Users/tc/Desktop/epur-pay/api/payChannel.go:24 +0x230
reflect.Value.call({0x10115f6a0?, 0x101318f30?, 0x101311920?}, {0x100c6aea4, 0x4}, {0x1400000e138, 0x1, 0x16?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:596 +0x994
reflect.Value.Call({0x10115f6a0?, 0x101318f30?, 0x10126e040?}, {0x1400000e138?, 0x100c6c452?, 0x5?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:380 +0x94
epur-pay/pkg/dapi.(*ApiBase).apiHandler(0x140007d00f0)
/Users/tc/Desktop/epur-pay/pkg/dapi/utils.go:26 +0x84
epur-pay/pkg/dapi.(*ApiBase).apiRunEx(0x14000607668?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:61 +0x40
epur-pay/pkg/dapi.(*ApiBase).apiRun(0x140007d00f0)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:107 +0x54
epur-pay/pkg/dapi.(*ApiBase).apiMain(0x14000607698?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:119 +0x2c
epur-pay/pkg/dapi.apiProxy(0x140007d00f0)
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:154 +0x4c
epur-pay/pkg/dapi.ApiDecorator.func1(0x1400010a500)
/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(0x1400010a500)
/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(0x140007c80f0, 0x1400010a500)
/Users/tc/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.6/handler.go:60 +0x290
github.com/gin-gonic/gin.(*Context).Next(0x1400010a500)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x3c
epur-pay/router.Router.Logs.func1(0x1400010a500)
/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(0x14000093520, 0x1400010a500)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x524
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x14000093520, {0x1013278b0?, 0x1400061c000}, 0x140007fe000)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1a0
net/http.serverHandler.ServeHTTP({0x101322e08?}, {0x1013278b0?, 0x1400061c000?}, 0x6?)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2938 +0xbc
net/http.(*conn).serve(0x14000778000, {0x101329308, 0x1400067c390})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2009 +0x518
created by net/http.(*Server).Serve in goroutine 25
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3086 +0x4cc
goroutine 1 [chan receive, 9 minutes]:
epur-pay/pkg/server.(*App).WaitServerAppListen(0x14000898a40)
/Users/tc/Desktop/epur-pay/pkg/server/api.go:21 +0x78
main.main()
/Users/tc/Desktop/epur-pay/main.go:35 +0x26c
goroutine 9 [select, 9 minutes]:
database/sql.(*DB).connectionOpener(0x140005345b0, {0x101329340, 0x1400089a780})
/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 13 [chan receive, 9 minutes]:
epur-pay/pkg/mq.(*Async).Consumer.func1({0x100c7be6d?, 0x2?}, 0x101318ea8)
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:134 +0x94
created by epur-pay/pkg/mq.(*Async).Consumer in goroutine 24
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:130 +0xe0
goroutine 51 [syscall, 9 minutes]:
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 25 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x148cc28a8, 0x72)
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
internal/poll.(*pollDesc).wait(0x1400088eb80?, 0x1002fb014?, 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(0x1400088eb80)
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:611 +0x250
net.(*netFD).accept(0x1400088eb80)
/Users/tc/sdk/go1.21.2/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x14000896b20)
/Users/tc/sdk/go1.21.2/src/net/tcpsock_posix.go:152 +0x28
net.(*TCPListener).Accept(0x14000896b20)
/Users/tc/sdk/go1.21.2/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x140007d0000, {0x101327490, 0x14000896b20})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3056 +0x2b8
net/http.(*Server).ListenAndServe(0x140007d0000)
/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 82 [select]:
database/sql.(*DB).connectionCleaner(0x140005345b0, 0x0?)
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1061 +0x90
created by database/sql.(*DB).startCleanerLocked in goroutine 14
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1048 +0xf8
goroutine 77 [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 14
/Users/tc/go/pkg/mod/github.com/go-sql-driver/mysql@v1.7.0/connection.go:611 +0xf8
[GOID:14] [ERROR] 2024-01-18 19:51:37 [/pkg/dapi/base.go:146] sql: Scan error on column index 3, name "pay_requests": json: cannot unmarshal object into Go struct field HttpParamsValue.customPool.value.tools of type string goroutine 14 [running]:
epur-pay/pkg/dapi.apiProxy.func1()
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:144 +0x6c
panic({0x10114fe20?, 0x1400071e900?})
/Users/tc/sdk/go1.21.2/src/runtime/panic.go:914 +0x218
epur-pay/pkg/utils.Error(...)
/Users/tc/Desktop/epur-pay/pkg/utils/error.go:7
epur-pay/api.GetPayChannel(0x140008a24b0)
/Users/tc/Desktop/epur-pay/api/payChannel.go:24 +0x230
reflect.Value.call({0x10115f6a0?, 0x101318f30?, 0x101311920?}, {0x100c6aea4, 0x4}, {0x140000e6198, 0x1, 0x16?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:596 +0x994
reflect.Value.Call({0x10115f6a0?, 0x101318f30?, 0x10126e040?}, {0x140000e6198?, 0x100c6c452?, 0x5?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:380 +0x94
epur-pay/pkg/dapi.(*ApiBase).apiHandler(0x140008a24b0)
/Users/tc/Desktop/epur-pay/pkg/dapi/utils.go:26 +0x84
epur-pay/pkg/dapi.(*ApiBase).apiRunEx(0x14000607668?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:61 +0x40
epur-pay/pkg/dapi.(*ApiBase).apiRun(0x140008a24b0)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:107 +0x54
epur-pay/pkg/dapi.(*ApiBase).apiMain(0x14000607698?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:119 +0x2c
epur-pay/pkg/dapi.apiProxy(0x140008a24b0)
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:154 +0x4c
epur-pay/pkg/dapi.ApiDecorator.func1(0x1400010ae00)
/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(0x1400010ae00)
/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(0x140007c80f0, 0x1400010ae00)
/Users/tc/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.6/handler.go:60 +0x290
github.com/gin-gonic/gin.(*Context).Next(0x1400010ae00)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x3c
epur-pay/router.Router.Logs.func1(0x1400010ae00)
/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(0x14000093520, 0x1400010ae00)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x524
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x14000093520, {0x1013278b0?, 0x140008a4380}, 0x1400010ac00)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1a0
net/http.serverHandler.ServeHTTP({0x101322e08?}, {0x1013278b0?, 0x140008a4380?}, 0x6?)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2938 +0xbc
net/http.(*conn).serve(0x14000778000, {0x101329308, 0x1400067c390})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2009 +0x518
created by net/http.(*Server).Serve in goroutine 25
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3086 +0x4cc
goroutine 1 [chan receive, 9 minutes]:
epur-pay/pkg/server.(*App).WaitServerAppListen(0x14000898a40)
/Users/tc/Desktop/epur-pay/pkg/server/api.go:21 +0x78
main.main()
/Users/tc/Desktop/epur-pay/main.go:35 +0x26c
goroutine 9 [select, 9 minutes]:
database/sql.(*DB).connectionOpener(0x140005345b0, {0x101329340, 0x1400089a780})
/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 13 [chan receive, 9 minutes]:
epur-pay/pkg/mq.(*Async).Consumer.func1({0x100c7be6d?, 0x2?}, 0x101318ea8)
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:134 +0x94
created by epur-pay/pkg/mq.(*Async).Consumer in goroutine 24
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:130 +0xe0
goroutine 51 [syscall, 9 minutes]:
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 25 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x148cc28a8, 0x72)
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
internal/poll.(*pollDesc).wait(0x1400088eb80?, 0x1002fb014?, 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(0x1400088eb80)
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:611 +0x250
net.(*netFD).accept(0x1400088eb80)
/Users/tc/sdk/go1.21.2/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x14000896b20)
/Users/tc/sdk/go1.21.2/src/net/tcpsock_posix.go:152 +0x28
net.(*TCPListener).Accept(0x14000896b20)
/Users/tc/sdk/go1.21.2/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x140007d0000, {0x101327490, 0x14000896b20})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3056 +0x2b8
net/http.(*Server).ListenAndServe(0x140007d0000)
/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 82 [select]:
database/sql.(*DB).connectionCleaner(0x140005345b0, 0x0?)
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1061 +0x90
created by database/sql.(*DB).startCleanerLocked in goroutine 14
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1048 +0xf8
goroutine 77 [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 14
/Users/tc/go/pkg/mod/github.com/go-sql-driver/mysql@v1.7.0/connection.go:611 +0xf8
[GOID:14] [ERROR] 2024-01-18 19:51:40 [/pkg/dapi/base.go:146] sql: Scan error on column index 3, name "pay_requests": json: cannot unmarshal object into Go struct field HttpParamsValue.customPool.value.tools of type string goroutine 14 [running]:
epur-pay/pkg/dapi.apiProxy.func1()
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:144 +0x6c
panic({0x10114fe20?, 0x140006311d0?})
/Users/tc/sdk/go1.21.2/src/runtime/panic.go:914 +0x218
epur-pay/pkg/utils.Error(...)
/Users/tc/Desktop/epur-pay/pkg/utils/error.go:7
epur-pay/api.GetPayChannel(0x140007d01e0)
/Users/tc/Desktop/epur-pay/api/payChannel.go:24 +0x230
reflect.Value.call({0x10115f6a0?, 0x101318f30?, 0x101311920?}, {0x100c6aea4, 0x4}, {0x1400000e5b8, 0x1, 0x16?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:596 +0x994
reflect.Value.Call({0x10115f6a0?, 0x101318f30?, 0x10126e040?}, {0x1400000e5b8?, 0x100c6c452?, 0x5?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:380 +0x94
epur-pay/pkg/dapi.(*ApiBase).apiHandler(0x140007d01e0)
/Users/tc/Desktop/epur-pay/pkg/dapi/utils.go:26 +0x84
epur-pay/pkg/dapi.(*ApiBase).apiRunEx(0x14000607668?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:61 +0x40
epur-pay/pkg/dapi.(*ApiBase).apiRun(0x140007d01e0)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:107 +0x54
epur-pay/pkg/dapi.(*ApiBase).apiMain(0x14000607698?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:119 +0x2c
epur-pay/pkg/dapi.apiProxy(0x140007d01e0)
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:154 +0x4c
epur-pay/pkg/dapi.ApiDecorator.func1(0x1400010a500)
/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(0x1400010a500)
/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(0x140007c80f0, 0x1400010a500)
/Users/tc/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.6/handler.go:60 +0x290
github.com/gin-gonic/gin.(*Context).Next(0x1400010a500)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x3c
epur-pay/router.Router.Logs.func1(0x1400010a500)
/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(0x14000093520, 0x1400010a500)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x524
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x14000093520, {0x1013278b0?, 0x1400061cd20}, 0x140007fe500)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1a0
net/http.serverHandler.ServeHTTP({0x101322e08?}, {0x1013278b0?, 0x1400061cd20?}, 0x6?)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2938 +0xbc
net/http.(*conn).serve(0x14000778000, {0x101329308, 0x1400067c390})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2009 +0x518
created by net/http.(*Server).Serve in goroutine 25
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3086 +0x4cc
goroutine 1 [chan receive, 9 minutes]:
epur-pay/pkg/server.(*App).WaitServerAppListen(0x14000898a40)
/Users/tc/Desktop/epur-pay/pkg/server/api.go:21 +0x78
main.main()
/Users/tc/Desktop/epur-pay/main.go:35 +0x26c
goroutine 9 [select, 9 minutes]:
database/sql.(*DB).connectionOpener(0x140005345b0, {0x101329340, 0x1400089a780})
/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 13 [chan receive, 9 minutes]:
epur-pay/pkg/mq.(*Async).Consumer.func1({0x100c7be6d?, 0x2?}, 0x101318ea8)
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:134 +0x94
created by epur-pay/pkg/mq.(*Async).Consumer in goroutine 24
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:130 +0xe0
goroutine 51 [syscall, 9 minutes]:
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 25 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x148cc28a8, 0x72)
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
internal/poll.(*pollDesc).wait(0x1400088eb80?, 0x1002fb014?, 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(0x1400088eb80)
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:611 +0x250
net.(*netFD).accept(0x1400088eb80)
/Users/tc/sdk/go1.21.2/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x14000896b20)
/Users/tc/sdk/go1.21.2/src/net/tcpsock_posix.go:152 +0x28
net.(*TCPListener).Accept(0x14000896b20)
/Users/tc/sdk/go1.21.2/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x140007d0000, {0x101327490, 0x14000896b20})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3056 +0x2b8
net/http.(*Server).ListenAndServe(0x140007d0000)
/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 82 [select]:
database/sql.(*DB).connectionCleaner(0x140005345b0, 0x0?)
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1061 +0x90
created by database/sql.(*DB).startCleanerLocked in goroutine 14
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1048 +0xf8
goroutine 77 [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 14
/Users/tc/go/pkg/mod/github.com/go-sql-driver/mysql@v1.7.0/connection.go:611 +0xf8
[GOID:21] [ERROR] 2024-01-18 20:03:34 [/pkg/dapi/base.go:146] sql: Scan error on column index 3, name "pay_requests": json: cannot unmarshal object into Go value of type model.PayRequests goroutine 21 [running]:
epur-pay/pkg/dapi.apiProxy.func1()
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:144 +0x6c
panic({0x1015fbe20?, 0x14000794ad0?})
/Users/tc/sdk/go1.21.2/src/runtime/panic.go:914 +0x218
epur-pay/pkg/utils.Error(...)
/Users/tc/Desktop/epur-pay/pkg/utils/error.go:7
epur-pay/api.GetPayChannel(0x140005f01e0)
/Users/tc/Desktop/epur-pay/api/payChannel.go:24 +0x230
reflect.Value.call({0x10160b6a0?, 0x1017c4f30?, 0x1017bd920?}, {0x1011172c4, 0x4}, {0x14000290af8, 0x1, 0x16?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:596 +0x994
reflect.Value.Call({0x10160b6a0?, 0x1017c4f30?, 0x10171a040?}, {0x14000290af8?, 0x101118872?, 0x5?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:380 +0x94
epur-pay/pkg/dapi.(*ApiBase).apiHandler(0x140005f01e0)
/Users/tc/Desktop/epur-pay/pkg/dapi/utils.go:26 +0x84
epur-pay/pkg/dapi.(*ApiBase).apiRunEx(0x14000169668?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:61 +0x40
epur-pay/pkg/dapi.(*ApiBase).apiRun(0x140005f01e0)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:107 +0x54
epur-pay/pkg/dapi.(*ApiBase).apiMain(0x14000169698?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:119 +0x2c
epur-pay/pkg/dapi.apiProxy(0x140005f01e0)
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:154 +0x4c
epur-pay/pkg/dapi.ApiDecorator.func1(0x1400058c100)
/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(0x1400058c100)
/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(0x1400076bc80, 0x1400058c100)
/Users/tc/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.6/handler.go:60 +0x290
github.com/gin-gonic/gin.(*Context).Next(0x1400058c100)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x3c
epur-pay/router.Router.Logs.func1(0x1400058c100)
/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(0x14000623d40, 0x1400058c100)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x524
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x14000623d40, {0x1017d38b0?, 0x140006c8700}, 0x1400058c400)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1a0
net/http.serverHandler.ServeHTTP({0x1017cee08?}, {0x1017d38b0?, 0x140006c8700?}, 0x6?)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2938 +0xbc
net/http.(*conn).serve(0x1400079c000, {0x1017d5308, 0x1400066a390})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2009 +0x518
created by net/http.(*Server).Serve in goroutine 57
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3086 +0x4cc
goroutine 1 [chan receive, 6 minutes]:
epur-pay/pkg/server.(*App).WaitServerAppListen(0x140001dd780)
/Users/tc/Desktop/epur-pay/pkg/server/api.go:21 +0x78
main.main()
/Users/tc/Desktop/epur-pay/main.go:35 +0x26c
goroutine 50 [select, 6 minutes]:
database/sql.(*DB).connectionOpener(0x140001245b0, {0x1017d5340, 0x140006585a0})
/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 42 [chan receive, 6 minutes]:
epur-pay/pkg/mq.(*Async).Consumer.func1({0x10112828d?, 0x0?}, 0x1017c4ea8)
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:134 +0x94
created by epur-pay/pkg/mq.(*Async).Consumer in goroutine 56
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:130 +0xe0
goroutine 9 [syscall, 6 minutes]:
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 57 [IO wait]:
internal/poll.runtime_pollWait(0x129059528, 0x72)
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
internal/poll.(*pollDesc).wait(0x140004fe080?, 0x1007a7014?, 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(0x140004fe080)
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:611 +0x250
net.(*netFD).accept(0x140004fe080)
/Users/tc/sdk/go1.21.2/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x1400015a000)
/Users/tc/sdk/go1.21.2/src/net/tcpsock_posix.go:152 +0x28
net.(*TCPListener).Accept(0x1400015a000)
/Users/tc/sdk/go1.21.2/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x140006fc3c0, {0x1017d3490, 0x1400015a000})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3056 +0x2b8
net/http.(*Server).ListenAndServe(0x140006fc3c0)
/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 60 [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 21
/Users/tc/go/pkg/mod/github.com/go-sql-driver/mysql@v1.7.0/connection.go:611 +0xf8
goroutine 15 [select]:
database/sql.(*DB).connectionCleaner(0x140001245b0, 0x0?)
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1061 +0x90
created by database/sql.(*DB).startCleanerLocked in goroutine 21
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1048 +0xf8
[GOID:21] [ERROR] 2024-01-18 20:03:39 [/pkg/dapi/base.go:146] sql: Scan error on column index 3, name "pay_requests": json: cannot unmarshal object into Go value of type model.PayRequests goroutine 21 [running]:
epur-pay/pkg/dapi.apiProxy.func1()
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:144 +0x6c
panic({0x1015fbe20?, 0x140007e66c0?})
/Users/tc/sdk/go1.21.2/src/runtime/panic.go:914 +0x218
epur-pay/pkg/utils.Error(...)
/Users/tc/Desktop/epur-pay/pkg/utils/error.go:7
epur-pay/api.GetPayChannel(0x140006fc690)
/Users/tc/Desktop/epur-pay/api/payChannel.go:24 +0x230
reflect.Value.call({0x10160b6a0?, 0x1017c4f30?, 0x1017bd920?}, {0x1011172c4, 0x4}, {0x140007e2f18, 0x1, 0x16?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:596 +0x994
reflect.Value.Call({0x10160b6a0?, 0x1017c4f30?, 0x10171a040?}, {0x140007e2f18?, 0x101118872?, 0x5?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:380 +0x94
epur-pay/pkg/dapi.(*ApiBase).apiHandler(0x140006fc690)
/Users/tc/Desktop/epur-pay/pkg/dapi/utils.go:26 +0x84
epur-pay/pkg/dapi.(*ApiBase).apiRunEx(0x1400016d668?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:61 +0x40
epur-pay/pkg/dapi.(*ApiBase).apiRun(0x140006fc690)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:107 +0x54
epur-pay/pkg/dapi.(*ApiBase).apiMain(0x1400016d698?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:119 +0x2c
epur-pay/pkg/dapi.apiProxy(0x140006fc690)
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:154 +0x4c
epur-pay/pkg/dapi.ApiDecorator.func1(0x14000176100)
/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(0x14000176100)
/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(0x1400076bc80, 0x14000176100)
/Users/tc/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.6/handler.go:60 +0x290
github.com/gin-gonic/gin.(*Context).Next(0x14000176100)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x3c
epur-pay/router.Router.Logs.func1(0x14000176100)
/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(0x14000623d40, 0x14000176100)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x524
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x14000623d40, {0x1017d38b0?, 0x1400017c9a0}, 0x14000176700)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1a0
net/http.serverHandler.ServeHTTP({0x1017cee08?}, {0x1017d38b0?, 0x1400017c9a0?}, 0x6?)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2938 +0xbc
net/http.(*conn).serve(0x1400079c000, {0x1017d5308, 0x1400066a390})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2009 +0x518
created by net/http.(*Server).Serve in goroutine 57
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3086 +0x4cc
goroutine 1 [chan receive, 6 minutes]:
epur-pay/pkg/server.(*App).WaitServerAppListen(0x140001dd780)
/Users/tc/Desktop/epur-pay/pkg/server/api.go:21 +0x78
main.main()
/Users/tc/Desktop/epur-pay/main.go:35 +0x26c
goroutine 50 [select, 6 minutes]:
database/sql.(*DB).connectionOpener(0x140001245b0, {0x1017d5340, 0x140006585a0})
/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 42 [chan receive, 6 minutes]:
epur-pay/pkg/mq.(*Async).Consumer.func1({0x10112828d?, 0x0?}, 0x1017c4ea8)
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:134 +0x94
created by epur-pay/pkg/mq.(*Async).Consumer in goroutine 56
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:130 +0xe0
goroutine 9 [syscall, 6 minutes]:
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 57 [IO wait]:
internal/poll.runtime_pollWait(0x129059528, 0x72)
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
internal/poll.(*pollDesc).wait(0x140004fe080?, 0x1007a7014?, 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(0x140004fe080)
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:611 +0x250
net.(*netFD).accept(0x140004fe080)
/Users/tc/sdk/go1.21.2/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x1400015a000)
/Users/tc/sdk/go1.21.2/src/net/tcpsock_posix.go:152 +0x28
net.(*TCPListener).Accept(0x1400015a000)
/Users/tc/sdk/go1.21.2/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x140006fc3c0, {0x1017d3490, 0x1400015a000})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3056 +0x2b8
net/http.(*Server).ListenAndServe(0x140006fc3c0)
/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 60 [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 21
/Users/tc/go/pkg/mod/github.com/go-sql-driver/mysql@v1.7.0/connection.go:611 +0xf8
goroutine 15 [select]:
database/sql.(*DB).connectionCleaner(0x140001245b0, 0x0?)
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1061 +0x90
created by database/sql.(*DB).startCleanerLocked in goroutine 21
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1048 +0xf8
[GOID:21] [ERROR] 2024-01-18 20:04:03 [/pkg/dapi/base.go:146] sql: Scan error on column index 3, name "pay_requests": json: cannot unmarshal object into Go value of type model.PayRequests goroutine 21 [running]:
epur-pay/pkg/dapi.apiProxy.func1()
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:144 +0x6c
panic({0x1015fbe20?, 0x1400050aeb0?})
/Users/tc/sdk/go1.21.2/src/runtime/panic.go:914 +0x218
epur-pay/pkg/utils.Error(...)
/Users/tc/Desktop/epur-pay/pkg/utils/error.go:7
epur-pay/api.GetPayChannel(0x14000604000)
/Users/tc/Desktop/epur-pay/api/payChannel.go:24 +0x230
reflect.Value.call({0x10160b6a0?, 0x1017c4f30?, 0x1017bd920?}, {0x1011172c4, 0x4}, {0x1400029c0c0, 0x1, 0x16?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:596 +0x994
reflect.Value.Call({0x10160b6a0?, 0x1017c4f30?, 0x10171a040?}, {0x1400029c0c0?, 0x101118872?, 0x5?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:380 +0x94
epur-pay/pkg/dapi.(*ApiBase).apiHandler(0x14000604000)
/Users/tc/Desktop/epur-pay/pkg/dapi/utils.go:26 +0x84
epur-pay/pkg/dapi.(*ApiBase).apiRunEx(0x1400016d668?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:61 +0x40
epur-pay/pkg/dapi.(*ApiBase).apiRun(0x14000604000)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:107 +0x54
epur-pay/pkg/dapi.(*ApiBase).apiMain(0x1400016d698?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:119 +0x2c
epur-pay/pkg/dapi.apiProxy(0x14000604000)
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:154 +0x4c
epur-pay/pkg/dapi.ApiDecorator.func1(0x1400058c600)
/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(0x1400058c600)
/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(0x1400076bc80, 0x1400058c600)
/Users/tc/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.6/handler.go:60 +0x290
github.com/gin-gonic/gin.(*Context).Next(0x1400058c600)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x3c
epur-pay/router.Router.Logs.func1(0x1400058c600)
/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(0x14000623d40, 0x1400058c600)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x524
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x14000623d40, {0x1017d38b0?, 0x140006c8000}, 0x1400058c000)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1a0
net/http.serverHandler.ServeHTTP({0x1017cee08?}, {0x1017d38b0?, 0x140006c8000?}, 0x6?)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2938 +0xbc
net/http.(*conn).serve(0x1400079c000, {0x1017d5308, 0x1400066a390})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2009 +0x518
created by net/http.(*Server).Serve in goroutine 57
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3086 +0x4cc
goroutine 1 [chan receive, 7 minutes]:
epur-pay/pkg/server.(*App).WaitServerAppListen(0x140001dd780)
/Users/tc/Desktop/epur-pay/pkg/server/api.go:21 +0x78
main.main()
/Users/tc/Desktop/epur-pay/main.go:35 +0x26c
goroutine 50 [select, 7 minutes]:
database/sql.(*DB).connectionOpener(0x140001245b0, {0x1017d5340, 0x140006585a0})
/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 42 [chan receive, 7 minutes]:
epur-pay/pkg/mq.(*Async).Consumer.func1({0x10112828d?, 0x0?}, 0x1017c4ea8)
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:134 +0x94
created by epur-pay/pkg/mq.(*Async).Consumer in goroutine 56
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:130 +0xe0
goroutine 9 [syscall, 7 minutes]:
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 57 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x129059528, 0x72)
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
internal/poll.(*pollDesc).wait(0x140004fe080?, 0x1007a7014?, 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(0x140004fe080)
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:611 +0x250
net.(*netFD).accept(0x140004fe080)
/Users/tc/sdk/go1.21.2/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x1400015a000)
/Users/tc/sdk/go1.21.2/src/net/tcpsock_posix.go:152 +0x28
net.(*TCPListener).Accept(0x1400015a000)
/Users/tc/sdk/go1.21.2/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x140006fc3c0, {0x1017d3490, 0x1400015a000})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3056 +0x2b8
net/http.(*Server).ListenAndServe(0x140006fc3c0)
/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 60 [select, 1 minutes]:
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 21
/Users/tc/go/pkg/mod/github.com/go-sql-driver/mysql@v1.7.0/connection.go:611 +0xf8
goroutine 15 [select, 1 minutes]:
database/sql.(*DB).connectionCleaner(0x140001245b0, 0x0?)
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1061 +0x90
created by database/sql.(*DB).startCleanerLocked in goroutine 21
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1048 +0xf8
[GOID:26] [ERROR] 2024-01-18 20:34:05 [/pkg/dapi/base.go:146] <*runtime.TypeAssertionError Value> goroutine 26 [running]:
epur-pay/pkg/dapi.apiProxy.func1()
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:144 +0x6c
panic({0x101420220?, 0x1400053d1a0?})
/Users/tc/sdk/go1.21.2/src/runtime/panic.go:914 +0x218
epur-pay/model.(*Http).Do(0x1400049e150)
/Users/tc/Desktop/epur-pay/model/http.go:64 +0x964
epur-pay/api.Test(0x14000856000, 0x1400049e150)
/Users/tc/Desktop/epur-pay/api/test.go:30 +0xe0
reflect.Value.call({0x1013e5320?, 0x10156cf48?, 0x101565920?}, {0x100ebf2c4, 0x4}, {0x1400053ce40, 0x2, 0x16?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:596 +0x994
reflect.Value.Call({0x1013e5320?, 0x10156cf48?, 0x101c593c8?}, {0x1400053ce40?, 0x101c593c0?, 0x1?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:380 +0x94
epur-pay/pkg/dapi.(*ApiBase).apiHandler(0x14000856000)
/Users/tc/Desktop/epur-pay/pkg/dapi/utils.go:31 +0x104
epur-pay/pkg/dapi.(*ApiBase).apiRunEx(0x14000607668?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:61 +0x40
epur-pay/pkg/dapi.(*ApiBase).apiRun(0x14000856000)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:107 +0x54
epur-pay/pkg/dapi.(*ApiBase).apiMain(0x1013fb5a0?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:119 +0x2c
epur-pay/pkg/dapi.apiProxy(0x14000856000)
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:154 +0x4c
epur-pay/pkg/dapi.ApiDecorator.func1(0x1400092c100)
/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(0x1400092c100)
/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(0x140005fe780, 0x1400092c100)
/Users/tc/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.6/handler.go:60 +0x290
github.com/gin-gonic/gin.(*Context).Next(0x1400092c100)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x3c
epur-pay/router.Router.Logs.func1(0x1400092c100)
/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(0x1400052ab60, 0x1400092c100)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x524
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x1400052ab60, {0x10157b8b0?, 0x1400084c1c0}, 0x140000a8200)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1a0
net/http.serverHandler.ServeHTTP({0x101576e08?}, {0x10157b8b0?, 0x1400084c1c0?}, 0x6?)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2938 +0xbc
net/http.(*conn).serve(0x1400090a090, {0x10157d308, 0x14000996600})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2009 +0x518
created by net/http.(*Server).Serve in goroutine 67
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3086 +0x4cc
goroutine 1 [chan receive, 29 minutes]:
epur-pay/pkg/server.(*App).WaitServerAppListen(0x140006fe480)
/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, 29 minutes]:
database/sql.(*DB).connectionOpener(0x140003ed1e0, {0x10157d340, 0x140006cc370})
/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 253 [select]:
database/sql.(*DB).connectionCleaner(0x140003ed1e0, 0x0?)
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1061 +0x90
created by database/sql.(*DB).startCleanerLocked in goroutine 26
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1048 +0xf8
goroutine 51 [chan receive, 29 minutes]:
epur-pay/pkg/mq.(*Async).Consumer.func1({0x100ed028d?, 0x0?}, 0x10156cea8)
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:134 +0x94
created by epur-pay/pkg/mq.(*Async).Consumer in goroutine 66
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:130 +0xe0
goroutine 67 [IO wait, 29 minutes]:
internal/poll.runtime_pollWait(0x128f173a8, 0x72)
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
internal/poll.(*pollDesc).wait(0x140000ee000?, 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(0x140000ee000)
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:611 +0x250
net.(*netFD).accept(0x140000ee000)
/Users/tc/sdk/go1.21.2/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x140009a21a0)
/Users/tc/sdk/go1.21.2/src/net/tcpsock_posix.go:152 +0x28
net.(*TCPListener).Accept(0x140009a21a0)
/Users/tc/sdk/go1.21.2/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x140007363c0, {0x10157b490, 0x140009a21a0})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3056 +0x2b8
net/http.(*Server).ListenAndServe(0x140007363c0)
/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 82 [syscall, 29 minutes]:
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 218 [IO wait]:
internal/poll.runtime_pollWait(0x128f172b0, 0x72)
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
internal/poll.(*pollDesc).wait(0x140000ee080?, 0x140009967f1?, 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(0x140000ee080, {0x140009967f1, 0x1, 0x1})
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:164 +0x200
net.(*netFD).Read(0x140000ee080, {0x140009967f1?, 0x10141ff20?, 0x101445ac0?})
/Users/tc/sdk/go1.21.2/src/net/fd_posix.go:55 +0x28
net.(*conn).Read(0x140000bc020, {0x140009967f1?, 0x14000000001?, 0x140009a80a0?})
/Users/tc/sdk/go1.21.2/src/net/net.go:179 +0x34
net/http.(*connReader).backgroundRead(0x140009967e0)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:683 +0x40
created by net/http.(*connReader).startBackgroundRead in goroutine 26
/Users/tc/sdk/go1.21.2/src/net/http/server.go:679 +0xc8
goroutine 252 [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 26
/Users/tc/go/pkg/mod/github.com/go-sql-driver/mysql@v1.7.0/connection.go:611 +0xf8
[GOID:202] [ERROR] 2024-01-18 20:57:14 [/pkg/dapi/base.go:146] <*runtime.TypeAssertionError Value> goroutine 202 [running]:
epur-pay/pkg/dapi.apiProxy.func1()
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:144 +0x6c
panic({0x101420220?, 0x140005ff3e0?})
/Users/tc/sdk/go1.21.2/src/runtime/panic.go:914 +0x218
epur-pay/model.(*Http).Do(0x1400049e230)
/Users/tc/Desktop/epur-pay/model/http.go:64 +0x964
epur-pay/api.Test(0x140007364b0, 0x1400049e230)
/Users/tc/Desktop/epur-pay/api/test.go:30 +0xe0
reflect.Value.call({0x1013e5320?, 0x10156cf48?, 0x101565920?}, {0x100ebf2c4, 0x4}, {0x140005ff290, 0x2, 0x16?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:596 +0x994
reflect.Value.Call({0x1013e5320?, 0x10156cf48?, 0x101c593c8?}, {0x140005ff290?, 0x101c593c0?, 0x1?})
/Users/tc/sdk/go1.21.2/src/reflect/value.go:380 +0x94
epur-pay/pkg/dapi.(*ApiBase).apiHandler(0x140007364b0)
/Users/tc/Desktop/epur-pay/pkg/dapi/utils.go:31 +0x104
epur-pay/pkg/dapi.(*ApiBase).apiRunEx(0x14000551668?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:61 +0x40
epur-pay/pkg/dapi.(*ApiBase).apiRun(0x140007364b0)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:107 +0x54
epur-pay/pkg/dapi.(*ApiBase).apiMain(0x1013fb5a0?)
/Users/tc/Desktop/epur-pay/pkg/dapi/api.go:119 +0x2c
epur-pay/pkg/dapi.apiProxy(0x140007364b0)
/Users/tc/Desktop/epur-pay/pkg/dapi/base.go:154 +0x4c
epur-pay/pkg/dapi.ApiDecorator.func1(0x1400092c200)
/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(0x1400092c200)
/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(0x140005fe780, 0x1400092c200)
/Users/tc/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.6/handler.go:60 +0x290
github.com/gin-gonic/gin.(*Context).Next(0x1400092c200)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x3c
epur-pay/router.Router.Logs.func1(0x1400092c200)
/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(0x1400052ab60, 0x1400092c200)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x524
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x1400052ab60, {0x10157b8b0?, 0x14000176380}, 0x140000a8200)
/Users/tc/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1a0
net/http.serverHandler.ServeHTTP({0x101576e08?}, {0x10157b8b0?, 0x14000176380?}, 0x6?)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2938 +0xbc
net/http.(*conn).serve(0x140005e4000, {0x10157d308, 0x14000996600})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:2009 +0x518
created by net/http.(*Server).Serve in goroutine 67
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3086 +0x4cc
goroutine 1 [chan receive, 53 minutes]:
epur-pay/pkg/server.(*App).WaitServerAppListen(0x140006fe480)
/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, 53 minutes]:
database/sql.(*DB).connectionOpener(0x140003ed1e0, {0x10157d340, 0x140006cc370})
/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 51 [chan receive, 53 minutes]:
epur-pay/pkg/mq.(*Async).Consumer.func1({0x100ed028d?, 0x0?}, 0x10156cea8)
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:134 +0x94
created by epur-pay/pkg/mq.(*Async).Consumer in goroutine 66
/Users/tc/Desktop/epur-pay/pkg/mq/mq.go:130 +0xe0
goroutine 67 [IO wait, 6 minutes]:
internal/poll.runtime_pollWait(0x128f173a8, 0x72)
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
internal/poll.(*pollDesc).wait(0x140000ee000?, 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(0x140000ee000)
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:611 +0x250
net.(*netFD).accept(0x140000ee000)
/Users/tc/sdk/go1.21.2/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x140009a21a0)
/Users/tc/sdk/go1.21.2/src/net/tcpsock_posix.go:152 +0x28
net.(*TCPListener).Accept(0x140009a21a0)
/Users/tc/sdk/go1.21.2/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x140007363c0, {0x10157b490, 0x140009a21a0})
/Users/tc/sdk/go1.21.2/src/net/http/server.go:3056 +0x2b8
net/http.(*Server).ListenAndServe(0x140007363c0)
/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 82 [syscall, 53 minutes]:
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 294 [select]:
database/sql.(*DB).connectionCleaner(0x140003ed1e0, 0x0?)
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1061 +0x90
created by database/sql.(*DB).startCleanerLocked in goroutine 202
/Users/tc/sdk/go1.21.2/src/database/sql/sql.go:1048 +0xf8
goroutine 318 [IO wait]:
internal/poll.runtime_pollWait(0x128f172b0, 0x72)
/Users/tc/sdk/go1.21.2/src/runtime/netpoll.go:343 +0xa0
internal/poll.(*pollDesc).wait(0x140008c8080?, 0x140005fe0a1?, 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(0x140008c8080, {0x140005fe0a1, 0x1, 0x1})
/Users/tc/sdk/go1.21.2/src/internal/poll/fd_unix.go:164 +0x200
net.(*netFD).Read(0x140008c8080, {0x140005fe0a1?, 0x10141ff20?, 0x101445ac0?})
/Users/tc/sdk/go1.21.2/src/net/fd_posix.go:55 +0x28
net.(*conn).Read(0x140000bc020, {0x140005fe0a1?, 0x140007bd701?, 0x140009a8320?})
/Users/tc/sdk/go1.21.2/src/net/net.go:179 +0x34
net/http.(*connReader).backgroundRead(0x140005fe090)
/Users/tc/sdk/go1.21.2/src/net/http/server.go:683 +0x40
created by net/http.(*connReader).startBackgroundRead in goroutine 202
/Users/tc/sdk/go1.21.2/src/net/http/server.go:679 +0xc8