Skip to content

 Timeout for certain tables (Regionaldatenbank) #147

Description

@sjockers

Requesting certain tables from regionsalstatistik.de takes several minutes, eventually causing a timeout.

I've encountered this with the following tables: 41120-12-01-4, 41141-03-01-4, 41141-03-02-4-B – but other tables may have the same issue.

# Requesting the table 41120-12-01-4 takes several minutes and will eventually cause a timeout 
t = pystatis.Table(name="41120-12-01-4") 
t.get_data()

Result:

ReadTimeout: HTTPSConnectionPool(host='[www.regionalstatistik.de](https://file+.vscode-resource.vscode-cdn.net/Users/sjockers/Projects/swr/agrar_regionalstatistik/www.regionalstatistik.de)', port=443): Read timed out. (read timeout=300)

Requests for other tables (from regionsalstatistik.de) run through and have much shorter request times, including some from the same statistics as the problematic ones, e.g. 41141-03-02-4, 41141-03-02-4-B.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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