Closed Vest closed 11 years ago
HMMMM, I've never used the proxy option. I'm just using the aleph HTTP client. I honestly don't have the time to dig into this, but I'd be glad to accept a patch to fix this. It might also be a bug in aleph.
Marking won't fix, proxies aren't useful enough for load testing to support the massive amount of work this would require.
When the proxy settings are added to the Java process, the same proxy is ignored during the load testing:
java -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 -jar engulf.jar
The exception is UnresolvedAddressException.
450 [New I/O worker #9] INFO engulf.control - Node connected. 1 total nodes. 24605 [New I/O worker #7] INFO engulf.job-manager - Starting job 24648 [clojure-agent-send-off-pool-1] INFO engulf.relay - Starting job on relay 24674 [clojure-agent-send-off-pool-1] INFO engulf.worker-client - Starting job on worker 27002 [pool-1-thread-1] WARN engulf.formulas.http-benchmark - Error executing HTTP Request: {:keep-alive? true, :type "url", :timeout 2000, :keep-alive "true",:url "http://www.google.com", :method :get} java.nio.channels.UnresolvedAddressException at sun.nio.ch.Net.checkAddress(Unknown Source) at sun.nio.ch.SocketChannelImpl.connect(Unknown Source) at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(NioClientSocketPipelineSink.java:148) at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:111) at aleph.netty.core$downstream_traffic_handler$reify__9561.handleDownstream(core.clj:214) at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:55) at org.jboss.netty.handler.codec.http.HttpClientCodec.handleDownstream(HttpClientCodec.java:97) at org.jboss.netty.channel.Channels.connect(Channels.java:642) ...