I'm about to go crazy over this error that has surfaced recently, possibly after an update of something. I have an ansible playbook that does calls to the DA API, but it is failing on only *some* of my servers with the following error:
When running directadmin in debug mode (b8000), this is all that is logged:
Since this is running via ansible, the API call is initiated on the server itself, connecting to its own server hostname.
I've restarted directadmin, I've compared supported cipher lists from openssl, I've compared directadmin.conf, and everything is the same. Other API calls from other scripts seem to work, so this appears to be only an issue with the connections done from the ansible tasks, which is running on the python3 interpreter. The servers are all Debian 9.
I hope someone has suggestions on how to further troubleshoot this, because at the moment I am stuck..
Code:
Status code was -1 and not [200]: Request failed: <urlopen error [SSL: WRONG_CURVE] wrong curve (_ssl.c:720)>
When running directadmin in debug mode (b8000), this is all that is logged:
Code:
2021/07/15 15:27:54 http: TLS handshake error from <redacted server ip>:41490: remote error: tls: error decoding message
Since this is running via ansible, the API call is initiated on the server itself, connecting to its own server hostname.
I've restarted directadmin, I've compared supported cipher lists from openssl, I've compared directadmin.conf, and everything is the same. Other API calls from other scripts seem to work, so this appears to be only an issue with the connections done from the ansible tasks, which is running on the python3 interpreter. The servers are all Debian 9.
I hope someone has suggestions on how to further troubleshoot this, because at the moment I am stuck..