rrohitramsen / aws_jwt_cognito

AWS Cognito JWT parser and validator.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any Idea for this issue - com.nimbusds.jose.RemoteKeySourceException: Couldn't retrieve remote JWK set: Read timed out

ricktam1469 opened this issue · comments

I a getting this issue com.nimbusds.jose.RemoteKeySourceException: Couldn't retrieve remote JWK set: Read timed out only for the first time hit.

have u tried increasing the timeout!

Can you please help with the section where do I need to change it. I am unable to find it.

There is no such timeout in the code you have provided, and I am also unable to change the value as timeout mentioned is final variable. Can you please help me in this?

Where is retry method?

you mean re-try and catch method???

I have tried all the ways but it is not working at all. If you don't have any solution, could you please suggest if anything else is there?