-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
"/api/auth/public/dashboard/api/users?limit=10"
[GIN] 2024/11/05 - 16:35:40 | 200 | 18.5196ms | ::1 | GET "/api/auth/dashboard/api/user?userId=2b4bcb72-ee5e-4889-a4b4-75377698752a&recipeId=emailpassword"
[GIN] 2024/11/05 - 16:35:40 | 200 | 8.5653ms | ::1 | GET "/api/auth/dashboard/api/user/metadata?userId=2b4bcb72-ee5e-4889-a4b4-75377698752a"
fatal error: concurrent map writes
fatal error: concurrent map writes
goroutine 225 [running]:
github.com/supertokens/supertokens-golang/supertokens.(*Querier).SendGetRequest.func1({0xc0002ba810?, 0x24?})
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/supertokens/querier.go:386 +0x126d
github.com/supertokens/supertokens-golang/supertokens.(*Querier).sendRequestHelper(0xc00030be38, {{0xc0002ba7f2?, 0x220000000087ed94?}}, 0xc00030bc30, 0x1, 0x0)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/supertokens/querier.go:568 +0x29f
github.com/supertokens/supertokens-golang/supertokens.(*Querier).SendGetRequest(0xc00044be38, {0xcea975?, 0xce9761?}, 0xc00044bdf8, 0xc00070e0d0)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/supertokens/querier.go:271 +0xc5
github.com/supertokens/supertokens-golang/recipe/session.getSessionInformationHelper({{0xce60b3, 0x7}}, {0xc0002ba7b0, 0x24}, 0xc00070e0d0)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/session/sessionFunctions.go:206 +0x117
github.com/supertokens/supertokens-golang/recipe/session.MakeRecipeImplementation.func3({0xc0002ba7b0?, 0xc1c29cd682801d88?}, 0xc1c29cd682801d88?)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/session/recipeImplementation.go:293 +0x2f
github.com/supertokens/supertokens-golang/recipe/session.GetSessionInformation({0xc0002ba7b0, 0x24}, {0xc00044bf18, 0x2?, 0x1})
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/session/main.go:149 +0x158
github.com/supertokens/supertokens-golang/recipe/dashboard/api/userdetails.UserSessionsGet.func1(0xc00044bfd0?, {0xc0002ba7b0?, 0xc000634000?})
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/dashboard/api/userdetails/userSessionsGet.go:68 +0x7f
created by github.com/supertokens/supertokens-golang/recipe/dashboard/api/userdetails.UserSessionsGet in goroutine 257
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/dashboard/api/userdetails/userSessionsGet.go:67 +0x208
goroutine 1 [IO wait]:
internal/poll.runtime_pollWait(0x144d1bf7620, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0xc000100408?, 0x0?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.execIO(0xc00027aca0, 0xc00056d720)
C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6
internal/poll.(*FD).acceptOne(0xc00027ac88, 0x4ac, {0xc00002c3c0?, 0x0?, 0x0?}, 0xc000100008?)
C:/Program Files/Go/src/internal/poll/fd_windows.go:944 +0x67
internal/poll.(*FD).Accept(0xc00027ac88, 0xc00056d900)
C:/Program Files/Go/src/internal/poll/fd_windows.go:978 +0x1bc
net.(*netFD).accept(0xc00027ac88)
C:/Program Files/Go/src/net/fd_windows.go:178 +0x54
net.(*TCPListener).accept(0xc000267040)
C:/Program Files/Go/src/net/tcpsock_posix.go:159 +0x1e
net.(*TCPListener).Accept(0xc000267040)
C:/Program Files/Go/src/net/tcpsock.go:327 +0x30
net/http.(*Server).Serve(0xc0002ef0e0, {0x10c5ce0, 0xc000267040})
C:/Program Files/Go/src/net/http/server.go:3255 +0x33e
net/http.(*Server).ListenAndServe(0xc0002ef0e0)
C:/Program Files/Go/src/net/http/server.go:3184 +0x71
net/http.ListenAndServe(...)
C:/Program Files/Go/src/net/http/server.go:3438
github.com/gin-gonic/gin.(*Engine).Run(0xc0005b11e0, {0xc0002a1f18, 0x1, 0x1})
C:/Users/Shrujan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:399 +0x215
main.main()
C:/Users/Shrujan/Desktop/repos/testing/supertokens/backend/main.go:281 +0x948
goroutine 273 [IO wait]:
internal/poll.runtime_pollWait(0x144d1bf7528, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0xc00030f930?, 0x7f26bc?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.execIO(0xc0006491a0, 0x1027548)
C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6
internal/poll.(*FD).Read(0xc000649188, {0xc000630000, 0x1000, 0x1000})
C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1
net.(*netFD).Read(0xc000649188, {0xc000630000?, 0xc00030fa98?, 0x7f2de5?})
C:/Program Files/Go/src/net/fd_posix.go:55 +0x25
net.(*conn).Read(0xc0004a0310, {0xc000630000?, 0x0?, 0xc000900ed8?})
C:/Program Files/Go/src/net/net.go:179 +0x45
net/http.(*connReader).Read(0xc000900ed0, {0xc000630000, 0x1000, 0x1000})
C:/Program Files/Go/src/net/http/server.go:789 +0x14b
bufio.(*Reader).fill(0xc00017a600)
C:/Program Files/Go/src/bufio/bufio.go:110 +0x103
bufio.(*Reader).Peek(0xc00017a600, 0x4)
C:/Program Files/Go/src/bufio/bufio.go:148 +0x53
net/http.(*conn).serve(0xc0003254d0, {0x10c6b08, 0xc0002b8d50})
C:/Program Files/Go/src/net/http/server.go:2074 +0x749
created by net/http.(*Server).Serve in goroutine 1
C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4
goroutine 249 [IO wait]:
internal/poll.runtime_pollWait(0x144d1bf7240, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0xb13867c6f87a7512?, 0xaa9c306eb4a07729?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.execIO(0xc00062f420, 0x1027548)
C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6
internal/poll.(*FD).Read(0xc00062f408, {0xc000684000, 0x1800, 0x1800})
C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1
net.(*netFD).Read(0xc00062f408, {0xc000684000?, 0x144d1c20288?, 0xc000794528?})
C:/Program Files/Go/src/net/fd_posix.go:55 +0x25
net.(*conn).Read(0xc0000724d8, {0xc000684000?, 0xc00056b918?, 0x6fea5b?})
C:/Program Files/Go/src/net/net.go:179 +0x45
crypto/tls.(*atLeastReader).Read(0xc000794528, {0xc000684000?, 0x0?, 0xc000794528?})
C:/Program Files/Go/src/crypto/tls/conn.go:806 +0x3b
bytes.(*Buffer).ReadFrom(0xc0003669b0, {0x10c3160, 0xc000794528})
C:/Program Files/Go/src/bytes/buffer.go:211 +0x98
crypto/tls.(*Conn).readFromUntil(0xc000366708, {0x144d1bff218, 0xc0000724d8}, 0xc00056b960?)
C:/Program Files/Go/src/crypto/tls/conn.go:828 +0xde
crypto/tls.(*Conn).readRecordOrCCS(0xc000366708, 0x0)
C:/Program Files/Go/src/crypto/tls/conn.go:626 +0x3cf
crypto/tls.(*Conn).readRecord(...)
C:/Program Files/Go/src/crypto/tls/conn.go:588
crypto/tls.(*Conn).Read(0xc000366708, {0xc000798000, 0x1000, 0xc0005e2000?})
C:/Program Files/Go/src/crypto/tls/conn.go:1370 +0x156
bufio.(*Reader).Read(0xc000443f20, {0xc000143a80, 0x9, 0x14911e0?})
C:/Program Files/Go/src/bufio/bufio.go:241 +0x197
io.ReadAtLeast({0x10c2860, 0xc000443f20}, {0xc000143a80, 0x9, 0x9}, 0x9)
C:/Program Files/Go/src/io/io.go:335 +0x90
io.ReadFull(...)
C:/Program Files/Go/src/io/io.go:354
net/http.http2readFrameHeader({0xc000143a80, 0x9, 0xc000697b30?}, {0x10c2860?, 0xc000443f20?})
C:/Program Files/Go/src/net/http/h2_bundle.go:1638 +0x65
net/http.(*http2Framer).ReadFrame(0xc000143a40)
C:/Program Files/Go/src/net/http/h2_bundle.go:1905 +0x85
net/http.(*http2clientConnReadLoop).run(0xc00056bfa8)
C:/Program Files/Go/src/net/http/h2_bundle.go:9342 +0x12c
net/http.(*http2ClientConn).readLoop(0xc000158900)
C:/Program Files/Go/src/net/http/h2_bundle.go:9237 +0x65
created by net/http.(*http2Transport).newClientConn in goroutine 248
C:/Program Files/Go/src/net/http/h2_bundle.go:7887 +0xca6
goroutine 283 [IO wait]:
internal/poll.runtime_pollWait(0x144d1bf7430, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0x501008?, 0x144d1aca588?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.execIO(0xc00031e020, 0x1027548)
C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6
internal/poll.(*FD).Read(0xc00031e008, {0xc0001c5000, 0x1000, 0x1000})
C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1
net.(*netFD).Read(0xc00031e008, {0xc0001c5000?, 0xc000480fc0?, 0x0?})
C:/Program Files/Go/src/net/fd_posix.go:55 +0x25
net.(*conn).Read(0xc0001223b8, {0xc0001c5000?, 0x7ffb65308a00?, 0xc0002de000?})
C:/Program Files/Go/src/net/net.go:179 +0x45
net/http.(*persistConn).Read(0xc000152fc0, {0xc0001c5000?, 0xc0007be000?, 0xc0006a3d38?})
C:/Program Files/Go/src/net/http/transport.go:1977 +0x4a
bufio.(*Reader).fill(0xc000788240)
C:/Program Files/Go/src/bufio/bufio.go:110 +0x103
bufio.(*Reader).Peek(0xc000788240, 0x1)
C:/Program Files/Go/src/bufio/bufio.go:148 +0x53
net/http.(*persistConn).readLoop(0xc000152fc0)
C:/Program Files/Go/src/net/http/transport.go:2141 +0x1b9
created by net/http.(*Transport).dialConn in goroutine 236
C:/Program Files/Go/src/net/http/transport.go:1799 +0x152f
goroutine 75 [select, 4 minutes]:
github.com/MicahParks/keyfunc/v2.(*JWKS).backgroundRefresh(0xc000530180)
C:/Users/Shrujan/go/pkg/mod/github.com/!micah!parks/keyfunc/v2@v2.1.0/get.go:141 +0x205
created by github.com/MicahParks/keyfunc/v2.Get in goroutine 8
C:/Users/Shrujan/go/pkg/mod/github.com/!micah!parks/keyfunc/v2@v2.1.0/get.go:68 +0x392
goroutine 242 [select]:
net/http.(*persistConn).writeLoop(0xc0006f70e0)
C:/Program Files/Go/src/net/http/transport.go:2444 +0xf0
created by net/http.(*Transport).dialConn in goroutine 205
C:/Program Files/Go/src/net/http/transport.go:1800 +0x1585
goroutine 209 [IO wait]:
internal/poll.runtime_pollWait(0x144d1bf7338, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0xc000500008?, 0xc000505a40?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.execIO(0xc00062f1a0, 0x1027548)
C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6
internal/poll.(*FD).Read(0xc00062f188, {0xc000287000, 0x1000, 0x1000})
C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1
net.(*netFD).Read(0xc00062f188, {0xc000287000?, 0xc000505a40?, 0x0?})
C:/Program Files/Go/src/net/fd_posix.go:55 +0x25
net.(*conn).Read(0xc000072470, {0xc000287000?, 0x7ffb65308a00?, 0xc0002dfa40?})
C:/Program Files/Go/src/net/net.go:179 +0x45
net/http.(*persistConn).Read(0xc0006f70e0, {0xc000287000?, 0xc00068e8a0?, 0xc00038bd38?})
C:/Program Files/Go/src/net/http/transport.go:1977 +0x4a
bufio.(*Reader).fill(0xc000788960)
C:/Program Files/Go/src/bufio/bufio.go:110 +0x103
bufio.(*Reader).Peek(0xc000788960, 0x1)
C:/Program Files/Go/src/bufio/bufio.go:148 +0x53
net/http.(*persistConn).readLoop(0xc0006f70e0)
C:/Program Files/Go/src/net/http/transport.go:2141 +0x1b9
created by net/http.(*Transport).dialConn in goroutine 205
C:/Program Files/Go/src/net/http/transport.go:1799 +0x152f
goroutine 290 [IO wait]:
internal/poll.runtime_pollWait(0x144d1bf7148, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0xc000395540?, 0x75a332?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.execIO(0xc000649920, 0x1027548)
C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6
internal/poll.(*FD).Read(0xc000649908, {0xc000318000, 0x1000, 0x1000})
C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1
net.(*netFD).Read(0xc000649908, {0xc000318000?, 0xc0004ada00?, 0xc000395668?})
C:/Program Files/Go/src/net/fd_posix.go:55 +0x25
net.(*conn).Read(0xc0004a0428, {0xc000318000?, 0xc000585b40?, 0xc0003a8278?})
C:/Program Files/Go/src/net/net.go:179 +0x45
net/http.(*connReader).Read(0xc0003a8270, {0xc000318000, 0x1000, 0x1000})
C:/Program Files/Go/src/net/http/server.go:789 +0x14b
bufio.(*Reader).fill(0xc0005ac8a0)
C:/Program Files/Go/src/bufio/bufio.go:110 +0x103
bufio.(*Reader).ReadSlice(0xc0005ac8a0, 0xa)
C:/Program Files/Go/src/bufio/bufio.go:376 +0x29
bufio.(*Reader).ReadLine(0xc0005ac8a0)
C:/Program Files/Go/src/bufio/bufio.go:405 +0x25
net/textproto.(*Reader).readLineSlice(0xc000302720, 0xffffffffffffffff)
C:/Program Files/Go/src/net/textproto/reader.go:63 +0xa5
net/textproto.(*Reader).ReadLine(...)
C:/Program Files/Go/src/net/textproto/reader.go:43
net/http.readRequest(0xc0005ac8a0)
C:/Program Files/Go/src/net/http/request.go:1059 +0xb5
net/http.(*conn).readRequest(0xc0002ff320, {0x10c6b40, 0xc0003ab450})
C:/Program Files/Go/src/net/http/server.go:1004 +0x248
net/http.(*conn).serve(0xc0002ff320, {0x10c6b08, 0xc0002b8d50})
C:/Program Files/Go/src/net/http/server.go:1964 +0x339
created by net/http.(*Server).Serve in goroutine 1
C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4
goroutine 240 [select]:
net.(*sysDialer).dialParallel(0xc00046c8c0, {0x10c6bb0, 0xc000222a80}, {0xc00059f130, 0x1, 0x1}, {0xc00059f180, 0x1, 0x1})
C:/Program Files/Go/src/net/dial.go:558 +0x485
net.(*Dialer).DialContext(0xc000279e30, {0x10c6a28, 0x1542140}, {0xce47c4, 0x3}, {0xc000310350, 0xe})
C:/Program Files/Go/src/net/dial.go:508 +0x69a
net/http.(*Transport).dial(0xc000465c57?, {0x10c6a28?, 0x1542140?}, {0xce47c4?, 0xc00032da70?}, {0xc000310350?, 0x144d20b6f98?})
C:/Program Files/Go/src/net/http/transport.go:1187 +0xd2
net/http.(*Transport).dialConn(0x14a9560, {0x10c6a28, 0x1542140}, {{}, 0x0, {0xc0003782a0, 0x4}, {0xc000310350, 0xe}, 0x0})
C:/Program Files/Go/src/net/http/transport.go:1648 +0x7e8
net/http.(*Transport).dialConnFor(0x14a9560, 0xc0005f4420)
C:/Program Files/Go/src/net/http/transport.go:1485 +0xcd
created by net/http.(*Transport).queueForDial in goroutine 224
C:/Program Files/Go/src/net/http/transport.go:1449 +0x3c9
goroutine 257 [semacquire]:
sync.runtime_Semacquire(0xc000302510?)
C:/Program Files/Go/src/runtime/sema.go:62 +0x25
sync.(*WaitGroup).Wait(0xc0007bf8f1?)
C:/Program Files/Go/src/sync/waitgroup.go:116 +0x48
github.com/supertokens/supertokens-golang/recipe/dashboard/api/userdetails.UserSessionsGet({0xc05860?}, {_, _}, {{0xc0000729c0, 0xc0000729c8}, {{0xce594a, 0x6}, 0xc0002bc540, {{0xc00010cdb0, 0x15}}, ...}, ...}, ...)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/dashboard/api/userdetails/userSessionsGet.go:94 +0x3b9
github.com/supertokens/supertokens-golang/recipe/dashboard.(*Recipe).handleAPIRequest.func1()
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/dashboard/recipe.go:320 +0x896
github.com/supertokens/supertokens-golang/recipe/dashboard.apiKeyProtector({0x1000004?}, {_, _}, {{0xc0000729c0, 0xc0000729c8}, {{0xce594a, 0x6}, 0xc0002bc540, {{0xc00010cdb0, 0x15}}, ...}, ...}, ...)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/dashboard/apiKeyProtector.go:26 +0x9a
github.com/supertokens/supertokens-golang/recipe/dashboard.(*Recipe).handleAPIRequest(0xc0001209d8?, {0xcec83c?, 0x0?}, {0xce59f8?, 0xc000370a78?}, 0x6fee05?, {0x144d1cfe658?, 0xc0001209c0?}, 0x1?, {{0xc0002eae92, ...}}, ...)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/dashboard/recipe.go:293 +0x449
github.com/supertokens/supertokens-golang/supertokens.(*superTokens).middlewareHelperHandleWithoutRid(0xc00003f520, {{0xc0002eae92?, 0xcef83b?}}, {0xc0007bf8c0, 0x3}, 0xc00070e0d0, {0x10c2620, 0xc0004e6250}, {0x10c6a98, 0xc0001209c0}, ...)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/supertokens/supertokens.go:290 +0x53e
github.com/supertokens/supertokens-golang/supertokens.(*superTokens).middleware.func2({0x144d1cfa4d8?, 0xc0000b4000?}, 0xc0006f7e60)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/supertokens/supertokens.go:271 +0x2a5
net/http.HandlerFunc.ServeHTTP(0x1492bd0?, {0x144d1cfa4d8?, 0xc0000b4000?}, 0xc0003716f0?)
C:/Program Files/Go/src/net/http/server.go:2166 +0x29
main.main.func5(0xc0000b4000)
C:/Users/Shrujan/Desktop/repos/testing/supertokens/backend/main.go:276 +0x9e
github.com/gin-gonic/gin.(*Context).Next(...)
C:/Users/Shrujan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc0000b4000)
C:/Users/Shrujan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x7a
github.com/gin-gonic/gin.(*Context).Next(...)
C:/Users/Shrujan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc0000b4000)
C:/Users/Shrujan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xe5
github.com/gin-gonic/gin.(*Context).Next(...)
C:/Users/Shrujan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.serveError(0xc0000b4000, 0x194, {0x13dbda0, 0x12, 0x12})
C:/Users/Shrujan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:677 +0x4b
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0005b11e0, 0xc0000b4000)
C:/Users/Shrujan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:670 +0x4c5
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0005b11e0, {0x10c5bc0, 0xc000468380}, 0xc0006f7e60)
C:/Users/Shrujan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x1b2
net/http.serverHandler.ServeHTTP({0xc000302c60?}, {0x10c5bc0?, 0xc000468380?}, 0x6?)
C:/Program Files/Go/src/net/http/server.go:3137 +0x8e
net/http.(*conn).serve(0xc000807200, {0x10c6b08, 0xc0002b8d50})
C:/Program Files/Go/src/net/http/server.go:2039 +0x5e8
created by net/http.(*Server).Serve in goroutine 1
C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4
goroutine 224 [select]:
net/http.(*persistConn).roundTrip(0xc0006f70e0, 0xc0007b4740)
C:/Program Files/Go/src/net/http/transport.go:2675 +0x979
net/http.(*Transport).roundTrip(0x14a9560, 0xc000153680)
C:/Program Files/Go/src/net/http/transport.go:608 +0x79a
net/http.(*Transport).RoundTrip(0x100000001?, 0x10c2b20?)
C:/Program Files/Go/src/net/http/roundtrip.go:17 +0x13
net/http.send(0xc000153680, {0x10c2b20, 0x14a9560}, {0x144d20b9301?, 0x40?, 0x0?})
C:/Program Files/Go/src/net/http/client.go:259 +0x5e4
net/http.(*Client).send(0xc0007850b0, 0xc000153680, {0xc0006e7110?, 0x7d3625?, 0x0?})
C:/Program Files/Go/src/net/http/client.go:180 +0x98
net/http.(*Client).do(0xc0007850b0, 0xc000153680)
C:/Program Files/Go/src/net/http/client.go:724 +0x8dc
net/http.(*Client).Do(...)
C:/Program Files/Go/src/net/http/client.go:590
github.com/supertokens/supertokens-golang/supertokens.(*Querier).SendGetRequest.func1({0xc0003782a0?, 0x24?})
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/supertokens/querier.go:364 +0xe2a
github.com/supertokens/supertokens-golang/supertokens.(*Querier).sendRequestHelper(0xc0006e7e38, {{0xc000378282?, 0x6f5b1e?}}, 0xc0006e7c30, 0x1, 0x0)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/supertokens/querier.go:568 +0x29f
github.com/supertokens/supertokens-golang/supertokens.(*Querier).SendGetRequest(0xc000399e38, {0xcea975?, 0xce9761?}, 0xc000399df8, 0xc00070e0d0)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/supertokens/querier.go:271 +0xc5
github.com/supertokens/supertokens-golang/recipe/session.getSessionInformationHelper({{0xce60b3, 0x7}}, {0xc0002ba780, 0x24}, 0xc00070e0d0)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/session/sessionFunctions.go:206 +0x117
github.com/supertokens/supertokens-golang/recipe/session.MakeRecipeImplementation.func3({0xc0002ba780?, 0xc0005f7450?}, 0xc000399e98?)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/session/recipeImplementation.go:293 +0x2f
github.com/supertokens/supertokens-golang/recipe/session.GetSessionInformation({0xc0002ba780, 0x24}, {0xc000399f18, 0x6f6b7a?, 0x1})
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/session/main.go:149 +0x158
github.com/supertokens/supertokens-golang/recipe/dashboard/api/userdetails.UserSessionsGet.func1(0xc000399fd0?, {0xc0002ba780?, 0xc00053b440?})
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/dashboard/api/userdetails/userSessionsGet.go:68 +0x7f
created by github.com/supertokens/supertokens-golang/recipe/dashboard/api/userdetails.UserSessionsGet in goroutine 257
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/dashboard/api/userdetails/userSessionsGet.go:67 +0x208
goroutine 307 [runnable, locked to thread]:
syscall.SyscallN(0x7ffb64c83170?, {0xc000569920?, 0x3?, 0x0?})
C:/Program Files/Go/src/runtime/syscall_windows.go:544 +0x107
syscall.Syscall(0x0?, 0x101000000000000?, 0xfeffff?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/syscall_windows.go:482 +0x35
syscall.getsockname(0x4b0, 0x0?, 0x1000000?)
C:/Program Files/Go/src/syscall/zsyscall_windows.go:1423 +0x65
syscall.Getsockname(0xc0006d0288?)
C:/Program Files/Go/src/syscall/syscall_windows.go:956 +0x55
net.(*netFD).dial(0xc0006d0288, {0x10c6b40, 0xc000314410}, {0x10c8220?, 0x0?}, {0x10c8220, 0xc000785230}, 0x8767cb?)
C:/Program Files/Go/src/net/sock_posix.go:139 +0x42e
net.socket({0x10c6b40, 0xc000314410}, {0xce47c4, 0x3}, 0x17, 0x1, 0xc000569d00?, 0x0, {0x10c8220, 0x0}, ...)
C:/Program Files/Go/src/net/sock_posix.go:70 +0x2af
net.internetSocket({0x10c6b40, 0xc000314410}, {0xce47c4, 0x3}, {0x10c8220, 0x0}, {0x10c8220?, 0xc000785230?}, 0x1, 0x0, ...)
C:/Program Files/Go/src/net/ipsock_posix.go:154 +0x1e5
net.(*sysDialer).doDialTCPProto(0xc00046c8c0, {0x10c6b40, 0xc000314410}, 0x0, 0xc000785230, 0x0)
C:/Program Files/Go/src/net/tcpsock_posix.go:85 +0xec
net.(*sysDialer).doDialTCP(...)
C:/Program Files/Go/src/net/tcpsock_posix.go:75
net.(*sysDialer).dialTCP(0xc000569d70?, {0x10c6b40?, 0xc000314410?}, 0xc000569d70?, 0x76393c?)
C:/Program Files/Go/src/net/tcpsock_posix.go:71 +0x65
net.(*sysDialer).dialSingle(0xc00046c8c0, {0x10c6b40, 0xc000314410}, {0x10c4eb8, 0xc000785230})
C:/Program Files/Go/src/net/dial.go:651 +0x27d
net.(*sysDialer).dialSerial(0xc00046c8c0, {0x10c6b40, 0xc000314410}, {0xc00059f130?, 0x1, 0x865a4e?})
C:/Program Files/Go/src/net/dial.go:616 +0x24e
net.(*sysDialer).dialParallel.func1({0x10c6b40?, 0xc000314410?}, 0x1)
C:/Program Files/Go/src/net/dial.go:536 +0x86
created by net.(*sysDialer).dialParallel in goroutine 240
C:/Program Files/Go/src/net/dial.go:551 +0x2bc
goroutine 271 [IO wait]:
internal/poll.runtime_pollWait(0x144d1bf6f58, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0x36255bbd9f0e7e73?, 0xd9ea043538b6948?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.execIO(0xc000648f20, 0x1027548)
C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6
internal/poll.(*FD).Read(0xc000648f08, {0xc0003aed80, 0xd80, 0xd80})
C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1
net.(*netFD).Read(0xc000648f08, {0xc0003aed80?, 0x144d1c20288?, 0xc000794168?})
C:/Program Files/Go/src/net/fd_posix.go:55 +0x25
net.(*conn).Read(0xc0004a0228, {0xc0003aed80?, 0xc000299918?, 0x6fea5b?})
C:/Program Files/Go/src/net/net.go:179 +0x45
crypto/tls.(*atLeastReader).Read(0xc000794168, {0xc0003aed80?, 0x0?, 0xc000794168?})
C:/Program Files/Go/src/crypto/tls/conn.go:806 +0x3b
bytes.(*Buffer).ReadFrom(0xc000366630, {0x10c3160, 0xc000794168})
C:/Program Files/Go/src/bytes/buffer.go:211 +0x98
crypto/tls.(*Conn).readFromUntil(0xc000366388, {0x144d1bff218, 0xc0004a0228}, 0xc000299960?)
C:/Program Files/Go/src/crypto/tls/conn.go:828 +0xde
crypto/tls.(*Conn).readRecordOrCCS(0xc000366388, 0x0)
C:/Program Files/Go/src/crypto/tls/conn.go:626 +0x3cf
crypto/tls.(*Conn).readRecord(...)
C:/Program Files/Go/src/crypto/tls/conn.go:588
crypto/tls.(*Conn).Read(0xc000366388, {0xc000602000, 0x1000, 0xc000481dc0?})
C:/Program Files/Go/src/crypto/tls/conn.go:1370 +0x156
bufio.(*Reader).Read(0xc0001f07e0, {0xc0005de740, 0x9, 0x14911e0?})
C:/Program Files/Go/src/bufio/bufio.go:241 +0x197
io.ReadAtLeast({0x10c2860, 0xc0001f07e0}, {0xc0005de740, 0x9, 0x9}, 0x9)
C:/Program Files/Go/src/io/io.go:335 +0x90
io.ReadFull(...)
C:/Program Files/Go/src/io/io.go:354
net/http.http2readFrameHeader({0xc0005de740, 0x9, 0xc0005da960?}, {0x10c2860?, 0xc0001f07e0?})
C:/Program Files/Go/src/net/http/h2_bundle.go:1638 +0x65
net/http.(*http2Framer).ReadFrame(0xc0005de700)
C:/Program Files/Go/src/net/http/h2_bundle.go:1905 +0x85
net/http.(*http2clientConnReadLoop).run(0xc000299fa8)
C:/Program Files/Go/src/net/http/h2_bundle.go:9342 +0x12c
net/http.(*http2ClientConn).readLoop(0xc000158600)
C:/Program Files/Go/src/net/http/h2_bundle.go:9237 +0x65
created by net/http.(*http2Transport).newClientConn in goroutine 270
C:/Program Files/Go/src/net/http/h2_bundle.go:7887 +0xca6
goroutine 222 [IO wait]:
internal/poll.runtime_pollWait(0x144d1bf7050, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0x8?, 0x8?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.execIO(0xc00031e2a0, 0x1027548)
C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6
internal/poll.(*FD).Read(0xc00031e288, {0xc000302c71, 0x1, 0x1})
C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1
net.(*netFD).Read(0xc00031e288, {0xc000302c71?, 0x0?, 0x4?})
C:/Program Files/Go/src/net/fd_posix.go:55 +0x25
net.(*conn).Read(0xc0005b80a8, {0xc000302c71?, 0x0?, 0x0?})
C:/Program Files/Go/src/net/net.go:179 +0x45
net/http.(*connReader).backgroundRead(0xc000302c60)
C:/Program Files/Go/src/net/http/server.go:681 +0x37
created by net/http.(*connReader).startBackgroundRead in goroutine 257
C:/Program Files/Go/src/net/http/server.go:677 +0xba
goroutine 223 [running]:
goroutine running on other thread; stack unavailable
created by github.com/supertokens/supertokens-golang/recipe/dashboard/api/userdetails.UserSessionsGet in goroutine 257
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/dashboard/api/userdetails/userSessionsGet.go:67 +0x208
goroutine 284 [select]:
net/http.(*persistConn).writeLoop(0xc000152fc0)
C:/Program Files/Go/src/net/http/transport.go:2444 +0xf0
created by net/http.(*Transport).dialConn in goroutine 236
C:/Program Files/Go/src/net/http/transport.go:1800 +0x1585
goroutine 223 [running]:
github.com/supertokens/supertokens-golang/supertokens.(*Querier).SendGetRequest.func1({0xc0003a0330?, 0x24?})
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/supertokens/querier.go:386 +0x126d
github.com/supertokens/supertokens-golang/supertokens.(*Querier).sendRequestHelper(0xc0006ebe38, {{0xc0003a0312?, 0x93cd80?}}, 0xc0006ebc30, 0x1, 0x0)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/supertokens/querier.go:568 +0x29f
github.com/supertokens/supertokens-golang/supertokens.(*Querier).SendGetRequest(0xc00032be38, {0xcea975?, 0xce9761?}, 0xc00032bdf8, 0xc00070e0d0)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/supertokens/querier.go:271 +0xc5
github.com/supertokens/supertokens-golang/recipe/session.getSessionInformationHelper({{0xce60b3, 0x7}}, {0xc0002ba750, 0x24}, 0xc00070e0d0)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/session/sessionFunctions.go:206 +0x117
github.com/supertokens/supertokens-golang/recipe/session.MakeRecipeImplementation.func3({0xc0002ba750?, 0x0?}, 0x0?)
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/session/recipeImplementation.go:293 +0x2f
github.com/supertokens/supertokens-golang/recipe/session.GetSessionInformation({0xc0002ba750, 0x24}, {0xc00032bf18, 0xc000153b18?, 0x1})
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/session/main.go:149 +0x158
github.com/supertokens/supertokens-golang/recipe/dashboard/api/userdetails.UserSessionsGet.func1(0xc0003107f0?, {0xc0002ba750?, 0xc000785a10?})
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/dashboard/api/userdetails/userSessionsGet.go:68 +0x7f
created by github.com/supertokens/supertokens-golang/recipe/dashboard/api/userdetails.UserSessionsGet in goroutine 257
C:/Users/Shrujan/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.25.1/recipe/dashboard/api/userdetails/userSessionsGet.go:67 +0x208
exit status 2
I'm using a self hosted supertokens core and when accessing one of the users through the dashboard, I got this.
Metadata
Metadata
Assignees
Labels
No labels