Skip to content
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

failed to set nameservers error #270

Open
jeff-tutin opened this issue Aug 1, 2024 · 1 comment
Open

failed to set nameservers error #270

jeff-tutin opened this issue Aug 1, 2024 · 1 comment

Comments

@jeff-tutin
Copy link

Hi i am a novice who has just installed shadowsocks server on a raspberry pi 3b.

this is my config file

"server":["::1", "192.168.1.102"],
"mode":"tcp_and_udp",
"server_port":8388,
"local_port":8380,
"password":"************",
"timeout":600,
"method":"aes-256-gcm"

When I issue the command

sudo ss-server -c /etc/shadowsocks-libev/config.json -d start

I get

2024-08-01 18:05:30 INFO: UDP relay enabled
2024-08-01 18:05:30 INFO: initializing ciphers... aes-256-gcm
2024-08-01 18:05:30 ERROR: failed to set nameservers

i am assuming name servers is something to do with DHCP Servers but do not understand the error. Things like web browsers in the PI work. I cam also ping www.bbc.co.uk so it can resolve IP addresses. Could anyone give me some advise where to look. I am absolutely stuck

@jeff-tutin
Copy link
Author

jeff-tutin commented Aug 1, 2024

Just a follow, I added the "nameserever":"8.8.8.8", line to the config file to see if that helps but still get the same error. Now i am really stuck

"server":["::1", "192.168.0.102"],
"mode":"tcp_and_udp",
"server_port":8388,
"local_port":8380,
"password":"88888888",
"timeout":600,
"nameserver":"8.8.8.8",
"method":"aes-256-gcm",

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant