Giter Site home page Giter Site logo

Comments (18)

4044ever avatar 4044ever commented on May 20, 2024 1

@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?

from outline-server.

timmmmmmmmm avatar timmmmmmmmm commented on May 20, 2024

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

from outline-server.

bestserver868 avatar bestserver868 commented on May 20, 2024

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.

from outline-server.

4044ever avatar 4044ever commented on May 20, 2024

@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?

from outline-server.

4044ever avatar 4044ever commented on May 20, 2024

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?

from outline-server.

bestserver868 avatar bestserver868 commented on May 20, 2024

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

from outline-server.

bestserver868 avatar bestserver868 commented on May 20, 2024

@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

from outline-server.

4044ever avatar 4044ever commented on May 20, 2024

@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'

from outline-server.

bestserver868 avatar bestserver868 commented on May 20, 2024

from outline-server.

fortuna avatar fortuna commented on May 20, 2024

@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

from outline-server.

fortuna avatar fortuna commented on May 20, 2024

@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.

from outline-server.

fortuna avatar fortuna commented on May 20, 2024

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.

from outline-server.

4044ever avatar 4044ever commented on May 20, 2024

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.

from outline-server.

fortuna avatar fortuna commented on May 20, 2024

@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.

from outline-server.

ex7r3me avatar ex7r3me commented on May 20, 2024

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

from outline-server.

fortuna avatar fortuna commented on May 20, 2024

@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; }

from outline-server.

MaestroJurko avatar MaestroJurko commented on May 20, 2024

@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.

from outline-server.

PekopT avatar PekopT commented on May 20, 2024

FYI: check if there is curl installed in OS.

from outline-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.