We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Last night my service failed with this traceback:
fatal error: concurrent map writes goroutine 20214 [running]: github.com/passageidentity/passage-go.(*App).fetchJWKS(0xc00017a390) /opt/render/project/go/pkg/mod/github.com/passageidentity/[email protected]/authentication.go:70 +0xb8 github.com/passageidentity/passage-go.New({0xc00003a33f, 0x18}, 0x0?) /opt/render/project/go/pkg/mod/github.com/passageidentity/[email protected]/app.go:41 +0x185 <snip>
This is because fetchJWKS() is writing to the jwkCache without synchronization: https://github.com/passageidentity/passage-go/blob/main/authentication.go#L70C2-L70C10
I think one of these changes is needed:
sync.Map
Great product and service, BTW. Your dev experience blows the competition out of the water.
The text was updated successfully, but these errors were encountered:
This happened again after I tried a singleton app instance, so I think the fourth option doesn’t work.
Sorry, something went wrong.
Hi @dusty-phillips, thank you for raising this issue.
We're working on a fix; I'll post an update here when it's available.
Hi @dusty-phillips very sorry it's been so long!
#88 should address his issue. Once it's merged in and published I will update here with the fixed version.
ctran88
Successfully merging a pull request may close this issue.
Last night my service failed with this traceback:
This is because fetchJWKS() is writing to the jwkCache without synchronization: https://github.com/passageidentity/passage-go/blob/main/authentication.go#L70C2-L70C10
I think one of these changes is needed:
sync.Map
or similar.Great product and service, BTW. Your dev experience blows the competition out of the water.
The text was updated successfully, but these errors were encountered: