title: Azure Pipeline Agent fails to use Proxy with Curl Error: CURLE_RECV_ERROR
body: <p>When attempting to configure the agent on a RHEL7 machine via a proxy using 
  <code>./config.sh --proxyurl &lt;PROXY_URL&gt;</code>, it gets stuck after prompting for Server URL and PAT. </p>
  
  <p>Upon looking at the logs in the <code>_diag</code> folder, it looks like it is configured to use the Proxy in the statement - <code>Update proxy setting from '' to'&lt;PROXY_URL_GIVEN_IN_ARGS&gt;'</code>, but it is not able to connect to the server and keeps failing with <code>CURLE_RECV_ERROR</code>, there is no other information there.</p>
  
  <p>The machine being used is running <code>Red Hat Enterprise Linux Server release 7.3 (Maipo)</code> with <code>libcurl/7.29.0</code> and <code>OpenSSL 1.0.1</code></p>
  
  <p>Any help is appreciated.</p>