curl :: curl_fetch_memory(url,handle = handle)中的错误:无法连接到R中的服务器:oauth2.0_token())

Abh*_*pta 2 curl r

> 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
Run Code Online (Sandbox Code Playgroud)

我正在尝试从GitAPI获取数据。我需要使用此数据来查找创建回购的时间。我尝试安装“ httpuv”,但错误是相同的。

PS。我在代理服务器后面。

Abh*_*pta 7

library(httr)    
set_config(use_proxy(url="10.3.100.207",port=8080))
Run Code Online (Sandbox Code Playgroud)

这很好。谢谢