Hello,
I am trying to connect to a VIYA trial server, via swat package from Python. I am following this guide:
What should I write under cashost and casport?
cashost='pdcesx13012.sas.com' casport=8777 useremail=**** userpassword= *** casconn = swat.CAS(cashost, casport, useremail, userpassword, caslib="casuser",protocol='https')
When I log-in with my username and password to https://pdcesx13012.sas.com/ I can access my Jupyter notebook without any trouble. For the record, these are the errors I get:
imeoutError: [Errno 110] Connection timed outConnectionError: HTTPSConnectionPool(host='pdcesx13012.sas.com', port=5570): Max retries exceeded with url: /cas/sessions (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fadeeaab518>: Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred:
SWATError: Unable to connect to any URL: https://pdcesx13012.sas.com:5570
Thanks for your help.
Javier
You could use only these ports. Our OnDemand team might be able to help you open these ports, but you have to open a track.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.