hi, quite strange thing happened to me. Today morn...
# all-things-deployment
g
hi, quite strange thing happened to me. Today morning I had to add a new admin user, so I added it from the GUI. After a few minutes, all accounts became unable to access resources even admin users. There's nothing changed except this priveledge change. Guys could you please suggest me where do need to start checking?
when I try to access all kind of resources system returns "Unauthorized Sorry, you are not authorized to access this page."
Now I'm getting this error : 143903 [application-akka.actor.default-dispatcher-16] ERROR application - ! @7o3lem9db - Internal server error, for (POST) [/api/v2/graphql] -> play.api.UnexpectedException: Unexpected exception[CompletionException: java.net.ConnectException: Connection refused: datahub-gms/192.168.176.6:8080] at play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(HttpErrorHandler.scala:340) at play.api.http.DefaultHttpErrorHandler.onServerError(HttpErrorHandler.scala:263) at play.core.server.AkkaHttpServer$$anonfun$1.applyOrElse(AkkaHttpServer.scala:443) at play.core.server.AkkaHttpServer$$anonfun$1.applyOrElse(AkkaHttpServer.scala:441) at scala.concurrent.Future.$anonfun$recoverWith$1(Future.scala:417) at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64) at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55) at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:92) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:85) at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:92) at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:49) at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) Caused by: java.util.concurrent.CompletionException: java.net.ConnectException: Connection refused: datahub-gms/192.168.176.6:8080
seems datahub-frontend-react cannot access to datahub-gms
i
Hello Tugi, Can you ssh into the react container and ping the ip address of gms? To verify whether there is DNS resolution and connectivity and not an application level issue.
g
hi Pedro, Thank you. After checking all logs, I found privilege policies were changed to INACTIVE. So, set datahubpolicy state to active with a few lines of python code and it worked again 🙂