diff --git a/rpc/websocket.go b/rpc/websocket.go index 65778b0e52..cdcfa0cd4f 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, } }