This is my first post here so please pardon if I miss something. I already used the search but couldn’t find any post regarding my issue.
Today, we updated OpenSSL package on our Rocky Linux 9.8 machines from openssl-1:3.5.5-4.el9_8.x86_64 to openssl-1:3.5.5-5.el9_8.x86_64 through dnf update automatically as the new version was released in the Rocky 9 BaseOS repository on 15th July.
After the update, an Ansible task of us using the uri-module threw an error:
"msg": "Status code was -1 and not [200]: Connection failure: [ASN1: NOT_ENOUGH_DATA] not enough data (_ssl.c:4192)"
A downgrade of the OpenSSL package fixed the problem.
Additional information
python3.9 --version
Python 3.9.25
ansible --version
ansible [core 2.14.18]
Steps to reproduce
Execute the following code against a Rocky Linux 9.8 machine with openssl-1:3.5.5-5.el9_8.x86_64 installed:
ansible <your_ssh_host_here>, \
-i <your_ssh_host_here>, \
-b \
-m uri \
-a '{"url": "https:/www.google.com", "method": "GET"}'
Hey, I was able to reproduce this (thanks for the easy reproducer) and we’re pushing out a python3.9 update that fixes this in today’s update. It’s now available on dl.rockylinux.org and should propagate to the mirrors over the next few hours.