Problem Note 63790: Python command to start SAS® Information Retrieval Studio's Proxy Server via Command Line fails with an error "Cannot connect to admin server"
In SAS Information Retrieval Studio, starting Proxy Server via Command Line using the Python command ("python information-retrieval-studio-client.py --start-proxy-server") fails. An error is displayed.
Error: Cannot connect to admin server
This error occurs because a "Downloader" field is missing from the information-retrieval-studio-client.py file. The field must be parsed correctly for the Python command to start Proxy Server successfully.
To resolve this issue, follow the steps below:
1. Back up your current information-retrieval-studio-client.py file under SAS configuration directory/Lev#/Applications/SASInformationRetrievalStudioforSAS/bin directory. (# indicates a number.)
2. Locate the following line (235 by default) in the file.
document = xml.dom.minidom.parse(urllib2.build_opener(urllib2.ProxyHandler({})).open("http://" + self.hostname + ":" + str(self.port) + "/StartProxy", r'''<?xml version="1.0"?><StartProxy/>'''.encode("utf-8")))
3. Modify the line to match the following, and save the file:
document = xml.dom.minidom.parse(urllib2.build_opener(urllib2.ProxyHandler({})).open("http://" + self.hostname + ":" + str(self.port) + "/StartProxy", r'''<?xml version="1.0"?><StartProxy><Downloader>0</Downloader></StartProxy>'''.encode("utf-8")))
Operating System and Release Information
SAS System | SAS Information Retrieval Studio | Linux for x64 | 1.53 | 1.54 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft® Windows® for x64 | 1.53 | 1.54 | 9.4 TS1M0 | 9.4 TS1M6 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2019-05-23 13:11:39 |
Date Created: | 2019-03-05 13:43:07 |