curl :: curl_fetch_memory(url,handle = handle)出错:从对等端接收数据失败

时间:2017-03-27 13:10:59

标签: r curl connectivity

我在R中执行命令时遇到问题,以下是详细信息:

library(TwoSampleMR) 
ao <- available_outcomes() 
Error in curl::curl_fetch_memory(url, handle = handle) : Failure when receiving data from the peer 
traceback()


15: .Call(R_curl_fetch_memory, url, handle, nonblocking)
14: curl::curl_fetch_memory(url, handle = handle)
13: request_fetch.write_memory(req$output, req$url, handle)
12: request_fetch(req$output, req$url, handle)
11: request_perform(req, hu$handle$handle)
10: POST(endpoint$access, encode = "form", body = req_params)
9: init_oauth2.0(self$endpoint, self$app, scope = self$params$scope, 
   user_params = self$params$user_params, type = self$params$type, 
   use_oob = self$params$use_oob, use_basic_auth = self$params$use_basic_auth)
8: self$init_credentials()
7: .subset2(public_bind_env, "initialize")(...)
6: Token2.0$new(app = app, endpoint = endpoint, params = params, 
   cache_path = cache)
5: httr::oauth2.0_token(endpoint = endpoint, app = app, scope = getOption("googleAuthR.scopes.selected"), 
   cache = getOption("googleAuthR.httr_oauth_cache"))
4: googleAuthR::gar_auth()
3: get_mrbase_access_token()
2: paste0(options()$mrbaseapi, "get_studies?access_token=", access_token)
1: available_outcomes()

我在Google上搜索了很多次,没有人给出可以解决我问题的答案,如果有人能帮助我,我会非常感激!

0 个答案:

没有答案