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

Use rejectUnauthorized without proxy URL #248

Open
eamodio opened this issue Sep 12, 2023 · 3 comments
Open

Use rejectUnauthorized without proxy URL #248

eamodio opened this issue Sep 12, 2023 · 3 comments

Comments

@eamodio
Copy link

eamodio commented Sep 12, 2023

In v5 I am creating a proxy agent for some use-cases where I only needed to set the rejectUnauthorized flag:

new HttpsProxyAgent({ rejectUnauthorized: false })

But in v7, I don't see how to do the same, since the following throws.

new HttpsProxyAgent('', { rejectUnauthorized: false })

How can this be accomplished in v7?

@KyloJorgensen
Copy link

KyloJorgensen commented Sep 16, 2023

Same +1

I am having the issue with a url too

@JasserRomero
Copy link

any solution?

@eamodio
Copy link
Author

eamodio commented Jan 16, 2024

Anyone have any idea on this one? Would love to be able to move off of v5 if possible.

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