Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on "Starting Watchtower ......................... OK" #27

Closed
BlueskyFR opened this issue Mar 22, 2018 · 18 comments
Closed

Stuck on "Starting Watchtower ......................... OK" #27

BlueskyFR opened this issue Mar 22, 2018 · 18 comments
Labels
server/advanced install Issues with manual/advanced server installation

Comments

@BlueskyFR
Copy link

Sorry for duplicate but I really need help with this, and exporting public ip adresse doesn't change anything.

Thanks for your help.

@fortuna fortuna added the server/advanced install Issues with manual/advanced server installation label Mar 22, 2018
@timmmmmmmmm
Copy link

timmmmmmmmm commented Mar 23, 2018

You'll get this message when you don't have all your ports open on your server. I got stuck on it on Aliyun too, untill I added a security rule to open them all. Outline chooses a randomized port, I guess after setup you can close all unneeded ports again except the configured one.
Check out: #22

@bestserver868
Copy link

What i did was "iptables -A INPUT -p tcp -m multiport --dports 1024:65535 -j ACCEPT" on a debian server, before starting the watch tower script.
I was able to complete the installation after that, but still no luck with the server software "outline manager" it fails to connect to API on the specific port.

@4044ever
Copy link

@thomamvt
I tried it on my Raspberry:

iptables -A INPUT -p tcp -m multiport --dports 1024:65535 -j ACCEPT

All routerports 1080 - 65535 are open.

It hangs here after doing the bash -x:

+ curl --cacert /root/.shadowbox/persisted-state/shadowbox-selfsigned.crt -s https://66.222.164.21:26392/vayH6RGFxCuU_PbLQyHHYA/access-keys

What might the problem be?

@4044ever
Copy link

4044ever commented Mar 26, 2018

Slightly different here:

user@raspberrypi:/home/pi# sudo wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | bash

> Verifying that Docker is installed .......... OK
> Verifying that Docker daemon is running ..... OK
> Creating persistent state dir ............... OK
> Generating secret key ....................... OK
> Generating TLS certificate .................. OK
> Generating SHA-256 certificate fingerprint .. OK
> Starting Shadowbox .......................... OK
> Starting Watchtower ......................... OK
> Waiting for Outline server to be healthy ....  

Hanging at "Waiting for Outline server to be healthy"

What does it mean?

@bestserver868
Copy link

I'm not an expert, but i think its means, some ports are not open.

@bestserver868
Copy link

bestserver868 commented Mar 27, 2018

@4044ever I've no idea why it hangs, you can try the below command. Then try the installation again.

iptables -A INPUT -p tcp --dport 1024:65535 -j ACCEPT
iptables -A INPUT -p udp --dport 1024:65535 -j ACCEPT

@4044ever
Copy link

4044ever commented Mar 27, 2018

@thomamvt
Same problem. When I do a bash -x I get stuck at that line:

+ curl --insecure -s https://localhost:25629/zWCZyr1pleXCQMEpp8AeQA/access-keys

For some reasons it changed from the external IP to 'localhost'

@bestserver868
Copy link

bestserver868 commented Mar 27, 2018 via email

@fortuna
Copy link
Collaborator

fortuna commented Mar 27, 2018

@thomamvt It's using localhost in order to check the health of the service without hitting external firewalls.

The script has been updated. Please try again

@fortuna
Copy link
Collaborator

fortuna commented Mar 27, 2018

@4044ever It was hanging there waiting the service to be ready, but the check was likely being blocked by a firewall. We've updated the script to better communicate that.

@fortuna
Copy link
Collaborator

fortuna commented Mar 27, 2018

The original issue was likely due to a firewall. #38 should have clarified what's going on in the installation and provide the information needed for you to unblock the ports.

I'm marking this as closed. We can reopen as a different issue if needed.

@fortuna fortuna closed this as completed Mar 27, 2018
@4044ever
Copy link

4044ever commented Mar 28, 2018

I still get stuck at the same spot. With bash -x

+ curl --insecure -s https://localhost:29639/W4YolAMs4ArLXXs3oUU1ig/access-keys

With bash only:

> Verifying that Docker is installed .......... OK
> Verifying that Docker daemon is running ..... OK
> Creating persistent state dir ............... OK
> Generating secret key ....................... OK
> Generating TLS certificate .................. OK
> Generating SHA-256 certificate fingerprint .. OK
> Starting Shadowbox .......................... OK
> Starting Watchtower ......................... OK
> Waiting for Outline server to be healthy ....

Just in case it makes a different, it's a Raspberry Pi3 and the OS is Raspian. It runs already ShadowsocksR and V2Ray successfully for a few week.

The Raspi is directly LAN connected to a router. All ports (1080-6635) are UDP/TCP forwarded/open.
Is there any other Firewall somewhere? It seems strange because other ports I opened for SSR and V2Ray work.

@fortuna
Copy link
Collaborator

fortuna commented Apr 10, 2018

@404ever: Things to try when the script gets stuck there::

  • Run docker logs shadowboxto get the shadowbox logs
  • Run curl --insecure -s -v https://localhost:29639/<secret>/access-keys with the -v for verbose output

It seems the server never goes up, or the port was blocked somehow.

@4044ever
Copy link

4044ever commented Apr 11, 2018

@fortuna
Thanks, here is what happens.....

curl --insecure -s -v https://localhost:29639/<secret>/access-keys -v

Nothing happens, no output or error on any type. I used of course my data.

docker logs shadowbox

returns:

standard_init_linux.go:190: exec user process caused "exec format error"

Does Outline support the Raspberry ARM architecture?

@ex7r3me
Copy link

ex7r3me commented May 23, 2018

I've built an image on an arm64 processor and published on docker hub (ex7r3me/shadowbox) which works on the Scaleway servers. it might work on Raspberry too.
here is the link to gist for install script (use the first comment for single line installation): https://gist.github.com/ex7r3me/1f06273da6b77d756811102e604e19b6
issue #31 might be related

@fortuna
Copy link
Collaborator

fortuna commented May 25, 2018

@ex7r3me did you have to change anything in the install script other than the image name to make it work?

If not, then you can specify your image with SB_IMAGE. Example:

{ export SB_IMAGE=ex7r3me/shadowbox; sudo wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | bash; }

@MaestroJurko
Copy link

MaestroJurko commented May 29, 2018

@fortuna I tried your suggestion, but still, it gets stuck on

Waiting for Outline server to be healthy ....

I am trying to use Raspberry pie 3 and also trying on Raspberry pi Zero W.

@PekopT
Copy link

PekopT commented Mar 6, 2022

FYI: check if there is curl installed in OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server/advanced install Issues with manual/advanced server installation
Projects
None yet
Development

No branches or pull requests

8 participants