Skip to content

Timeout was reached: [apidatalake.tesouro.gov.br] Connection timed out after 10000 milliseconds #2

@eduardodeabreumoraes

Description

@eduardodeabreumoraes

Every time I try to run the following command for some municipalities I get a timeout error.

Command:

df = siconfir::get_fiscal(year = seq(from = 2014, to = 2021, by = 1), period = 3, freq = 'Q', cod = 3148806, verbose = TRUE)

Error:

Error in curl::curl_fetch_memory(url, handle = handle) :
Timeout was reached: [apidatalake.tesouro.gov.br] Connection timed out after 10000 milliseconds

The code work for some municipalities, but doesn't work for many others. About two months ago the code was working perfectly for any municipality, so perhaps something changed at SICONFI's API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions