Skip to content

ECONNREFUSED after updating to 1.7.1 #1212

Description

@CarlosUvaSilva

Hey
I tried to update to latest which in this case was 1.7.1 and getting a ECONNREFUSED when running the container inside Gitlab's CI

did anything change config or "port" wise? I managed to get the new elasticmq-ui container working locally (not running it on CI) but now the main elasticmq container is breaking.

this is my current gitlab.ci config:

services:
  - name: docker.io/softwaremill/elasticmq
    alias: myproject-sqs
    entrypoint:
      [
          '/bin/sh',
          '-c',
          'echo "$ELASTICMQ_CONFIG" > /opt/elasticmq.conf && exec /opt/docker/bin/elasticmq-server'
      ]
variables:
    ELASTICMQ_CONFIG: |
        include classpath("application.conf")
        node-address {
          protocol = http
          host = "myproject-sqs"
          port = 9324
          context-path = ""
        }
        rest-sqs {
          enabled = true
          bind-port = 9324
          bind-hostname = "0.0.0.0"
          sqs-limits = strict
        }
        queues {
          siem_queue {
            defaultVisibilityTimeout = 0 seconds
            delay = 0 seconds
            receiveMessageWait = 0 seconds
          }
        }
        aws {
          region = eu-west-1
          accountId = 000000000000
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions