Open marco99asr opened 1 year ago
Running by "sbt run" i see this:
`[info] Loading project definition from /home/server/Glance/project [info] Set current project to Glance (in build file:/home/server/Glance/) [warn] Scala version was updated by one of library dependencies: [warn] org.scala-lang:scala-library:(2.11.8, 2.11.1, 2.11.7, 2.11.11, 2.11.4, 2.11.5, 2.11.2, 2.11.0) -> 2.11.12 [warn] To force scalaVersion, add the following: [warn] ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) } [warn] There may be incompatibilities among your library dependencies. [warn] Here are some of the libraries that were evicted: [warn] xml-apis:xml-apis:(1.4.01, 1.3.04, 1.0.b2) -> 2.0.2 [warn] Run 'evicted' to see detailed eviction warnings
--- (Running the application, auto-reloading is enabled) ---
[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
(Server started, use Ctrl+D to stop and go back to the console...) `
Tryng to reach the server at: http://http://192.168.0.131:9000/?DEMO#
i can see these logs in console
` [warn] Scala version was updated by one of library dependencies: [warn] org.scala-lang:scala-library:(2.11.8, 2.11.1, 2.11.7, 2.11.11, 2.11.4, 2.11.5, 2.11.2, 2.11.0) -> 2.11.12 [warn] To force scalaVersion, add the following: [warn] ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) } [warn] There may be incompatibilities among your library dependencies. [warn] Here are some of the libraries that were evicted: [warn] xml-apis:xml-apis:(1.4.01, 1.3.04, 1.0.b2) -> 2.0.2 [warn] Run 'evicted' to see detailed eviction warnings [warn] Scala version was updated by one of library dependencies: [warn] org.scala-lang:scala-library:(2.11.8, 2.11.1, 2.11.7, 2.11.11, 2.11.4, 2.11.5, 2.11.2, 2.11.0) -> 2.11.12 [warn] To force scalaVersion, add the following: [warn] ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) } [warn] There may be incompatibilities among your library dependencies. [warn] Here are some of the libraries that were evicted: [warn] xml-apis:xml-apis:(1.4.01, 1.3.04, 1.0.b2) -> 2.0.2 [warn] Run 'evicted' to see detailed eviction warnings [debug] play - Plugin [play.api.db.BoneCPPlugin] is disabled [debug] play - Plugin [play.api.db.evolutions.EvolutionsPlugin] is disabled [debug] n.s.e.c.ConfigurationFactory - Configuring ehcache from URL: jar:file:/root/.ivy2/cache/com.typesafe.play/play-cache_2.11/jars/play-cache_2.11-2.3.8.jar!/ehcache-default.xml [debug] n.s.e.c.ConfigurationFactory - Configuring ehcache from InputStream [debug] n.s.e.c.BeanHandler - Ignoring ehcache attribute xmlns:xsi [debug] n.s.e.c.BeanHandler - Ignoring ehcache attribute xsi:noNamespaceSchemaLocation [debug] n.s.e.CacheManager - Creating new CacheManager with config URL: jar:file:/root/.ivy2/cache/com.typesafe.play/play-cache_2.11/jars/play-cache_2.11-2.3.8.jar!/ehcache-default.xml [debug] n.s.e.u.PropertyUtil - propertiesString is null. [debug] n.s.e.c.ConfigurationHelper - No CacheManagerEventListenerFactory class specified. Skipping... [debug] n.s.e.Cache - No BootstrapCacheLoaderFactory class specified. Skipping... [debug] n.s.e.Cache - CacheWriter factory not configured. Skipping... [debug] n.s.e.c.ConfigurationHelper - No CacheExceptionHandlerFactory class specified. Skipping... [debug] n.s.e.s.MemoryStore - Initialized net.sf.ehcache.store.NotifyingMemoryStore for play [debug] n.s.e.Cache - Initialised cache: play [debug] n.s.e.c.ConfigurationHelper - CacheDecoratorFactory not configured for defaultCache. Skipping for 'play'. [debug] application - Options for nbChannelsPerNode:10 [info] application - call MQ [info] application - Glance message queue's server URI:amqp://glance:ciscoglance123456@rabbitmq [ERROR] [05/11/2023 14:05:37.471] [glanceSystem-akka.actor.default-dispatcher-2] [akka://glanceSystem/user/$a] connection failed java.net.UnknownHostException: rabbitmq at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) at java.net.Socket.connect(Socket.java:606) at com.rabbitmq.client.ConnectionFactory.createFrameHandler(ConnectionFactory.java:445) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:504) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533) at com.github.sstone.amqp.ConnectionOwner.createConnection(ConnectionOwner.scala:114) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at scala.util.Try$.apply(Try.scala:192) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1.applyOrElse(ConnectionOwner.scala:137) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.github.sstone.amqp.ConnectionOwner.aroundReceive(ConnectionOwner.scala:75) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254) at akka.dispatch.Mailbox.run(Mailbox.scala:221) at akka.dispatch.Mailbox.exec(Mailbox.scala:231) 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)
[debug] r.c.a.MongoDBSystem - Channel #364319398 unavailable (ChannelClosed(364319398)). [info] application - Glance Sync consumer entry!! [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - 364319398 is disconnected [ERROR] [05/11/2023 14:05:38.431] [glanceSystem-akka.actor.default-dispatcher-2] [akka://glanceSystem/user/$a] connection failed java.net.UnknownHostException: rabbitmq at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) at java.net.Socket.connect(Socket.java:606) at com.rabbitmq.client.ConnectionFactory.createFrameHandler(ConnectionFactory.java:445) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:504) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533) at com.github.sstone.amqp.ConnectionOwner.createConnection(ConnectionOwner.scala:114) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at scala.util.Try$.apply(Try.scala:192) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1.applyOrElse(ConnectionOwner.scala:137) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.github.sstone.amqp.ConnectionOwner.aroundReceive(ConnectionOwner.scala:75) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254) at akka.dispatch.Mailbox.run(Mailbox.scala:221) at akka.dispatch.Mailbox.exec(Mailbox.scala:231) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
[debug] r.c.a.MongoDBSystem - ConnectAll Job running... Status: Node[mongo:27017: Unknown (0/5 available connections), latency=0], auth=Set() [debug] r.c.a.MongoDBSystem - Channel #-1812472642 unavailable (ChannelClosed(-1812472642)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - -1812472642 is disconnected [debug] r.c.a.MongoDBSystem - Channel #-1821323614 unavailable (ChannelClosed(-1821323614)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - -1821323614 is disconnected [debug] r.c.a.MongoDBSystem - Channel #-801644056 unavailable (ChannelClosed(-801644056)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - -801644056 is disconnected [debug] r.c.a.MongoDBSystem - Channel #-942384960 unavailable (ChannelClosed(-942384960)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - -942384960 is disconnected [debug] r.c.a.MongoDBSystem - Channel #761118424 unavailable (ChannelClosed(761118424)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - 761118424 is disconnected [ERROR] [05/11/2023 14:05:39.431] [glanceSystem-akka.actor.default-dispatcher-2] [akka://glanceSystem/user/$a] connection failed java.net.UnknownHostException: rabbitmq at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) at java.net.Socket.connect(Socket.java:606) at com.rabbitmq.client.ConnectionFactory.createFrameHandler(ConnectionFactory.java:445) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:504) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533) at com.github.sstone.amqp.ConnectionOwner.createConnection(ConnectionOwner.scala:114) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at scala.util.Try$.apply(Try.scala:192) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1.applyOrElse(ConnectionOwner.scala:137) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.github.sstone.amqp.ConnectionOwner.aroundReceive(ConnectionOwner.scala:75) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254) at akka.dispatch.Mailbox.run(Mailbox.scala:221) at akka.dispatch.Mailbox.exec(Mailbox.scala:231) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
`
Seems the Glance docker image does not exist, you can try flow the section- "build the project" to build the docker images. That may can help.
I tried build in deploy/docker with "source ./build.sh" The result: [success] Total time: 81 s, completed May 22, 2023 2:07:07 PM
after i used "source ./glance_allbuild.sh 2.0.0.102 localhost"
using to run "docker compose up -d" i can see:
[+] Running 0/2 ⠿ gs2 Error 0.2s ⠿ gs1 Error 0.2s Error response from daemon: manifest for localhost:5000/glance/glancescala:2.0.0.102 not found: manifest unknown: manifest unknown
docker images output:
Running in debug: i commented in docker-compose.yaml "gs1,gs2, nginx, nginxhttps docker services" "run docker-compose up -d ; ./activator run" Application starts. Trying to reach by http request the console logs in the server vm:
[ERROR] [05/22/2023 14:22:56.745] [glanceSystem-akka.actor.default-dispatcher-6] [akka://glanceSystem/user/$a] connection failed java.net.UnknownHostException: rabbitmq at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) at java.net.Socket.connect(Socket.java:606) at com.rabbitmq.client.ConnectionFactory.createFrameHandler(ConnectionFactory.java:445) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:504) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533) at com.github.sstone.amqp.ConnectionOwner.createConnection(ConnectionOwner.scala:114) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at scala.util.Try$.apply(Try.scala:192) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1.applyOrElse(ConnectionOwner.scala:137) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.github.sstone.amqp.ConnectionOwner.aroundReceive(ConnectionOwner.scala:75) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254) at akka.dispatch.Mailbox.run(Mailbox.scala:221) at akka.dispatch.Mailbox.exec(Mailbox.scala:231) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
[debug] r.c.a.MongoDBSystem - ConnectAll Job running... Status: Node[mongo:27017: Unknown (0/5 available connections), latency=0], auth=Set() [debug] r.c.a.MongoDBSystem - Channel #-297751547 unavailable (ChannelClosed(-297751547)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - -297751547 is disconnected [debug] r.c.a.MongoDBSystem - Channel #1272492165 unavailable (ChannelClosed(1272492165)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - 1272492165 is disconnected [debug] r.c.a.MongoDBSystem - Channel #1994564243 unavailable (ChannelClosed(1994564243)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - 1994564243 is disconnected [debug] r.c.a.MongoDBSystem - Channel #1147679224 unavailable (ChannelClosed(1147679224)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - 1147679224 is disconnected [debug] r.c.a.MongoDBSystem - Channel #514231872 unavailable (ChannelClosed(514231872)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - 514231872 is disconnected [ERROR] [05/22/2023 14:22:57.744] [glanceSystem-akka.actor.default-dispatcher-6] [akka://glanceSystem/user/$a] connection failed java.net.UnknownHostException: rabbitmq at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) at java.net.Socket.connect(Socket.java:606) at com.rabbitmq.client.ConnectionFactory.createFrameHandler(ConnectionFactory.java:445) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:504) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533) at com.github.sstone.amqp.ConnectionOwner.createConnection(ConnectionOwner.scala:114) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at scala.util.Try$.apply(Try.scala:192) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1.applyOrElse(ConnectionOwner.scala:137) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.github.sstone.amqp.ConnectionOwner.aroundReceive(ConnectionOwner.scala:75) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254) at akka.dispatch.Mailbox.run(Mailbox.scala:221) at akka.dispatch.Mailbox.exec(Mailbox.scala:231) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
[ERROR] [05/22/2023 14:22:58.744] [glanceSystem-akka.actor.default-dispatcher-6] [akka://glanceSystem/user/$a] connection failed java.net.UnknownHostException: rabbitmq at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) at java.net.Socket.connect(Socket.java:606) at com.rabbitmq.client.ConnectionFactory.createFrameHandler(ConnectionFactory.java:445) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:504) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533) at com.github.sstone.amqp.ConnectionOwner.createConnection(ConnectionOwner.scala:114) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at scala.util.Try$.apply(Try.scala:192) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1.applyOrElse(ConnectionOwner.scala:137) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.github.sstone.amqp.ConnectionOwner.aroundReceive(ConnectionOwner.scala:75) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254) at akka.dispatch.Mailbox.run(Mailbox.scala:221) at akka.dispatch.Mailbox.exec(Mailbox.scala:231) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
@kennych
root@server:/home/server/Glance/deployment# cd .. root@server:/home/server/Glance# sbt run [info] Loading project definition from /home/server/Glance/project [info] Set current project to Glance (in build file:/home/server/Glance/) [warn] Scala version was updated by one of library dependencies: [warn] org.scala-lang:scala-library:(2.11.8, 2.11.1, 2.11.7, 2.11.11, 2.11.4, 2.11.5, 2.11.2, 2.11.0) -> 2.11.12 [warn] To force scalaVersion, add the following: [warn] ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) } [warn] There may be incompatibilities among your library dependencies. [warn] Here are some of the libraries that were evicted: [warn] xml-apis:xml-apis:(1.4.01, 1.3.04, 1.0.b2) -> 2.0.2 [warn] Run 'evicted' to see detailed eviction warnings
--- (Running the application, auto-reloading is enabled) ---
[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
(Server started, use Ctrl+D to stop and go back to the console...)
[warn] Scala version was updated by one of library dependencies: [warn] org.scala-lang:scala-library:(2.11.8, 2.11.1, 2.11.7, 2.11.11, 2.11.4, 2.11.5, 2.11.2, 2.11.0) -> 2.11.12 [warn] To force scalaVersion, add the following: [warn] ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) } [warn] There may be incompatibilities among your library dependencies. [warn] Here are some of the libraries that were evicted: [warn] xml-apis:xml-apis:(1.4.01, 1.3.04, 1.0.b2) -> 2.0.2 [warn] Run 'evicted' to see detailed eviction warnings [warn] Scala version was updated by one of library dependencies: [warn] org.scala-lang:scala-library:(2.11.8, 2.11.1, 2.11.7, 2.11.11, 2.11.4, 2.11.5, 2.11.2, 2.11.0) -> 2.11.12 [warn] To force scalaVersion, add the following: [warn] ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) } [warn] There may be incompatibilities among your library dependencies. [warn] Here are some of the libraries that were evicted: [warn] xml-apis:xml-apis:(1.4.01, 1.3.04, 1.0.b2) -> 2.0.2 [warn] Run 'evicted' to see detailed eviction warnings [debug] play - Plugin [play.api.db.BoneCPPlugin] is disabled [debug] play - Plugin [play.api.db.evolutions.EvolutionsPlugin] is disabled [debug] n.s.e.c.ConfigurationFactory - Configuring ehcache from URL: jar:file:/root/.ivy2/cache/com.typesafe.play/play-cache_2.11/jars/play-cache_2.11-2.3.8.jar!/ehcache-default.xml [debug] n.s.e.c.ConfigurationFactory - Configuring ehcache from InputStream [debug] n.s.e.c.BeanHandler - Ignoring ehcache attribute xmlns:xsi [debug] n.s.e.c.BeanHandler - Ignoring ehcache attribute xsi:noNamespaceSchemaLocation [debug] n.s.e.CacheManager - Creating new CacheManager with config URL: jar:file:/root/.ivy2/cache/com.typesafe.play/play-cache_2.11/jars/play-cache_2.11-2.3.8.jar!/ehcache-default.xml [debug] n.s.e.u.PropertyUtil - propertiesString is null. [debug] n.s.e.c.ConfigurationHelper - No CacheManagerEventListenerFactory class specified. Skipping... [debug] n.s.e.Cache - No BootstrapCacheLoaderFactory class specified. Skipping... [debug] n.s.e.Cache - CacheWriter factory not configured. Skipping... [debug] n.s.e.c.ConfigurationHelper - No CacheExceptionHandlerFactory class specified. Skipping... [debug] n.s.e.s.MemoryStore - Initialized net.sf.ehcache.store.NotifyingMemoryStore for play [debug] n.s.e.Cache - Initialised cache: play [debug] n.s.e.c.ConfigurationHelper - CacheDecoratorFactory not configured for defaultCache. Skipping for 'play'. [debug] application - Options for nbChannelsPerNode:10 [info] application - call MQ [info] application - Glance message queue's server URI:amqp://glance:ciscoglance123456@rabbitmq [info] application - Glance Sync consumer entry!! [ERROR] [05/22/2023 14:33:13.976] [glanceSystem-akka.actor.default-dispatcher-4] [akka://glanceSystem/user/$a] connection failed java.net.UnknownHostException: rabbitmq at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) at java.net.Socket.connect(Socket.java:606) at com.rabbitmq.client.ConnectionFactory.createFrameHandler(ConnectionFactory.java:445) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:504) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533) at com.github.sstone.amqp.ConnectionOwner.createConnection(ConnectionOwner.scala:114) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at scala.util.Try$.apply(Try.scala:192) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1.applyOrElse(ConnectionOwner.scala:137) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.github.sstone.amqp.ConnectionOwner.aroundReceive(ConnectionOwner.scala:75) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254) at akka.dispatch.Mailbox.run(Mailbox.scala:221) at akka.dispatch.Mailbox.exec(Mailbox.scala:231) 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)
[debug] r.c.a.MongoDBSystem - Channel #-605181101 unavailable (ChannelClosed(-605181101)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - -605181101 is disconnected [ERROR] [05/22/2023 14:33:14.956] [glanceSystem-akka.actor.default-dispatcher-4] [akka://glanceSystem/user/$a] connection failed java.net.UnknownHostException: rabbitmq at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) at java.net.Socket.connect(Socket.java:606) at com.rabbitmq.client.ConnectionFactory.createFrameHandler(ConnectionFactory.java:445) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:504) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533) at com.github.sstone.amqp.ConnectionOwner.createConnection(ConnectionOwner.scala:114) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at scala.util.Try$.apply(Try.scala:192) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1.applyOrElse(ConnectionOwner.scala:137) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.github.sstone.amqp.ConnectionOwner.aroundReceive(ConnectionOwner.scala:75) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254) at akka.dispatch.Mailbox.run(Mailbox.scala:221) at akka.dispatch.Mailbox.exec(Mailbox.scala:231) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
[debug] r.c.a.MongoDBSystem - ConnectAll Job running... Status: Node[mongo:27017: Unknown (0/5 available connections), latency=0], auth=Set() [debug] r.c.a.MongoDBSystem - Channel #-180475584 unavailable (ChannelClosed(-180475584)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - -180475584 is disconnected [debug] r.c.a.MongoDBSystem - Channel #1103173121 unavailable (ChannelClosed(1103173121)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - 1103173121 is disconnected [debug] r.c.a.MongoDBSystem - Channel #350182877 unavailable (ChannelClosed(350182877)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - 350182877 is disconnected [debug] r.c.a.MongoDBSystem - Channel #1690166473 unavailable (ChannelClosed(1690166473)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - 1690166473 is disconnected [debug] r.c.a.MongoDBSystem - Channel #701369493 unavailable (ChannelClosed(701369493)). [debug] r.c.a.MongoDBSystem - The entire node set is still unreachable, is there a network problem? [debug] r.c.a.MongoDBSystem - 701369493 is disconnected [ERROR] [05/22/2023 14:33:15.922] [glanceSystem-akka.actor.default-dispatcher-2] [akka://glanceSystem/user/$a] connection failed java.net.UnknownHostException: rabbitmq at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) at java.net.Socket.connect(Socket.java:606) at com.rabbitmq.client.ConnectionFactory.createFrameHandler(ConnectionFactory.java:445) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:504) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533) at com.github.sstone.amqp.ConnectionOwner.createConnection(ConnectionOwner.scala:114) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at scala.util.Try$.apply(Try.scala:192) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1.applyOrElse(ConnectionOwner.scala:137) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.github.sstone.amqp.ConnectionOwner.aroundReceive(ConnectionOwner.scala:75) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254) at akka.dispatch.Mailbox.run(Mailbox.scala:221) at akka.dispatch.Mailbox.exec(Mailbox.scala:231) 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)
[ERROR] [05/22/2023 14:33:16.907] [glanceSystem-akka.actor.default-dispatcher-2] [akka://glanceSystem/user/$a] connection failed java.net.UnknownHostException: rabbitmq at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) at java.net.Socket.connect(Socket.java:606) at com.rabbitmq.client.ConnectionFactory.createFrameHandler(ConnectionFactory.java:445) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:504) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533) at com.github.sstone.amqp.ConnectionOwner.createConnection(ConnectionOwner.scala:114) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1$$anonfun$1.apply(ConnectionOwner.scala:137) at scala.util.Try$.apply(Try.scala:192) at com.github.sstone.amqp.ConnectionOwner$$anonfun$disconnected$1.applyOrElse(ConnectionOwner.scala:137) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.github.sstone.amqp.ConnectionOwner.aroundReceive(ConnectionOwner.scala:75) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254) at akka.dispatch.Mailbox.run(Mailbox.scala:221) at akka.dispatch.Mailbox.exec(Mailbox.scala:231) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
@kennych
Hi @marco99asr, Just checked the docker build script of GlanceScala [ https://github.com/CiscoDevNet/Glance/blob/master/deployment/docker/glancescala/Dockerfile ]. There is some changes about the java base image since the project committed. To resolve the changes of java image, you can just replace "FROM java" with "FROM williamyeh/java8" for workaround(or other java 8 docker images - openjdk based java 8 images..), and try to build the docker images and relevant scripts again.
Thanks for your issue reporting.
BR Kenny
And BTW, The project build environment depends on the Java 8, here is the link switch to java 8 about how to switch your current java environment to java 8, in case the current java version is not java 8.
Kenny
@kennych my java version
Hi i tried to run with docker compose up -d after successfully build. testing from local to access demo page: http://192.168.0.129/?DEMO# nothing comes out. i tried to run in debug mode but same rabbitmq error. u can find attached all my bash log from building to docker compose up to debug mode with errors. MobaXterm_192.168.0.129_20230613_180050.txt i used mobaXTerm, convert file to rtf THX marco.
i missed to uncomment in docker-compose.yml "out gs1,gs2, nginx, nginxhttps" after it trying to reach
in prod works fine but not in debug mode. meanwhile thanks for the support.
hi im tryng to run, following instructions, "docker compose up -d" . Below the result: