albogdano on master
[maven-release-plugin] prepare … (compare)
albogdano on v1.38.3
albogdano on master
[maven-release-plugin] prepare … (compare)
albogdano on master
Release v1.38.3. (compare)
albogdano on master
fixed problem with ParaClient w… added more debug info to all au… (compare)
albogdano on master
added another log message in Mi… (compare)
albogdano on master
added some more log messages in… (compare)
albogdano on master
added warning log message in Mi… (compare)
albogdano on master
fixed ConcurrentModificationExc… (compare)
albogdano on master
added option to configure index… (compare)
albogdano on master
[maven-release-plugin] prepare … (compare)
albogdano on v1.38.2
curl localhost:8080/v1/_setup
para
jar is running so everything is good so far.
para-cli setup
and entered the access key and secret key and http://localhost:8080
is set as the endpoint.
para-cli setup
is that New JWT generated...
however Connection failed. Run "para cli-setup" or check the configuration file...
config.json
file and append /
to the endpoint
(ie http://localhost:8080/
).
new-app
command, it tells me the app already exists. So I try the new-app
again with an app name I have never used before random33
and it tells me the app already exists. What!??
/
?
@albogdano Yes, that property is set to true
para.app_name = "Para"
para.env = "embedded"
para.security.allow_unverified_emails = true
para.clients_can_access_root_app = true
para.cache_enabled = true
para.app_secret_key = "b8db69a24a43f2ce134909f164a45263"
para.security.api_security = false
para.worker_id = 1
Here is the content of ~/.config/para-cli-nodejs/config.json
{
"accessKey": "app:para",
"secretKey": "mMEzD6pTGhqbt8n4n3UMTBl1dH9dWTsK6KDThiDFyeLJLzrnRKXCug==",
"endpoint": "http://localhost:8080",
"jwt": "eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTUwNTA4OTUsImlhdCI6MTU5NDQ0NjA5NSwibmJmIjox>
}
@albogdano
Here is the output of para
jar on startup (notice it says 0 existing child apps
)
2020-07-11 09:25:19 [INFO ] --- Para.initialize() [embedded] ---
2020-07-11 09:25:19 [INFO ] Loaded new DAO, Search and Cache implementations - H2DAO, LuceneSearch and CaffeineCache.
2020-07-11 09:25:19 [INFO ] Server is healthy.
2020-07-11 09:25:19 [INFO ] Found root app 'para' and 0 existing child app(s).
2020-07-11 09:25:19 [INFO ] Instance #1 initialized.
2020-07-11 09:25:20 [INFO ] Starting ParaServer on ace-ubuntu with PID 4805 (/home/ace/projects/java/para/para-jar-1.37.0.jar started by ace in /home/ace/projects/java/para)
2020-07-11 09:25:20 [INFO ] The following profiles are active: embedded
2020-07-11 09:25:20 [INFO ] Listening on port 8080...
2020-07-11 09:25:21 [INFO ] Started ParaServer in 1.443 seconds (JVM running for 3.222)
PS D:\Project-Scoold\project-so-mongo> docker run -ti -p 8880:8080 --rm -v para-data:/para/data -v "$(pwd)/application.conf:/para/application.conf" -e JAVA_OPTS="-Dconfig.f
ile=/para/application.conf -Dloader.path=lib" para-mongo
____ ___ _ ____ ___ _
/ __ \/ __` / ___/ __` /
/ /_/ / /_/ / / / /_/ /
/ ._/\,// _,/ v1.37.1
/_/
2020-08-28 06:08:45 [INFO ] --- Para.initialize() [embedded] ---
2020-08-28 06:08:45 [INFO ] Loaded new DAO, Search and Cache implementations - MongoDBDAO, MockSearch and CaffeineCache.
2020-08-28 06:08:45 [INFO ] MongoDB host: host.docker.internal:27017, database: scoold
2020-08-28 06:08:45 [INFO ] Cluster created with settings {hosts=[host.docker.internal:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms',
maxWaitQueueSize=500}
2020-08-28 06:08:45 [INFO ] Cluster description not yet available. Waiting for 30000 ms before timing out
2020-08-28 06:08:45 [INFO ] Opened connection [connectionId{localValue:1, serverValue:20}] to host.docker.internal:27017
2020-08-28 06:08:45 [INFO ] Monitor thread successfully connected to server with description ServerDescription{address=host.docker.internal:27017, type=STANDALONE, state=CO
NNECTED, ok=true, version=ServerVersion{versionList=[4, 4, 0]}, minWireVersion=0, maxWireVersion=9, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTime
Nanos=3481794}
2020-08-28 06:08:45 [INFO ] Opened connection [connectionId{localValue:2, serverValue:21}] to host.docker.internal:27017
2020-08-28 06:08:45 [INFO ] Created MongoDB table 'para'.
2020-08-28 06:08:45 [WARN ] Server is unhealthy - root app not found. Open http://localhost:8080/v1/_setup in the browser to initialize Para.
2020-08-28 06:08:45 [INFO ] Instance #1 initialized.
2020-08-28 06:08:46 [INFO ] Starting ParaServer on f5678efc70ec with PID 1 (/para/para-1.37.1.jar started by para in /para)
2020-08-28 06:08:46 [INFO ] The following profiles are active: embedded
2020-08-28 06:08:46 [INFO ] Listening on port 8080...
2020-08-28 06:08:48 [INFO ] Started ParaServer in 2.503 seconds (JVM running for 4.87)
2020-08-28 06:09:41 [ERROR] API request error: Not implemented.
^C2020-08-28 06:21:10 [INFO ] --- Para.destroy() ---
2020-08-28 06:21:10 [INFO ] Closed connection [connectionId{localValue:2, serverValue:21}] to host.docker.internal:27017 because the pool has been closed.
PS D:\Project-Scoold\project-so-mongo> docker run -ti -p 8880:8080 --rm -v para-data:/para/data -v "$(pwd)/application.conf:/para/application.conf" -e JAVA_OPTS="-Dconfig.f
ile=/para/application.conf -Dloader.path=lib" para-mongo
____ ___ _ ____ ___ _
/ __ \/ __` / ___/ __` /
/ /_/ / /_/ / / / /_/ /
/ ._/\,// _,/ v1.37.1
/_/
2020-08-28 06:21:14 [INFO ] --- Para.initialize() [embedded] ---
2020-08-28 06:21:14 [INFO ] Loaded new DAO, Search and Cache implementations - MongoDBDAO, MockSearch and CaffeineCache.
2020-08-28 06:21:14 [INFO ] MongoDB host: host.docker.internal:27017, database: scoold
2020-08-28 06:21:14 [INFO ] Cluster created with settings {hosts=[host.docker.internal:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2020-08-28 06:21:14 [INFO ] Cluster description not yet available. Waiting for 30000 ms before timing out
2020-08-28 06:21:14 [INFO ] Opened connection [connectionId{localValue:1, serverValue:22}] to host.docker.internal:27017
2020-08-28 06:21:14 [INFO ] Monitor thread successfully connected to server with description ServerDescription{address=host.docker.internal:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[4, 4, 0]}, minWireVersion=0, maxWireVersion=9, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=4191892}
2020-08-28 06:21:14 [INFO ] Opened connection [connectionId{localValue:2, serverValue:23}] to host.docker.internal:27017
2020-08-28 06:21:14 [ERROR] Failed to initialize Para.
java.lang.UnsupportedOperationException: Not implemented.
at com.erudika.para.search.MockSearch
para.security.api_security
, para.security.allow_unverified_emails
and para.clients_can_access_root_app