aerokube / ggr-ui

The missing /status API for Ggr
https://aerokube.com/ggr-ui/latest/
Apache License 2.0
39 stars 15 forks source link

Selenoid UI not showing running sessions when GGR-UI failed to obtain status of a machine when it is down #31

Closed hemanthvenkata closed 5 years ago

hemanthvenkata commented 6 years ago

Scenario:

screen shot 2018-08-15 at 7 04 05 pm screen shot 2018-08-15 at 7 04 52 pm screen shot 2018-08-15 at 7 05 51 pm screen shot 2018-08-15 at 7 06 07 pm

Log details:

Docker image versions: latest-release for all images Docker version : Docker version 1.13.1-cs2, build ad32da7 GGR-UI error : 2018/08/15 17:04:25 [STATUS] [Failed to fetch status: Get http://ip:4444/status: context canceled] [172.17.0.1] selenoid-UI error: 2018/08/15 17:02:00 can't get status (Get http://ip:8888/status: context deadline exceeded)

vania-pooh commented 5 years ago

@hemanthvenkata this can be fixed by adjusting SelenoidUI and GgrUI -timeout flags. In GgrUI default timeout is 30s whereas for SelenoidUI default value is 3s. So setting GgrUI -timeout a bit smaller than SelenoidUI -timeout should fix the issue.