-
Notifications
You must be signed in to change notification settings - Fork 301
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
SS fails to bind ipv6 and adding user problem #21
Comments
It failed to bind to an IPv6 address because it's not properly square-bracketed. I mentioned it here. v1.1.0 has fixed this. I'm not sure why it crashed since the log was incomplete, but it shouldn't have crashed because of some dubious input. I'll try to reproduce this. |
as you mention it did you already fixed this? |
@malikshi Me? Kinda... I set those to 10^9 or 10^12 or 10^15 and it worked, ipv6 also works now in v1.1.0. |
Update: |
ERROR: [udp] bind: Cannot assign requested address
systemctl restart shadowsock-libev
temporarily resolves this)Enter the UID in your ckclient.json as the prompted UID
mean the newly generated UID instead?System info: Ubuntu 19.04 amd64; Shadowsocks-libev 3.2.5; ipv4+ipv6
What I did:
shadowsocks-libev.service
from/lib/systemd/system
into/etc/systemd/system
, changed bothUser
andGroup
toroot
. I also added"user": "root"
to/etc/shadowsocks-libev/config.json
.ss-server says "INFO: running from root user" but fails to bind my ipv6 address to udp port 443. It works fine after
systemctl restart shadowsock-libev
as root user.The second pc couldn't connect so I entered the newly generated UID at step 4 instead.
...I remember it says something like "connection reset by peer" in the status, but after messing around for a while now it keeps crashing until I turn off shadowsocks on my second pc.
I set Up/DownCredit for the second UID to 999999999999999 but it still crashes.
Thx
The text was updated successfully, but these errors were encountered: