The log report like below:
Initialising ciphers...
RC4-MD5 (RC4-MD5) initialised.
Listen UDP socket state changed to QAbstractSocket::BoundState
Running in local mode.
TCP server listen at port 1080
An invalid socket connection was rejected. Please make sure the connection type is SOCKS5.
An invalid socket connection was rejected. Please make sure the connection type is SOCKS5.
An invalid socket connection was rejected. Please make sure the connection type is SOCKS5.
How can I do?
I had the same issue. After seeing the log
An invalid socket connection was rejected. Please make sure the connection type is SOCKS5
I changed local server type from SOCKS5
to HTTP(S)
And it works.
Hope this is helpful
I've tried using shadowsocks on my Ubuntu 16.04, which didn't work (didn't really connect to my shadowsocks server, but did not throw any errors).
Client worked on my Android, Mac OSX and Windows, but not on Ubuntu.
I realized it wasn't shadowsocks issue, rather it wasn't issue at all: just system settings.
Solution that immediately worked (sslocal client immediately connected after that) was:
Go to System Settings -> Network -> Network Proxy and set Socks Host to 127.0.0.1
and port 1080
(these are settings for local host and local port I had set in shadowsocks.json
configuration file).
Here it is:
Immediately after that I could see connection log on my server's shadowsocks log. When I tested my IP in Chrome, it was my server's IP, and I could open sites that are blocked from my location.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With