ERROR ActorSystemImpl - Error during processing of request: 'Authentication failed'. Completing with 500 Internal Server Error response. To change default exception handling behavior, provide a custom ExceptionHandler.
com.actionml.authserver.AuthenticationFailedException: Authentication failed
at com.actionml.authserver.services.AuthServerProxyServiceImpl$$anonfun$proxyAuthRequest$1.applyOrElse(AuthServerProxyService.scala:48)
at com.actionml.authserver.services.AuthServerProxyServiceImpl$$anonfun$proxyAuthRequest$1.applyOrElse(AuthServerProxyService.scala:46)
at scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:346)
at scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:345)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:36)
at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)
at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:415)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: akka.stream.StreamTcpException: Tcp command [Connect(localhost:9099,None,List(),Some(10 seconds),true)] failed because of Connection refused
I haven't setup SSL yet. The harness, harness-cli and auth server configurations are the default. What I understand from the tutorials is that it should be possible to add users using the CLI locally without having to change any configuration (any env file).
Harness is running:
Harness CLI v settings
==================================================================
HARNESS_CLI_HOME ............... /home/aml/harness-cli/harness-cli
HARNESS_CLI_SSL_ENABLED .................................... false
HARNESS_CLI_AUTH_ENABLED ................................... false
HARNESS_SERVER_ADDRESS ................................. localhost
HARNESS_SERVER_PORT ......................................... 9090
==================================================================
Harness Server status: OK
Harness server and system info:
{
"buildVersion": "0.6.1",
"gitBranch": "No git branch (BRANCH) detected in env.",
"gitHash": "No git short commit number (GIT_HASH) detected in env.",
"mongoURI": "mongodb://localhost:27017"
}
Any help would be much appreciated.
Thanks