Skip to content

Live tests fail #211

@santiago-esubasta

Description

@santiago-esubasta

The majority of live environment tests fail with the error:

requests.exceptions.SSLError: HTTPSConnectionPool(host='servicios1.afip.gov.ar', port=443): Max retries exceeded with url: /wsfev1/service.asmx?WSDL (Caused by SSLError(SSLError(1, '[SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:1007)')))

I added django_afip to my project, It was working fine until 24/05/2024 when I tested it and failed for the first time. First I tought it was my project, but then cloned this repo and ran the tests to find that they fail too.

I have been looking for a cause, to no avail.

The command I executed was:

tox -e live

The output of pip freeze.

asgiref==3.8.1
attrs==23.2.0
Brotli==1.1.0
cachetools==5.3.3
certifi==2024.2.2
cffi==1.16.0
chardet==5.2.0
charset-normalizer==3.3.2
colorama==0.4.6
cryptography==38.0.4
cssselect2==0.7.0
distlib==0.3.8
Django==5.0.6
django-afip
django-renderpdf==4.0.0
filelock==3.14.0
fonttools==4.52.1
html5lib==1.1
idna==3.7
isodate==0.6.1
lxml==5.2.2
packaging==24.0
pillow==10.3.0
platformdirs==4.2.2
pluggy==1.5.0
pycparser==2.22
pydyf==0.10.0
pyOpenSSL==22.1.0
pyphen==0.15.0
pypng==0.20220715.0
pyproject-api==1.6.1
pytz==2024.1
PyYAML==6.0.1
qrcode==7.4.2
requests==2.32.2
requests-file==2.1.0
requests-toolbelt==1.0.0
setuptools-git==1.2
six==1.16.0
sqlparse==0.5.0
tinycss2==1.3.0
tomli==2.0.1
tox==4.15.0
typing_extensions==4.12.0
urllib3==2.2.0
virtualenv==20.26.2
weasyprint==62.1
webencodings==0.5.1
zeep==4.2.1
zopfli==0.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions