# Server UI gives timeout but \`curl localhost:8080/v1\` is responsive

**URL:** <https://forums.suse.com/t/server-ui-gives-timeout-but-curl-localhost-8080-v1-is-responsive/5384>\
**Category:** Rancher 1.x\
**Created:** [February 1, 2017, 4:26pm UTC](https://forums.suse.com/t/server-ui-gives-timeout-but-curl-localhost-8080-v1-is-responsive/5384 "2017-02-01T16:26:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pttroyal](https://avatars.discourse-cdn.com/v4/letter/p/dbc845/32.png) [@pttroyal](https://forums.suse.com/u/pttroyal)\
**Post date:** [February 1, 2017, 4:26pm UTC](https://forums.suse.com/t/server-ui-gives-timeout-but-curl-localhost-8080-v1-is-responsive/5384/1 "2017-02-01T16:26:46Z")

</div>

Docker version: 1.12.5  
Rancher version: latest as of 1/1/2017 (1.3.3 i think?)  
Host: Digital Ocean Ubuntu 14.04  
Memory: 1GB

Two weeks ago, I was able to setup a Rancher and provision hosts. An hour ago, my rancher UI gives me an ERR\_CONNECTION\_TIMED\_OUT through the browser.

I can run `curl http://127.0.0.1:8080/v1` from the host machine and I get JSON no problem.  
Also, when I run `curl http://127.0.0.1:8080/login` I get the login page as expected.

I would appreciate help fixing this. The symptoms are very similar to this issue: [https://github.com/rancher/rancher/issues/1702](https://github.com/rancher/rancher/issues/1702)  
except in my case, I never rebooted my machine.

**What I did to restart the rancher server**

```bash
$ docker stop <mycontainerid>
$ docker run -d -v rancher_datavolume:/var/lib/mysql --restart=always -p 8080:8080 rancher/server:latest

```

**More information**  
I don’t really know what I’m looking at but hopefully someone can see if there is a problem that I’m not seeing.

```bash
$ docker inspect c18 |grep IPAddress
            "SecondaryIPAddresses": null,
            "IPAddress": "172.17.0.2",
                    "IPAddress": "172.17.0.2",

$ iptables -L -n -t nat | grep 8080
MASQUERADE tcp -- 172.17.0.2 172.17.0.2 tcp dpt:8080
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:8080 to:172.17.0.2:8080

$ sudo iptables -L -n --line-numbers -t nat

Chain PREROUTING (policy ACCEPT)
num target prot opt source destination         
1 DOCKER all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCAL

Chain INPUT (policy ACCEPT)
num target prot opt source destination         

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination         
1 DOCKER all -- 0.0.0.0/0 !127.0.0.0/8 ADDRTYPE match dst-type LOCAL

Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination         
1 MASQUERADE all -- 172.17.0.0/16 0.0.0.0/0           
2 MASQUERADE tcp -- 172.17.0.2 172.17.0.2 tcp dpt:8080

Chain DOCKER (2 references)
num target prot opt source destination         
1 RETURN all -- 0.0.0.0/0 0.0.0.0/0           
2 DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:8080 to:172.17.0.2:8080

```

**Running `docker ps`**

```auto
          COMMAND CREATED STATUS PORTS NAMES
c18c1d305403 rancher/server:latest "/usr/bin/entry /usr/" 55 minutes ago Up 55 minutes 3306/tcp, 0.0.0.0:8080->8080/tcp determined_blackwell

```

Is there any more information I can provide?

Thanks.  
-Paul
