gversmee / dbgap2x

Apache License 2.0
8 stars 7 forks source link

functions is.parent() and parent.study() #8

Closed gversmee closed 5 years ago

gversmee commented 5 years ago

On the Jupyter/mybinder, http request error. Error in curl::curl_fetch_memory(url, handle = handle): Error in the HTTP2 framing layer Tracebak

mikaeldusenne commented 5 years ago

surprising thing: it actually works intermittently....

mikaeldusenne commented 5 years ago

update: the phs.version function seemed to be causing issues, but not the GET request in is.parent().

running httr::set_config(httr::config(http_version = RCurl::HTTP_VERSION_1_1)) before performing the requests solves the issue (from https://github.com/jeroen/curl/issues/156 ) (the default seems to be RCurl::HTTP_VERSION_LAST )

it does not seem to impact negatively the request time, maybe we should perform some tests.