Comments (7)
Hi @NicolasBrondin, thanks for reporting this.
The message you are seeing is not an actual error, but a warning message that a memory leak may be present in the system (caused by repeatedly attaching event listeners to a given EventEmitter
). This may be a cause for concern, but more often than not, it's just a harmless warning.
With that being said, your process must have died for other reasons, because this warning does not kill the process by itself. If you could provide more info on why and how the process died, we could find out if it were a proxy-chain
related issue.
from proxy-chain.
Thank you for your answer, and you're right the real issue was hidden by all the warning, this is the log of the exceptions thrown by the proxy:
TypeError: Cannot read property '_httpMessage' of null at ServerResponse.detachSocket (_http_server.js:217:17) at HandlerTunnelDirect.onTrgSocketConnect (/home/ubuntu/proxy/node_modules/proxy-chain/build/handler_tunnel_direct.js:67:30) at Object.onceWrapper (events.js:291:20) at Socket.emit (events.js:203:13) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1042:10) (node:1436) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
Error [ERR_STREAM_WRITE_AFTER_END]: write after end at write_ (_http_outgoing.js:566:17) at ServerResponse.write (_http_outgoing.js:561:10) at IncomingMessage.ondata (_stream_readable.js:713:22) at IncomingMessage.emit (events.js:203:13) at IncomingMessage.Readable.read (_stream_readable.js:508:10) at flow (_stream_readable.js:977:34) at ServerResponse.pipeOnDrainFunctionResult (_stream_readable.js:781:7) at ServerResponse.emit (events.js:203:13) at Socket.ondrain (internal/http.js:32:44) at Socket.emit (events.js:208:15) at onwriteDrain (_stream_writable.js:493:12) at afterWrite (_stream_writable.js:481:5) at onwrite (_stream_writable.js:474:7) at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:92:10)
from proxy-chain.
You're right, this is related to issue #27, we plan to fix this. PRs are welcome :)
from proxy-chain.
The issue #27 has been fixed in the latest release, please can you try it again?
from proxy-chain.
Still happening. @NicolasBrondin have you managed to solve this?
from proxy-chain.
No sorry, I switched to a turnkey solution for proxy as a solution !
from proxy-chain.
Should be fixed in #146, reopen if the issue persists
from proxy-chain.
Related Issues (20)
- SOCKS5 support HOT 11
- Passing custom http agent on every prepareRequestFunction HOT 1
- Introduce command line interface to start a local proxy server connect to upstream HOT 2
- Issue with latest stable version 2.2.1 and README about customTag HOT 2
- Linux Mint: Invalid upstream proxy credentials HOT 1
- how can i get origin headers of http request HOT 1
- intercept local requests HOT 2
- Add suport for Bun runtime - Issue with `net.Socket.write` HOT 8
- proxy-chain and puppeteer in same process do not send username and password proxy-authorization HOT 1
- Consider binding HTTP server to a specific hostname HOT 1
- TimeoutError: Navigation timeout of 30000 ms exceeded HOT 9
- Proxy Authentication 407 HOT 3
- Proxy-chain never reconnect when get this error: "Failed to connect to upstream proxy: Error: socket hang up" HOT 5
- getting code 400 for upstream proxy HOT 1
- How do I self sign a request using my certs HOT 1
- Convert "GET" requests to "CONNECT"
- Proxy only certain requests HOT 1
- How to use dynamic upstream proxy pool?
- How to proxy HTTPS? HOT 5
- How to fix/retry on this error "The proxy responded with 590 UPSTREAM503" ? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxy-chain.