amazon-ecs-cli icon indicating copy to clipboard operation
amazon-ecs-cli copied to clipboard

'Ports': No port specified: :/udp<empty>"

Open DiptoChakrabarty opened this issue 4 years ago • 1 comments

I am trying to setup jitsi meet in ECS referring to the following guide https://aws.amazon.com/blogs/opensource/getting-started-with-jitsi-an-open-source-web-conferencing-solution/ , the docker compose file used is the following https://github.com/jitsi/docker-jitsi-meet/blob/master/docker-compose.yml where only the volumes are removed

Description

Command Run : ecs-cli compose --file docker-compose.yml up go version : go version go1.13.4 linux/amd64 ecs cli version: ecs-cli version 1.20.0 (7547c45) System Used: Amazon Linux 2

Config files

  • docker-compose.yml Specified here https://github.com/jitsi/docker-jitsi-meet/blob/master/docker-compose.yml with only the volume lines removed

  • ecs-params.yml

  • ~/.ecs/config version: v1 default: jitsi-central clusters: jitsi-central: cluster: jitsi-central region: ap-south-1 default_launch_type: EC2

Expected Behavior

as given in the blog it should start deploying the containers listed in the compose file

Observed Behavior

ERRO[0000] Unable to open ECS Compose Project error="1 error(s) decoding:\n\n* error decoding 'Ports': No port specified: :/udp" FATA[0000] Unable to create and read ECS Compose Project error="1 error(s) decoding:\n\n* error decoding 'Ports': No port specified: :/udp"

I would like to know how to rectify this error

DiptoChakrabarty avatar Sep 23 '20 15:09 DiptoChakrabarty

Hi @DiptoChakrabarty - the error seems to indicate that the ${JVB_PORT} env var can't be found, so it's reading this line as ":/udp". Can you try exporting this env var or running ecs-cli compose up with real value and letting us know if that helps?

allisaurus avatar Oct 28 '20 21:10 allisaurus