Skip to content

Uncaught exception on empty response from OTX #10

@demospace

Description

@demospace

OTXv2.py throws an exception from line 83 (response.read().decode...) if there is no data in the response.

I find that this happens at least once while running the ip reputation generator on reasonably large pulse subscriptions. As the exception is uncaught, the long-running getall_iter() fails and getting an updated reputation.list is very difficult.

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