node-http-proxy icon indicating copy to clipboard operation
node-http-proxy copied to clipboard

A full-featured http proxy for node.js

Results 200 node-http-proxy issues
Sort by recently updated
recently updated
newest added
trafficstars

Hi, i have some problem with proxy. I try run https -> http proxy. If i make this code: ```javascript var proxy = httpProxy.createProxyServer({ target: "https://127.0.0.1:443", secure:false }) ``` This...

When using `proxyTimeout` it's very difficult to tell the difference between a regular socket hangup and a timeout because, in both cases, an `ECONNRESET` error is thrown. Ideally we should...

if proxy a chunked response. when server return http-header but don't response body immediately. http-proxy will blocked until server body sent.

here is my code `const HttpProxy = require('http-proxy')` `const proxy = HttpProxy.createProxyServer()` ` proxy.on('proxyReq', function(proxyReq, req, res) {` ` proxyReq.setHeader('cookie', req.headers.authorization);` ` console.log('proxyReq', req.headers); ` `});` ` proxy.web(ctx.req, ctx.res, pxy.proxy)`...

I'm currently proxying requests like this: ``` this._proxy.web(req, res, { target: target.host, proxyTimeout }, err => { logger.error("Error proxying %s -> { Host: %s, URL: %s }: ", req.originalUrl, target.host,...

When req.socket is undefined a type error occured, this error is fixed within this pull request. Fixed error - uncaughtException: TypeError: Cannot read properties of undefined (reading 'destroyed')

https://github.com/vercel/next.js/discussions/49546#discussioncomment-5852688 https://github.com/vercel/next.js/issues/45743 `NODE_TLS_REJECT_UNAUTHORIZED` does not work when proxy to https target. Because the `rejectUnauthorized` parameter was specified. So I use the `NODE_TLS_REJECT_UNAUTHORIZED` as the `rejectUnauthorized`'s value when `secure` wasn't specified....

I don't understand why I keep getting ECONNRESET with this rather simple proxy: ``` javascript import httpProxy from 'http-proxy' import http from 'http' const proxy = httpProxy.createProxyServer({}) const server =...

I'm using `http-proxy` to make the MJPEG streams from some internal systems (IP cameras) available on a web portal, which only has port 80 available to access the backend. This...

Hello, I have tried everything to contact the maintainers, nobody answer to me, there is my last try. 1) There is populate headers into outgoing request from incoming: https://github.com/http-party/node-http-proxy/blob/master/lib/http-proxy/common.js#L43 2)...