Skip to content

Bug in datadog_checks/base/utils/http.py introducing a 10s timeout #19651

Open
@sebastien-prudhomme

Description

@sebastien-prudhomme

I've noticed a 10s timeout when using http_check on an URL with a problem in its certificate.

It seems related to that PR #14817

With an URL without a port, for instance "https://www.google.com", parsed_url.port is None and the code tries to connect to an empty port, leading to 10s default TCP timeout I guess.

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