0 votes

Hi

I am following the steps in the documentation to connect to DSS from outside using Public API Python Client. However, I am not able to connect and an getting the error as shown in the figure. Can you please help me how to connect to DSS.. I created a person API key where i got " Id  " and  " secret". I used "secret" . as API keys. Am i doing it correctly. Can someone please guide me if i m doing mistake.

Regards, 

Sam

 

asked by Sam

1 Answer

0 votes

The Error is 
"

ConnectionError: HTTPConnectionPool(host='localhost', port=11200): Max retries exceeded with url: /dip/publicapi/projects/ (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x116870650>: Failed to establish a new connection: [Errno 61] Connection refused',))

 

"

answered by
This error ("connection refused") means that there is no DSS currently running on http://localhost:11200 on the machine where you're running the Python code
What should I be entering in" host" . What address or port number should i mention there? How to find that out ?
It should be the URL on which DSS is accessible from the location where the notebook is running. Unfortunately, we do not know your setup and cannot help more on that. Maybe you could give us more details ?
651 questions
648 answers
486 comments
408 users