Having troubles with a simple image + lb configuration

Hi everyone!
I have a webserver docker image that listens on port 3000. I tested it locally and it works correctly.
Now I’m trying to upload it on aws using rancher.
This is my docker-compose.yml:

imageserver:
  image: myimage

lb:
  labels:
    io.rancher.scheduler.global: 'true'
    io.rancher.loadbalancer.ssl.ports: '443'
  image: rancher/load-balancer-service
  links:
  - imageserver
  ports:
  - 443:3000
  - 80:3000

I have two issues:

  1. When I launch rancher-compose ... up I get this message: Failed to read log: websocket: close 1006 unexpected EOF. The logs for my image are empty from rancher server, and there’s no /var/logs/rancher if I log in through the shell.

  2. If I try to reach the service from the IP I get from the load balancer, I get no response. Even if I just try to ping the ip.

Everything in my stack is green and healthy. Any idea how I can debug this? Thanks a lot :slight_smile:

My fault, nevermind :smiley: