-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in curl::curl_fetch_memory(url, handle = handle): HTTP/2 stream 0 was not closed cleanly: #186
Comments
One thing you can try is disabling http2: set_config(http_version = 2L, override = TRUE) And see if that fixes anything, or changes the error. |
Thank you very much for your answer at the moment it doesn't work |
Can you show the error message you get with that set, and also which platform you use? |
I experience similar reproducible issues. For me it was mainly linked with smaller files and I resolved it by forcing |
Brilliant. Works. Thank you very much mmoisse and jeroen, for your help. |
I use the following code: for (i in 1:10000){ gcs_upload(file=name_1, name = path_cs_1, predefinedAcl="bucketOwnerFullControl") } Then I get an error: Error in curl::curl_fetch_memory(url, handle = handle): Error in the HTTP2 framing layer I saw some info, but not working for me: httr::set_config(httr::config(http_version = 1)) I use the lastest version of CURL Package. Could you help me please? Thanks |
I am uploading some raster files with the gcs_upload() function, and for some reason some files generate the following error:
Auto-refreshing stale OAuth token.
Error in curl::curl_fetch_memory(url, handle = handle): HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
Request failed [ERROR]. Retrying in 1 seconds...
Error in curl::curl_fetch_memory(url, handle = handle): HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
Request failed [ERROR]. Retrying in 2.1 seconds...
Error in curl::curl_fetch_memory(url, handle = handle) :
HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
In addition: There were 30 warnings (use warnings() to see them)
Error in value[3L] :
Request failed before finding status code: HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
Thank you very much in advance
The text was updated successfully, but these errors were encountered: