Any updates on this? I’m also facing the same issue at random occassions. The last time it occurred was at 11:35 AM CST November 12 2021. This is the error that I’m getting:
jwks Fetching signing key for <kid> +0ms
jwks Fetching keys from 'https://{myDomain}.us.auth0.com/.well-known/jwks.json' +0ms
jwks Failure: Error: socket hang up
at connResetException (node:internal/errors:691:14)
at TLSSocket.socketCloseListener (node:_http_client:420:25)
at TLSSocket.emit (node:events:402:35)
at TLSSocket.emit (node:domain:475:12)
at node:net:672:12
at TCP.done (node:_tls_wrap:580:7) {
code: 'ECONNRESET'
I’m using both the jsonwebtoken and jwks-rsa libraries to handle the validation of the access token. The issue seems to happen when I call the getSigningKey function from the jwks-rsa library.
Hi, just bumping this saying we’re also getting this error. It happened a few times over the last couple of weeks, here’s the latest with a timestamp on it
Isn’t cache enabled by default?
So am I to assume if someone is still seeing this issue, adding or increasing cache isn’t a solution? Simply trying to understand. Thank you.