shadowsocks / shadowsocks-libev

Bug-fix-only libev port of shadowsocks. Future development moved to shadowsocks-rust
https://github.com/shadowsocks/shadowsocks-rust
GNU General Public License v3.0
15.73k stars 5.7k forks source link

500 Internal Privoxy Error when connecting to website #2853

Open SpiderBlitz opened 2 years ago

SpiderBlitz commented 2 years ago

What version of shadowsocks-libev are you using?

v3.3.5

What operating system are you using?

Raspbian and Windows.

What did you do?

I setup a shadowsocks libev server following this guide: https://upcloud.com/community/tutorials/install-shadowsocks-libev-socks5-proxy/. I am using a Rasperry Pi 4 to run the server.

What did you expect to see?

The website to load correctly.

What did you see instead?

A privoxy error screen displaying this:

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).

What is your config in detail (with all sensitive info masked)?

{
   "server":"0.0.0.0",
   "mode":"tcp_only",
   "server_port":443,
   "password":"*****",
   "timeout":60,
   "method":"chacha20-ietf-poly1305",
   "nameserver":"8.8.8.8"
}

When connected to the proxy on a network that doesn't block websites, they do not have the error. The error only occurs when I connect on a network that blocks websites.

The log file just says

2021-09-07 08:37:02.0923|INFO|Shadowsocks.Controller.I18N|Current language is: en-AU
2021-09-07 08:37:02.1631|INFO|Shadowsocks.Controller.I18N|Translation for en-AU not found
2021-09-07 08:37:02.6381|INFO|Shadowsocks.Controller.ShadowsocksController|WPF Localization Extension|Current culture: en-AU
2021-09-07 08:37:04.0813|INFO|Shadowsocks.Controller.Listener|Shadowsocks started (4.4.0.0)
2021-09-07 08:37:14.6472|INFO|Shadowsocks.Controller.ShadowsocksController|WPF Localization Extension|Current culture: en-AU
2021-09-07 08:37:14.8648|INFO|Shadowsocks.Controller.Listener|Shadowsocks started (4.4.0.0)
2021-09-07 08:37:25.6761|INFO|Shadowsocks.Controller.ShadowsocksController|WPF Localization Extension|Current culture: en-AU
2021-09-07 08:37:25.8778|INFO|Shadowsocks.Controller.Listener|Shadowsocks started (4.4.0.0)
2021-09-07 08:37:26.1690|INFO|Shadowsocks.Controller.ShadowsocksController|WPF Localization Extension|Current culture: en-AU
2021-09-07 08:37:26.3479|INFO|Shadowsocks.Controller.Listener|Shadowsocks started (4.4.0.0)
2021-09-07 08:37:37.3381|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:38.4861|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:38.7436|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:39.4411|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:39.6808|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:43.8191|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:44.0659|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:44.7705|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:44.9971|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:48.3920|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:48.4933|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:48.6652|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:49.6880|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:49.9937|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:51.2417|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:51.4974|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:53.7185|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:53.8176|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out
2021-09-07 08:37:54.0009|INFO|Shadowsocks.Controller.TCPHandler|*************:443 timed out

The *'s are just my local ip address, not a dynamic dns. If it is blocked, how would I unblock it?

zhaheng commented 2 years ago

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). 我也遇到这个问题了,版本3.3.5,查看Shadowsocks状态启动是成功的

zhaheng commented 2 years ago

请问日志怎么查看的

zhaheng commented 2 years ago

解决了,你启动的命令肯定有问题

osinniy commented 2 years ago

I resolve it by changing "fast_open" and "ipv6_first" to false