dataiku api error
![akash97715](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar21.png)
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/installs/dataiku-dss-8.0.0/python/dataiku/apinode/admin/__main__.py", line 56, in <module>
args.func(args, client)
File "/installs/dataiku-dss-8.0.0/python/dataiku/apinode/admin/auth_commands.py", 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/auth.py", line 20, in add_key
return self.client._perform_json("POST", "keys", body=key)
File "/installs/dataiku-dss-8.0.0/python/dataikuapi/base_client.py", line 41, in _perform_json
return self._perform_http(method, path, params, body, False).json()
File "/installs/dataiku-dss-8.0.0/python/dataikuapi/base_client.py", line 27, in _perform_http
auth=auth, stream = stream)
File "/installs/dataiku-dss-8.0.0/python.packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/installs/dataiku-dss-8.0.0/python.packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/installs/dataiku-dss-8.0.0/python.packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', 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',))
Best Answers
-
Hi,
it might be that you didn't start your API node yet (with ./bin/dss start). If ./bin/dss status says it's started, you'll need to attach the contents of the run/ folder for investigation.
-
that's indeed the issue. API node is license-locked, so it refuses to start
-
Ignacio_Toledo Dataiku DSS Core Designer, Dataiku DSS Core Concepts, Neuron 2020, Neuron, Registered, Dataiku Frontrunner Awards 2021 Finalist, Neuron 2021, Neuron 2022, Frontrunner 2022 Finalist, Frontrunner 2022 Winner, Dataiku Frontrunner Awards 2021 Participant, Frontrunner 2022 Participant, Neuron 2023 Posts: 412 Neuron
hi @akash97715
. You need a license to make the API-Node service to work, no workaround without one.
Answers
-
akash97715 Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Dataiku DSS Adv Designer, Registered Posts: 8 ✭✭✭✭
Can anybody help me here please.
-
akash97715 Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Dataiku DSS Adv Designer, Registered Posts: 8 ✭✭✭✭
Hi,
PFA the attached log file. One thing i want to confirm does the apinode covered under the 14 days trail period?
Thanks,
Akash
-
akash97715 Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Dataiku DSS Adv Designer, Registered Posts: 8 ✭✭✭✭
Any idea how to resolve this?
-
akash97715 Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Dataiku DSS Adv Designer, Registered Posts: 8 ✭✭✭✭
Any idea how can i use the API-Node service without licence?