Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Connecting to autonomous database using Jupyter oracledb, getting SSL: SSLV3_ALERT_HANDSHAKE_FAILURE — 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

Connecting to autonomous database using Jupyter oracledb, getting SSL: SSLV3_ALERT_HANDSHAKE_FAILURE

Received Response
12
Views
6
Comments

Summary:

I am attempting to connect to my oracle cloud autonomous database using Jupyter notebook. I downloaded the wallet from Oracle Autonomous page. However, using oracledb and connection string info found in the tnsnames.ora, I get a handshake error DPY-6005.

Content (required):

Attempting to connect to oracle autonomous database using the following connection in Python, which I got from tnsnames.ora:

connection = oracledb.connect(user=username, 

               password=password, 

               retry_count=20,

               retry_delay=3,

               protocol="tcps",

               host="adb.us-sanjose-1.oraclecloud.com",

               port=1522,

               service_name="g66996d17c789c5_nncdb_medium.adb.oraclecloud.com",

               ssl_server_cert_dn="CN=adb.us-sanjose-1.oraclecloud.com,OU=Oracle ADB SANJOSE, O=Oracle Corporation, L=Redwood City, ST=California, C=US"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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