Coming soon: We’re working on a brand new, revamped Community experience. Want to receive updates? Sign up now!

0 votes


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.





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',))



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 ?
1,339 questions
1,365 answers
11,916 users

©Dataiku 2012-2018 - Privacy Policy