5
> github_token <- 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

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.

PS. I am behind a proxy server.

Abhinav Gupta
  • 435
  • 1
  • 4
  • 13

1 Answers1

13
library(httr)    
set_config(use_proxy(url="10.3.100.207",port=8080))

This works fine. Thank-you

NelsonGon
  • 13,015
  • 7
  • 27
  • 57
Abhinav Gupta
  • 435
  • 1
  • 4
  • 13