outline-server
outline-server copied to clipboard
Last error: curl: (22) The requested URL returned error: 403 Forbidden
hello
how can i fix this error on centos7 ?
thanks
sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh)"
> Verifying that Docker is installed .......... OK
> Verifying that Docker daemon is running ..... OK
> Setting PUBLIC_HOSTNAME to external IP ......
Last error: curl: (22) The requested URL returned error: 403 Forbidden
curl: (22) The requested URL returned error: 403 Forbidden
Failed to determine the server's IP address. Try using --hostname <server IP>.
Sorry! Something went wrong. If you can't figure this out, please copy and paste all this output into the Outline Manager screen, and send it to us, to see if we can help you.
Full log: /tmp/outline_logUFd
What cloud provider are you using? This seems similar to https://github.com/Jigsaw-Code/outline-server/issues/776
Are you able to call curl https://ipinfo.io
from the machine?
What cloud provider are you using? This seems similar to #776
Are you able to call
curl https://ipinfo.io
from the machine?
`root@Ubuntu-1804:/home/ubuntu# curl https://ipinfo.io
403. That’s an error.
Your client does not have permission to get URL /
from this server. That’s all we know.
`
same issue
add --hostname YOUR_HOST_NAME after installer Cli.
YOUR_HOST_NAME is IP or other valid hostnameif curl https://ipinfo.io doesn't return a JSON that contains your IP, just define your IP through the --hostname flag
like this:
sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh)--hostname 1.1.1.1"
1.1.1.1 is your ip
We've added fallbacks for the IP info: https://github.com/Jigsaw-Code/outline-server/pull/1213. I believe this is now fixed.