Skip to content

Instantly share code, notes, and snippets.

@antonyc
Created June 3, 2022 08:21
Show Gist options
  • Save antonyc/6987684eae9516be44d67d85f1293fcf to your computer and use it in GitHub Desktop.
Save antonyc/6987684eae9516be44d67d85f1293fcf to your computer and use it in GitHub Desktop.
chapson quick paste
interface conversion: interface {} is int64, not string","request":"GET /cable HTTP/1.1
Host: console.stage.neon.tech
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Cache-Control: no-cache
Connection: upgrade
Cookie: _ga_18NPNJD444=GS1.1.1654084627.42.1.1654084657.0; _ga=GA1.1.1353749678.1650437855; _ga_1N4XQ6V7JN=GS1.1.1654084627.42.1.1654084657.0; _ga_DEJRSHR980=GS1.1.1654243661.29.0.1654243662.0; _ga_C9WQGCS3KL=GS1.1.1654243661.29.0.1654243662.0; _gorilla_csrf=MTY1NDE3NzMwNXxJa3BrV0dWT1JrUlhhVUp6T1N0alRUbEthM1p6ZWxoTE5VNVNVVVZ0U0drd1RrdFhjMDFoV1hScmFrMDlJZ289fNShpDqaxJsFG4nLCYqbsuP7dOiPavatoP2B7MSb0oVB; zenith=MTY1MzA0MzgyNHxEdi1CQkFFQ180SUFBUkFCRUFBQWZfLUNBQU1HYzNSeWFXNW5EQWNBQlhOMFlYUmxCbk4wY21sdVp3d2FBQmhDY20xdmRHNTBabGhFU0hGRmRESnRaak51UzJOUlBUMEdjM1J5YVc1bkRBZ0FCbWx1ZG1sMFpRWnpkSEpwYm1jTUVBQU9lbVZ1YVhSb0xYUmxZVzB0TkRJR2MzUnlhVzVuREFrQUIzVnpaWEpmYVdRRmFXNTBOalFFQkFELUFRbz18DRTTm4OoZGV3xR7pImkYdK2lgSkvCftGYzj9jv2CMR8=
Dnt: 1
Origin: https://console.stage.neon.tech
Pragma: no-cache
Sec-Fetch-Dest: websocket
Sec-Fetch-Mode: websocket
Sec-Fetch-Site: same-origin
Sec-Websocket-Extensions: permessage-deflate
Sec-Websocket-Key: yZ047l6m025ynbm+7S9U1g==
Sec-Websocket-Protocol: actioncable-v1-json, actioncable-unsupported
Sec-Websocket-Version: 13
Upgrade: websocket
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0
X-Amzn-Trace-Id: Root=1-6299c1a3-78e6151a2d7265ff5c9b8cb4
X-Forwarded-For: 185.23.230.40
X-Forwarded-Port: 443
X-Forwarded-Proto: https
","stack":"goroutine 1696 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:24 +0x65
github.com/zenithdb/console/goapp/internal/app/api/middleware.Recovery.func1.1()
/build/goapp/internal/app/api/middleware/recovery.go:54 +0x385
panic({0x1ad6560, 0xc001087a70})
/usr/local/go/src/runtime/panic.go:1038 +0x215
github.com/getsentry/sentry-go/gin.(*handler).recoverWithSentry(0xc000257420, 0xc000190d94, 0xc0008f4d00)
/go/pkg/mod/github.com/getsentry/sentry-go@v0.12.0/gin/sentrygin.go:72 +0x108
panic({0x1ad6560, 0xc001087a70})
/usr/local/go/src/runtime/panic.go:1038 +0x215
github.com/zenithdb/console/goapp/internal/app/api/auth.AuthenticationMiddleware.func2.2()
/build/goapp/internal/app/api/auth/user.go:105 +0x8ce
github.com/zenithdb/console/goapp/internal/app/api/auth.AuthenticationMiddleware.func2(0xc0016a1b00)
/build/goapp/internal/app/api/auth/user.go:143 +0x455
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168
github.com/getsentry/sentry-go/gin.(*handler).handle(0xc000257420, 0xc0016a1b00)
/go/pkg/mod/github.com/getsentry/sentry-go@v0.12.0/gin/sentrygin.go:57 +0x13a
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168
github.com/zenithdb/console/goapp/internal/app/api/middleware.Recovery.func1(0xc0016a1b00)
/build/goapp/internal/app/api/middleware/recovery.go:66 +0x88
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168
github.com/zenithdb/console/goapp/internal/app/api/middleware.RequestLogger.func1(0xc0016a1b00)
/build/goapp/internal/app/api/middleware/logger.go:29 +0xbe
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168
github.com/zenithdb/console/goapp/internal/app/api/middleware.RequestID.func1(0xc0016a1b00)
/build/goapp/internal/app/api/middleware/requestid.go:27 +0x382
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168
github.com/penglongli/gin-metrics/ginmetrics.(*Monitor).monitorInterceptor(0xc000888680, 0xc0016a1b00)
/go/pkg/mod/github.com/penglongli/gin-metrics@v0.1.9/ginmetrics/middleware.go:111 +0x95
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc000107a00, 0xc0016a1b00)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/gin.go:555 +0x671
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000107a00, {0x208a878, 0xc001b83ea0}, 0xc001076100)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/gin.go:511 +0x1d2
net/http.serverHandler.ServeHTTP({0xc000f31500}, {0x208a878, 0xc001b83ea0}, 0xc001076100)
/usr/local/go/src/net/http/server.go:2878 +0x43b
net/http.(*conn).serve(0xc00025a140, {0x2096918, 0xc0008ef140})
/usr/local/go/src/net/http/server.go:1929 +0xb08
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:3033 +0x4e8
"}
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment