Skip to content
New issue

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

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

Open
ricktam1469 opened this issue Jul 22, 2020 · 7 comments

Comments

@ricktam1469
Copy link

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

@rrohitramsen
Copy link
Owner

have u tried increasing the timeout!

@ricktam1469
Copy link
Author

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

@ricktam1469
Copy link
Author

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?

@rrohitramsen
Copy link
Owner

At this place - https://github.com/rrohitramsen/aws_jwt_cognito/blob/master/src/main/java/com/aws/jwt/token/AwsCognitoJwtParserUtil.java#L168 you are getting error, please try moving this call in retry method.

@ricktam1469
Copy link
Author

Where is retry method?

@ricktam1469
Copy link
Author

you mean re-try and catch method???

@ricktam1469
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants