roribio/alpine-sqs

Insight Startup Issue with extra queues

buddylindsey opened this issue · 1 comments

I have created a new queues via a custom elasticmq.conf. I copy and pasted the default and dlq queues and twaeked the names.

That seems to start up fine.

However, when I look at localhost:9325 to see the queues it doesn't show much. Just a blank page with a line at the top, assuming for the menu.

In the logs something is unable to load logs, but I don't know what that is or why it is having a hard time loading.

I also noticed Config contains 0 queues., but not sure what that is referecing as well.

This is the output from my docker-compose file

version: "3"

services:
  elasticmq:
    image: roribio16/alpine-sqs:latest
    ports:
      - 9324:9324
      - 9325:9325
    volumes:
      - .sqsconfig:/opt/custom
[+] Running 1/1
 ⠿ Container pdf-server-elasticmq-1  Recreated                                                                                                                                                                                                                                                   0.1s
Attaching to pdf-server-elasticmq-1
pdf-server-elasticmq-1  | 2021-10-19 16:46:50,418 INFO Included extra file "/etc/supervisor/conf.d/elasticmq.conf" during parsing
pdf-server-elasticmq-1  | 2021-10-19 16:46:50,418 INFO Included extra file "/etc/supervisor/conf.d/insight.conf" during parsing
pdf-server-elasticmq-1  | 2021-10-19 16:46:50,418 INFO Included extra file "/etc/supervisor/conf.d/sqs-init.conf" during parsing
pdf-server-elasticmq-1  | 2021-10-19 16:46:50,418 INFO Set uid to user 0 succeeded
pdf-server-elasticmq-1  | 2021-10-19 16:46:50,429 INFO RPC interface 'supervisor' initialized
pdf-server-elasticmq-1  | 2021-10-19 16:46:50,429 CRIT Server 'unix_http_server' running without any HTTP authentication checking
pdf-server-elasticmq-1  | 2021-10-19 16:46:50,429 INFO supervisord started with pid 1
pdf-server-elasticmq-1  | 2021-10-19 16:46:51,436 INFO spawned: 'sqs-init' with pid 9
pdf-server-elasticmq-1  | 2021-10-19 16:46:51,438 INFO spawned: 'elasticmq' with pid 10
pdf-server-elasticmq-1  | 2021-10-19 16:46:51,442 INFO spawned: 'insight' with pid 11
pdf-server-elasticmq-1  |
pdf-server-elasticmq-1  | > sqs-insight@0.3.0 start /opt/sqs-insight
pdf-server-elasticmq-1  | > node index.js
pdf-server-elasticmq-1  |
pdf-server-elasticmq-1  | 16:46:52.322 [main] INFO  org.elasticmq.server.Main$ - Starting ElasticMQ server (0.15.0) ...
pdf-server-elasticmq-1  | 2021-10-19 16:46:52,456 INFO success: sqs-init entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
pdf-server-elasticmq-1  | 2021-10-19 16:46:52,456 INFO success: elasticmq entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
pdf-server-elasticmq-1  | 2021-10-19 16:46:52,456 INFO success: insight entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
pdf-server-elasticmq-1  | 2021-10-19 16:46:52,456 INFO exited: sqs-init (exit status 0; expected)
pdf-server-elasticmq-1  | Loading config file from "/opt/sqs-insight/lib/../config/config_local.json"
pdf-server-elasticmq-1  | 16:46:53.160 [elasticmq-akka.actor.default-dispatcher-3] INFO  akka.event.slf4j.Slf4jLogger - Slf4jLogger started
pdf-server-elasticmq-1  | Unable to load queues for  undefined
pdf-server-elasticmq-1  | Unable to load queues for  undefined
pdf-server-elasticmq-1  | Unable to load queues for  undefined
pdf-server-elasticmq-1  | Config contains 0 queues.
pdf-server-elasticmq-1  | listening on port 9325
pdf-server-elasticmq-1  | 16:46:54.828 [elasticmq-akka.actor.default-dispatcher-4] INFO  o.e.rest.sqs.TheSQSRestServerBuilder - Started SQS rest server, bind address 0.0.0.0:9324, visible server address * (depends on incoming request path)
pdf-server-elasticmq-1  | 16:46:54.915 [elasticmq-akka.actor.default-dispatcher-4] INFO  o.elasticmq.actor.QueueManagerActor - Creating queue QueueData(pdfgenerationdlq,MillisVisibilityTimeout(10000),PT5S,PT0S,2021-10-19T16:46:54.841Z,2021-10-19T16:46:54.841Z,None,false,false,None,None,Map())
pdf-server-elasticmq-1  | 16:46:54.946 [elasticmq-akka.actor.default-dispatcher-4] INFO  o.elasticmq.actor.QueueManagerActor - Creating queue QueueData(pdfgeneration,MillisVisibilityTimeout(10000),PT5S,PT0S,2021-10-19T16:46:54.945Z,2021-10-19T16:46:54.945Z,Some(DeadLettersQueueData(pdfgenerationdlq,3)),false,false,None,None,Map())
pdf-server-elasticmq-1  | 16:46:54.947 [elasticmq-akka.actor.default-dispatcher-4] INFO  o.elasticmq.actor.QueueManagerActor - Creating queue QueueData(pdfgenresponsedlq,MillisVisibilityTimeout(10000),PT5S,PT0S,2021-10-19T16:46:54.947Z,2021-10-19T16:46:54.947Z,None,false,false,None,None,Map())
pdf-server-elasticmq-1  | 16:46:54.948 [elasticmq-akka.actor.default-dispatcher-4] INFO  o.elasticmq.actor.QueueManagerActor - Creating queue QueueData(pdfgenresponse,MillisVisibilityTimeout(10000),PT5S,PT0S,2021-10-19T16:46:54.948Z,2021-10-19T16:46:54.948Z,Some(DeadLettersQueueData(pdfgenresponsedlq,3)),false,false,None,None,Map())
pdf-server-elasticmq-1  | 16:46:54.957 [elasticmq-akka.actor.default-dispatcher-4] INFO  o.elasticmq.actor.QueueManagerActor - Creating queue QueueData(defaultdlq,MillisVisibilityTimeout(10000),PT5S,PT0S,2021-10-19T16:46:54.957Z,2021-10-19T16:46:54.957Z,None,false,false,None,None,Map())
pdf-server-elasticmq-1  | 16:46:54.959 [elasticmq-akka.actor.default-dispatcher-4] INFO  o.elasticmq.actor.QueueManagerActor - Creating queue QueueData(default,MillisVisibilityTimeout(10000),PT5S,PT0S,2021-10-19T16:46:54.958Z,2021-10-19T16:46:54.958Z,Some(DeadLettersQueueData(defaultdlq,3)),false,false,None,None,Map())
pdf-server-elasticmq-1  | 16:46:54.965 [main] INFO  org.elasticmq.server.Main$ - === ElasticMQ server (0.15.0) started in 3355 ms ===
pdf-server-elasticmq-1  | 16:47:23.237 [elasticmq-akka.actor.default-dispatcher-8] WARN  o.e.r.s.TheSQSRestServerBuilder$$anon$1 - Unknown action: ListQueues
pdf-server-elasticmq-1  | 16:47:23.237 [elasticmq-akka.actor.default-dispatcher-9] WARN  o.e.r.s.TheSQSRestServerBuilder$$anon$1 - Unknown action: ListQueues
pdf-server-elasticmq-1  | 16:47:23.237 [elasticmq-akka.actor.default-dispatcher-6] WARN  o.e.r.s.TheSQSRestServerBuilder$$anon$1 - Unknown action: ListQueues
pdf-server-elasticmq-1  | Unable to load queues for  undefined
pdf-server-elasticmq-1  | Unable to load queues for  undefined
pdf-server-elasticmq-1  | Unable to load queues for  undefined

Anyone have any insights on seeing some insights...

Had the same errors. Seems configuring the queues in endpoints instead of dynamicEndpoints did the trick here.