Using shadowsocks qt5 in ubuntu cannot connect

Log report as 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 this?

+3


source to share


4 answers


I had the same problem. After viewing the log

An invalid socket connection was rejected. Make sure the connection type is SOCKS5

I changed my local server type from SOCKS5

toHTTP(S)



And it works.

Hope this is helpful

+4


source


try it porxychains-ng

.

https://github.com/rofl0r/proxychains-ng



git clone git@github.com:rofl0r/proxychains-ng.git
cd proxychains-ng
./configure --prefix=~/apps/proxychains4 --sysconfdir=~/confs
make install

#edit ~/confs/proxychains.conf, add
#socks4     127.0.0.1 1080
#http   127.0.0.1 1080
socks5  127.0.0.1 1080

#make sure only use socks5, change 1080 to your port

#then
~/apps/proxychains4/proxychains4 firefox

      

0


source


I have the same problem when I use sock5 mode on ss-qt5 on ubuntu. Here is my solution: After I change the local port to the same server port number, it works.

0


source


I tried using shadowsocks on my Ubuntu 16.04 which didn't work (didn't actually connect to my shadowsocks server but didn't make any errors).

The client worked on my Android, Mac OSX and Windows, but not Ubuntu.

I realized that this is not a shadow issue, not a problem at all: just system settings.

Solution that worked immediately (after that the sslocal client connected immediately):

Go to System Settings -> Network -> Network Proxy and set Socks Host to value 127.0.0.1

and port 1080

(these are the settings for localhost and local port that I set in the shadowsocks.json

config file).

Here he is: enter image description here

Right after that, I could see the connection log on my shadowsocks log server. When I tested my IP address in Chrome it was my server IP and I could open sites blocked from my location.

0


source







All Articles