Shadowsocks 3.0无法使用的解决方法

March 09, 2016

VPN 快到期了,准备换用 Shadowsocks,没想到第一次用就遇到了 bug。

开启代理后,打开网页提示:

500 Internal Privoxy Error

Privoxy encountered an error while processing your request:

Could not load template file no-server-data or one of its included components.

Please contact your proxy administrator.

If you are the proxy administrator, please put the required file(s)in the (confdir)/templates directory. The location of the (confdir) directory is specified in the main Privoxy config file. (It’s typically the Privoxy install directory).

检查下 Shadowsocks 的日志(右键小飞机——显示日志)发现:

[2016-03-06 23:35:36] System.Net.Sockets.SocketException (0x80004005): 系统检测到在一个调用中尝试使用指针参数时的无效指针地址。

在 System.Net.Sockets.Socket.get_RemoteEndPoint()

在 Shadowsocks.Controller.TCPHandler.ConnectCallback(IAsyncResult ar)

可以通过重设 TCP/IP 和 Winsocks 堆栈解决:

管理员身份运行命令提示符(cmd),执行:

netsh interface ipv4 reset
netsh interface ipv6 reset
netsh winsock reset

重启电脑,解决。


Profile picture

Written by Armin Li , a venture capitalist. [Weibo] [Subscribe]