dataiku api error

akash97715 Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Dataiku DSS Adv Designer, Registered Posts: 8 ✭✭✭✭

T/admin/", line 6, in admin_key_create
newkey = apiclient.auth().add_key(label=cmdargs.label)
File "/installs/dataiku-dss-8.0.0/python/dataikuapi/apinode_admin/", line 20, in add_key
return self.client._perform_json("POST", "keys", body=key)
File "/installs/dataiku-dss-8.0.0/python/dataikuapi/", line 41, in _perform_json
return self._perform_http(method, path, params, body, False).json()
File "/installs/dataiku-dss-8.0.0/python/dataikuapi/", line 27, in _perform_http
auth=auth, stream = stream)
File "/installs/dataiku-dss-8.0.0/python.packages/requests/", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/installs/dataiku-dss-8.0.0/python.packages/requests/", line 646, in send
r = adapter.send(request, **kwargs)
File "/installs/dataiku-dss-8.0.0/python.packages/requests/", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='', port=9251): Max retries exceeded with url: /admin/api/keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f49f3243890>: Failed to establish a new connection: [Errno 111] Connection refused',))


  • dima_naboka
    dima_naboka Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 28 Dataiker


    It looks like your DSS is not running on host='', port=9251. Please make sure DSS is started. To check the port from DSS home you can do

    cat install.ini|grep port

Setup Info
      Help me…