Unable to proxy another internal private proxy #880
Unanswered
vicnguyenqt
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Did you try to configure your internal proxy? https://github.com/chimurai/http-proxy-middleware/blob/master/recipes/corporate-proxy.md |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've been trying to create a proxy that redirects traffic to another reserved proxy.
But the thing is that internal reserved proxy has an IP restriction, eventually, when forward the traffic, here is the log:
2023-02-21 14:22:00:220 - error: Proxy forward error: getaddrinfo ENOTFOUND pkg-debian-staging Feb 21 06:22:00 [debian-proxy-staging] [app/web.1] {"errno":-3008,"code":"ENOTFOUND","syscall":"getaddrinfo","hostname":"pkg-debian-staging","stack":"Error: getaddrinfo ENOTFOUND pkg-debian-staging \n at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26)"}
To my understanding, seems that http-proxy tries to request/validate the URL first, and throw error to the event emitter.
How could I send, e.g: my IP address to header/ bypass that error? I couldn't open that internal proxy (prohibited)
Beta Was this translation helpful? Give feedback.
All reactions