Skip to content
This repository was archived by the owner on Aug 12, 2024. It is now read-only.
This repository was archived by the owner on Aug 12, 2024. It is now read-only.

Properly close the connections #171

Open
@idev

Description

@idev

Hello,

first of all, thank you for your work - awesome tool.

I think I stumble about a issue regarding handling connections.

If connections are not properly closed, they kept alive, which leads to errors:
https://stackoverflow.com/questions/10115126/python-requests-close-http-connection
So as far as I understand there are two options, to set headers properly (keep-alive: false, or to close the request at the end).

My problem is the following error:
requests.exceptions.ConnectionError: ('Connection aborted.', TimeoutError(10060, ....)
which is happening if i try to get_tweets every 3600 seconds in a while true loop.

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions