# Having troubles with a simple image + lb configuration

**URL:** <https://forums.suse.com/t/having-troubles-with-a-simple-image-lb-configuration/4614>\
**Category:** Rancher 1.x\
**Created:** [November 15, 2016, 9:11am UTC](https://forums.suse.com/t/having-troubles-with-a-simple-image-lb-configuration/4614 "2016-11-15T09:11:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![doddenino](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@doddenino](https://forums.suse.com/u/doddenino)\
**Post date:** [November 15, 2016, 9:11am UTC](https://forums.suse.com/t/having-troubles-with-a-simple-image-lb-configuration/4614/1 "2016-11-15T09:11:59Z")

</div>

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`:

```auto
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 🙂

---

<div class="post-metadata">

**Author:** ![doddenino](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@doddenino](https://forums.suse.com/u/doddenino)\
**Post date:** [November 15, 2016, 3:54pm UTC](https://forums.suse.com/t/having-troubles-with-a-simple-image-lb-configuration/4614/2 "2016-11-15T15:54:34Z")

</div>

My fault, nevermind 😃

---

<div class="post-metadata">

**Author:** ![aemneina](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/aemneina/32/1323_2.png) [@aemneina](https://forums.suse.com/u/aemneina)\
**Post date:** [November 16, 2016, 12:21am UTC](https://forums.suse.com/t/having-troubles-with-a-simple-image-lb-configuration/4614/3 "2016-11-16T00:21:51Z")

</div>

Closed on November 16, 2016, 12:21am UTC


