purpleworks / fleet-ui

Web based UI for fleet
http://fleetui.com/
MIT License
233 stars 39 forks source link

Unable to initialize client: unable to use endpoint scheme , http/https only #31

Closed lancehudson closed 9 years ago

lancehudson commented 9 years ago

I get this error anytime I try to use the webui.

I was running fleet ui as

/usr/bin/docker run --rm --name fleet_ui --memory="128m" \
 -p 3000:3000 \
 -e ETCD_PEER=172.17.9.101 \
 -v /home/core/.ssh/id_rsa:/root/id_rsa \
 purpleworks/fleet-ui

I also tried

/usr/bin/docker run --rm --name fleet_ui --memory="128m" \
 -p 3000:3000 \
 -v /home/core/.ssh/id_rsa:/root/id_rsa \
 purpleworks/fleet-ui

it appears that this ultimately called fleetctl as an example

fleetctl --endpoint 172.17.9.101 start --no-block=true ./new-service.service

which returns the same error

I am now running fleet ui like so:

/usr/bin/docker run --rm --name fleet_ui --memory="128m" \
 -p 3000:3000 \
 -e ETCD_PEER=http://172.17.9.101:4001 \
 -v /home/core/.ssh/id_rsa:/root/id_rsa \
 purpleworks/fleet-ui

and it is now working.

So something in the default options is incorrect and so is the readme.

subicura commented 9 years ago

Thanks reporting! Option is changed, I'll update document as soon as possible.