What's new in Customer Journeys?

Connect and learn more!
python-oracledb thin client returns DPY-6005 — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

python-oracledb thin client returns DPY-6005

Accepted answer
edited Dec 20, 2022 5:09PM in Autonomous Database 2 comments


Connection to ATP 21c and ADP 19c (free tier, both TLS enabled) using Python thin client fails with DPY-6005!


I'm trying to connect to a 21c ATP and 19c ADP (ACL enabled/configured with "My Address", mTLS set to "Not required", connection string contains "ssl_server_dn_match=yes") using Python's thin client but at the point of making a connection or setting up a connection pool, I get:

OperationalError: DPY-6005: cannot connect to database. Connection failed with "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1131)"

I've used the following documents as a reference:

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!