ara-cli | Command Line Interface for Ara Framework | Command Line Interface library
kandi X-RAY | ara-cli Summary
kandi X-RAY | ara-cli Summary
Scaffolding tool for Ara Framework.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ara-cli
ara-cli Key Features
ara-cli Examples and Code Snippets
Community Discussions
Trending Discussions on ara-cli
QUESTION
I am on Ubuntu 20.04
The para
jar is running.
I have followed the "Quick Start" steps in Erudika Para Github repo
At the step to run para-cli setup
.
I am prompted for Para Access Key
.
I am prompted for Para Secret Key
.
I am prompted for Para Endpoint
to which http://localhost:8080
is answered.
The file /home/ace/.config/para-cli-nodejs/config.json
is generated and looks fine.
It matches the accessKey
and secretKey
from the previously executed curl
command to http://localhost:8080/v1/_setup
The problem is para-cli setup
ends with:
✔ New JWT generated and saved in /home/ace/.config/para-cli-nodejs/config.json
✖ Connection failed. Run "para-cli setup" or check the configuration file /home/ace/.config/para-cli-nodejs/config.json
I am now stuck. Why is the connection failing?
This is the content of the config.json
(this is a test app so secret key is not really secret)
ANSWER
Answered 2020-Jul-11 at 12:03Make sure that your Para server is running and accessible from the machine you run para-cli
on. Sometimes when your database is not configured properly the initialization of the root app is not persisted and the secret key you get changes each time you call curl http://localhost:8080/v1/_setup
. Open http://localhost:8080/v1/_setup
and make sure you see "All set!".
Use para-cli ping
to test the connection to your Para server before creating a new app.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ara-cli
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page