Closed JihadMotii-REISys closed 8 months ago
Hi @JihadMotii-REISys . Can I ask to please clarify what is the issue? What is the problem you are experiencing?
Hi @renecannao Thank you for your prompt response.
I was able to identify the root cause of this error message:
2024-03-28 17:16:32 main.cpp:146:main_check_latest_version(): [ERROR] curl_easy_perform() failed: SSL connect error
It seems like the ProxySQL is making a call to https://www.proxysql.com/latest
to get the latest version as shown here
https://github.com/sysown/proxysql/blob/v2.x/src/main.cpp#L133C46-L157
Since our outbound network is restricted, this call was failing and resulting in the error message above. This error confused me as I believed it was related to MySQL SSL connection but instead it was related to proxysql getting the latest version.
I have whitelisted the DNS www.proxysql.com and the error disappeared. For now, things are looking good and we can close this ticket.
Hello,
I'm running my ProxySQL as a sidecar within a micro-service POD in AWS EKS that connects to an AWS Aurora MySQL database. Here are the details of this stack:
ProxySQL version: 2.6.1 OS version: n/a, Docker image "proxysql/proxysql:2.6.1" Backend MySQL: AWS Aurora MySQL 3.x (MySQL version 8.x) with 1 instance that acts as Writer and Reader. Backend MySQL Database Parameters:
require_secure_transport=ON
tls_version=TLSv1.2
Micro-Service/ProxySQL connection through JDBC:jdbc:mysql://localhost:/tmp/proxysql.sock/mydatabase?useLegacyDatetimeCode=false&serverTimezone=America/Chicago
ProxySQL configuration (proxysql.cnf):ProxySQL logs:
As you can see in the logs, the proxysql is throwing the following error message and nothing else after that:
2024-03-28 17:16:32 main.cpp:146:main_check_latest_version(): [ERROR] curl_easy_perform() failed: SSL connect error
The ProxySQL container does have the
rds-ca-2019-root.pem
andrds-combined-ca-bundle.pem
that are mounted through EKS Secret with the chmod 0666 and are available through in this location/etc/aws-rds-certs-secret/
.I have tried using both
rds-ca-2019-root.pem
andrds-combined-ca-bundle.pem
at a time and I have also used different ciphers within themysql_variables
section in theproxysql.cnf
as such:ssl_p2s_cipher="ECDHE-RSA-AES256-GCM-SHA384"
but no matter what I do, it doesn't help to fix the issue. I couldn't find any related issue to this one except for this ticket: https://github.com/sysown/proxysql/issues/4466
Looking forward for your help on this issue, much appreciated!