Q & A
Dataiku is for…
Governance & Security
Learn Dataiku DSS
Q & A
Ask a Question
Email or Username
I forgot my password
Connection refused when deploying API
Hello, I am trying to deploy API in my AWS instance, I have already done all step from the tutorial (
). However, I don't understand what should I put to List of API nodes. I tried to put here my Public DNS (IPv4) (like
) or IPv4 Public IP (like http://184.108.40.206:11700) but I got a warning: Connection refused (Connection refused). Port 11700 have added in my AWS security group rules. If I try to put URL without port I get an error: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 12 path $
Hi, have you generated an API node admin key and put it into the API deployer interface?
Yes, I have generated API key in API keys section in Admin page and put it into my API node
if I try to use port 10001 I got another warning: Failed to get deployment status from API Node '
': Unknown error on command: <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 404 </title> </head> <body> <h2>HTTP ERROR: 404</h2> <p>Problem accessing /admin/api/services/. Reason: <pre> Not Found</pre></p> <hr /><i><small>Powered by Jetty://</small></i> </body> </html>
What port have you installed the API node in? You need to specify the port number in the URL in the API Deployer node. Have you double checked that the network is open between the API deployer node and the API node, as these may be sitting on 2 different instances?
Alex, thank you for answers. I have already understood my mistake, I didn't install API node. I thought that my DSS instance can be API node.
to add a comment.
to answer this question.
Indeed to deploy an API service, you will need to make a dedicated "API node" installation, as documented in
Then you can use your "Design node" as an "API Deployer" to push API services to production on the installed API node. In a large team, you would probably configure a standalone API Deployer node that multiple Design nodes can push to. See this documentation for more details:
Note that the "Design node" contains an internal "development API server" for simple testing of API services. But it cannot be used for real production testing and deployment.
Hope it helps,
ask related question
to add a comment.
Most popular tags
Model's predicted values are not the same when using Dataiku API to retrieve the model and use it in python
API test query failing when using parameters (SQL)
How I can access recipe's SQL output using python api client
Use ImpalaExecutor in Python Public API
python api client SSL ERROR
Welcome to Dataiku Answers, where you can ask questions and receive answers from other members of the community.
©Dataiku 2012-2018 -