Error in curl::curl_fetch_memory(url, handle = handle) : Couldn't connect to server in R: oauth2.0_token())
<pre><code>&gt; github_token &lt;- oauth2.0_token(oauth_endpoints("github"), myapp)

Waiting for authentication in browser...
      Press Esc/Ctrl + C to abort
      Authentication complete.
Error in curl::curl_fetch_memory(url, handle = handle) : 
      Couldn't connect to server
</code></pre>

<p>I am trying to get the data from GitAPI. I need to Use this data to find the time that the a repo was created. I have tried installing "httpuv" but the error is same.</p>

<p>PS. I am behind a proxy server.</p>