Ysurac / openmptcprouter-vps

OpenMPTCProuter VPS scripts
GNU General Public License v3.0
149 stars 63 forks source link

VPS installation script died repeatedly on line 795; edited script and completed successfully #91

Open xzjq opened 6 months ago

xzjq commented 6 months ago

I was executing the snapshot/server-test version of debian-x86_64.sh last night on a fresh VPS running Debian 12, and it died 3x in a row on line 795:

wget -O /lib/systemd/system/shadowsocks-libev-manager@.service ${VPSURL}${VPSPATH}/shadowsocks-libev-manager@.service.in

Gave a "no route to host" for https://www.openmptcprouter.com. Odd, given that line 772, etc, had same form and had no problem. I added quotes to that line and the script successfully completed.

wget -O "/lib/systemd/system/shadowsocks-libev-manager@.service" "${VPSURL}${VPSPATH}/shadowsocks-libev-manager@.service.in"

Ysurac commented 6 months ago

The problem was more a DNS resolution issue. Check what are the current DNS on your VPS.