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

How to make the https://cognito-idp request from Proxy from with-in the app? #31

Open
RaviPinisetti opened this issue Mar 13, 2020 · 2 comments

Comments

@RaviPinisetti
Copy link

Hi,
The request using the URL: https://cognito-idp.${REGION}.amazonaws.com/${POOLID}/.well-known/jwks.json is being made from strategy.js while running the app initially, but getting the following error:
Unhandled rejection TypeError: Unable to generate certificate due to
RequestError: Error: connect ECONNREFUSED 54.209.125.172:443

I'm able to hit the same from the browser and see the JSON response. I'm assuming that the issue could be because of company's proxy, but not sure how to make this work from with-in the app. Any insights, please?

@ghdna
Copy link
Owner

ghdna commented Apr 12, 2020

From within the app as in within your VM or EC2? Do you have internet access from this machine? Try pinging that URL through the terminal.

@fyelci
Copy link

fyelci commented Oct 15, 2021

@RaviPinisetti did you find a solution for this issue, I'm having the same issue.

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

3 participants