outline-server icon indicating copy to clipboard operation
outline-server copied to clipboard

Connected but doesn't work.

Open HedgehogNSK opened this issue 1 year ago • 3 comments

I've rented a VDS server in Finland specifically for VPN. It's running on Ubuntu 22.04.5 LTS. The list of setup commands:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source ~/.bashrc
nvm install node
nvm use node
sudo apt install docker.io
sudo apt install ufw
sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-apps/master/server_manager/install_scripts/install_server.sh)"
sudo ufw allow api_port/tcp #api_port is a result of the previous command
sudo ufw allow keys_port/tcp #same as api-port
sudo ufw allow keys_port/udp
sudo ufw allow 8080/tcp
sudo ufw allow 22/tcp
sudo ufw reload

I was able to connect via the server app and create keys. I've added the keys to both the PC and Android clients. The connection on the PC is established and stable. Unfortunately, the browser pages still don’t load. The connection on Android drops every 2 seconds.

Docker's log doesn't provide much insight:

Dec 29 05:33:21.956 INF Prometheus metrics available at http://127.0.0.1:9092/metrics.
Dec 29 05:33:21.956 INF Using IP-Country database. db=/var/lib/libmaxminddb/ip-country.mmdb
Dec 29 05:33:21.957 INF Using IP-ASN database. db=/var/lib/libmaxminddb/ip-asn.mmdb
Dec 29 05:33:21.957 INF TCP service started. address=[::]:48621
Dec 29 05:33:21.958 INF UDP service started. address=[::]:48621
Dec 29 05:33:21.958 INF Loaded config. access_keys=2 listeners=2

The log stays the same, regardless of whether I'm connecting to the server or not. Meanwhile, I have an access key to a server in Sweden, and it works for both PC and Android clients. Unfortunatelly, I don't have access the settings of those server. Could you please help me to find a way to fix the connection to my VDS.

HedgehogNSK avatar Dec 29 '24 06:12 HedgehogNSK

Double check if the VDS has any port settings you may need to configure in addition to the OS layer.

You can also try running the server with environment variable LOG_LEVEL=debug set so it prints more debug logs in Docker.

sbruens avatar Jan 07 '25 20:01 sbruens

Hi @sbruens , I’m experiencing the same issues. The server configured until November 2024 is working fine, but I can’t set up the new one. The connection to the server is established, but nothing happens after that. It seemed like a DNS issue, but everything looks fine. Could you advise me on how to debug this?

Doofus100500 avatar Feb 19 '25 15:02 Doofus100500

Hi,

I'm facing an issue where all Android clients in a specific region successfully connect to my Docker Outline server, but some of them have no internet access after connecting. version server 1.12.3

AlexeyBoiler avatar Mar 14 '25 23:03 AlexeyBoiler