-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Any idea what it can be?
fatal error: concurrent map writes
goroutine 157 [running]:
internal/runtime/maps.fatal({0xb50bd05?, 0x0?})
runtime/panic.go:1058 +0x18
github.com/TykTechnologies/tyk/apidef/oas.(*OAS).getTykJWTAuth(0xc000983510, {0xc001b34df9, 0x7})
github.com/TykTechnologies/tyk/apidef/oas/oas.go:254 +0xd2
github.com/TykTechnologies/tyk/apidef/oas.(*OAS).GetJWTConfiguration(0xc000983510)
github.com/TykTechnologies/tyk/apidef/oas/security.go:1354 +0x56b
github.com/TykTechnologies/tyk/gateway.(*JWTMiddleware).getPolicyIDFromToken(0xc000a5ef28, 0xc001954db0)
github.com/TykTechnologies/tyk/gateway/mw_jwt.go:513 +0x49
github.com/TykTechnologies/tyk/gateway.(*JWTMiddleware).getBasePolicyID(0x0?, 0x408f400000000000?, 0x408f400000000000?)
github.com/TykTechnologies/tyk/gateway/mw_jwt.go:546 +0x265
github.com/TykTechnologies/tyk/gateway.(*JWTMiddleware).processCentralisedJWT(0xc000a5ef28, 0xc00229cf00, 0xc001d132c0)
github.com/TykTechnologies/tyk/gateway/mw_jwt.go:768 +0x3ff
github.com/TykTechnologies/tyk/gateway.(*JWTMiddleware).ProcessRequest(0xc000a5ef28, {0x0?, 0x0?}, 0xc00229cf00, {0x0?, 0x0?})
github.com/TykTechnologies/tyk/gateway/mw_jwt.go:1073 +0x7a5
github.com/TykTechnologies/tyk/gateway.TraceMiddleware.ProcessRequest({{0xc2e3e40?, 0xc000a5ef28?}}, {0xc291428, 0xc0010a6700}, 0xc00229cf00, {0x0, 0x0})
github.com/TykTechnologies/tyk/gateway/middleware.go:105 +0x51a
github.com/TykTechnologies/tyk/gateway.(*Gateway).createMiddleware.func1.1({0xc291428, 0xc0010a6700}, 0xc00229cf00)
github.com/TykTechnologies/tyk/gateway/middleware.go:171 +0x91b
net/http.HandlerFunc.ServeHTTP(0xa9bd140?, {0xc291428?, 0xc0010a6700?}, 0x6?)
net/http/server.go:2294 +0x29
github.com/TykTechnologies/tyk/gateway.(*Gateway).createMiddleware.func1.1({0xc291428, 0xc0010a6700}, 0xc00229cf00)
github.com/TykTechnologies/tyk/gateway/middleware.go:210 +0x11dd
net/http.HandlerFunc.ServeHTTP(0xa9bd140?, {0xc291428?, 0xc0010a6700?}, 0x6?)
net/http/server.go:2294 +0x29
github.com/TykTechnologies/tyk/gateway.(*Gateway).createMiddleware.func1.1({0xc291428, 0xc0010a6700}, 0xc00229cf00)
github.com/TykTechnologies/tyk/gateway/middleware.go:210 +0x11dd
net/http.HandlerFunc.ServeHTTP(0xa9bd140?, {0xc291428?, 0xc0010a6700?}, 0x6?)
probelabs