[Python] "requests.exceptions.ConnectionError: ('Connection aborted.',...

Discussão em 'Python' iniciado por Stack, Março 24, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to connect to https://apis.digital.gob.cl/fl/feriados/2020, but I get an requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)) error on a script that works perfectly with other URLs.

    The code:

    import requests

    response = requests.get('https://apis.digital.gob.cl/fl/feriados/2020')
    print(response.status_code)

    Continue reading...

Compartilhe esta Página