diff --git a/rpc/websocket.go b/rpc/websocket.go index a6b95dd2ac..889562d1ab 100644 --- a/rpc/websocket.go +++ b/rpc/websocket.go @@ -224,6 +224,7 @@ func newClientTransportWS(endpoint string, cfg *clientConfig) (reconnectFunc, er ReadBufferSize: wsReadBuffer, WriteBufferSize: wsWriteBuffer, WriteBufferPool: wsBufferPool, + Proxy: http.ProxyFromEnvironment, } }