Python Iris.CreateIRIS generates connection error
Hi, I'm trying to use the iris python package to create a connection to and Iris Health instance (Docker Container), but getting and error. I can login to the instance using the UI with the same uname/password but unable to create the python connection. Any suggestions?
conn = iris.connect("testserver",52222,"%SYS","username","password")
After executing this I get an exception trap
An error occurred: Invalid Message Count: expected: 1 got: 825110831
Product version: IRIS 2024.1
$ZV: 2024.1
Discussion (1)0
Comments
Does the 52222 is the superserver port or the webgateway one ?
With native api sdk you must use the superserver port.
Maybe also consider using the community driver for better support of SQL and DB-API spec :
https://github.com/intersystems-community/intersystems-irispython