I think the default port is 5570 for CAS Server and you are using 443 in the python code, 443 is used if you are using HTTPS API calls import swat s = swat.CAS("cloud.example.com", 5570,user,pwd) For HTTPS end point s = swat.CAS("https://webserver.example.com/cas-shared-default-http/",username=user,passsword=pwd) Make Sure you have the trusted cacerts imported to local machine from the server. More details can be found from https://go.documentation.sas.com/api/docsets/caspg3/3.4/content/caspg3.pdf
... View more