Skip to content

httr Error in curl::curl_fetch_memory(url, handle = handle) #757

Open
@analyzer79

Description

@analyzer79

I was using httr until recently to connect to a Workday report. However, yesterday I started running into the following error:

Error in curl::curl_fetch_memory(url, handle = handle) :
Timeout was reached [wd3-services1.myworkday.com]: Operation too slow. Less than 1 bytes/sec transferred the last 600 seconds

I believe that the curl package has had some update recently that can be the cause of the issue. The report takes around 20 minutes to give a response, and it was working fine just until a week ago. According to cran curl package was updated as of November 14th 2024. Before that the script was working fine, however this error started appearing yesterday (November 19th 2024)

Using httr2, generates the same problem:

! Failed to perform HTTP request.
Caused by error in curl::curl_fetch_memory():
! Timeout was reached [wd3-services1.myworkday.com]: Operation too slow. Less than 1 bytes/sec transferred the last 600 seconds

UPDATE ----

Downgrading from curl versions (6.0.0 or 6.0.1) to curl version 5.2.3 fixes the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions