IRIS xDBC protocol is not compatible error while python execution
Hello Team,
I got xDBC protocol is not compatible while executing python script. How to fix this error
C:\Users\ak\Desktop\lpyth\iris>C:/Users/ak/AppData/Local/Programs/Python/Python312/python.exe c:/Users/ak/Desktop/lpyth/iris/irisconn.py
An error occurred: connection failed: IRIS xDBC protocol is not compatible
py -m pip list
Package Version
------------------ ---------
intersystems-iris 3.9.2
import intersystems_iris as iris
args = {'hostname':'127.0.0.1', 'port':1972,'namespace':'LEARNING', 'username':'_SYSTEM', 'password':'SYS'}
try:
conn = iris.connect(**args)
irispy = iris.createIRIS(conn)
print('connected!')
except Exception as e:
print(f"An error occurred: {e}")Thanks!
Product version: IRIS 2024.1
$ZV: IRIS for Windows (x86-64) 2024.1.1 (Build 347U) Thu Jul 18 2024 17:40:10 EDT
Discussion (2)0
Comments
Which version you trying to connect to?
2024.1 should work
Right, It worked! The issue was a mismatch in the super server port.