ATP DB Refused to connect #323
Replies: 3 comments 2 replies
-
Read the Connecting to Oracle Cloud Autonomous Databases documentation and follow what it says without using langchain. Get that going first. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The error |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've tried it either ways...with and without langchain.
However getting the same error. I also tried using TLS & mTLS..with and
without wallet credentials but the issue persists. I even tried allowing
all the request from my cloud console to this DB.
Suggestion Appreciated
…On Fri, 12 Apr, 2024, 21:34 Anthony Tuininga, ***@***.***> wrote:
The error ORA-12506 indicates that your database requires mTLS or hasn't
been configured correctly for one-way TLS. The documentation referenced by
Chris should help you on your way there!
—
Reply to this email directly, view it on GitHub
<#323 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVCINAKXAWOH5QHLEW2YA6TY5AAZNAVCNFSM6AAAAABGD63BJSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TAOJXHE2DQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Got error while connecting to the ATP DB using langchain loader. Not able to connect with the ATP DB without langchain either but I'm able to connect with this database in my SQLDeveloper. Removed the credentials for security purposes
Getting error in Python Program:
DPY-6005: cannot connect to database (CONNECTION_ID=nRH8VLYW7j51qZvYDKt0Xw==).
DPY-6000: Listener refused connection. (Similar to ORA-12506)
from langchain_community.document_loaders import OracleAutonomousDatabaseLoader
SQL_QUERY = "select prod_id, time_id from sh.costs fetch first 5 rows only"
doc_loader = OracleAutonomousDatabaseLoader(
query=SQL_QUERY,
user='',
password='',
schema='',
connection_string=''
)
doc = doc_loader.load()
print(doc)
Beta Was this translation helpful? Give feedback.
All reactions