Challenges making ProxyAgent work with certificates - [email protected] #4607
Unanswered
IgorCantos
asked this question in
Q&A
Replies: 1 comment
-
|
Why do you need to create an Agent inside the undici/lib/dispatcher/proxy-agent.js Lines 29 to 34 in ce52425 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm migrating from an implementation that uses nodejs 18 http/https for requests and
hpagentfor proxying (i'm behind a corporate firewall) to nodejs 20 with undiciProxyAgentand fetch.thats the basic implementation of the proxy
For internal requests (inside the company cloud network) it works perfectly. But for external (internet) request, is does not. The request not even hits the proxy (netskope). The log of the request is the following:
i had debug it for days, but didn't find any solutions. The company proxy is working fine and works with curl and hpagent, but not with undici ProxyAgent.
Am i missing something in the implementation? hope someone can help, thanks!
Beta Was this translation helpful? Give feedback.
All reactions