-
Notifications
You must be signed in to change notification settings - Fork 3k
What the heck do these logs mean?
Chigusa0w0 edited this page Apr 17, 2021
·
2 revisions
This article is to explain some of the logs you might see in trojan.
-
unknown protocol
: Trojan client received some protocol other thanSOCKS5
. Did you accidentally set up anHTTP
proxy configuration instead? -
cannot establish connection to remote server
: Trojan client is unable to establish a TCP connection to the trojan server. Are you sure the server is up and reachable? You can test it bytraceroute
ing your server or entering its address in a browser. -
SSL handshake failed
: Depending on the specific error message, your trojan client might not have trusted your trojan server's certificate. Maybe the certificate has expired. If it's not the case, please download the certificate and pointcert
in the config file of trojan client to the certificate. -
An attempt was made to access a socket in a way forbidden by its access permissions
: This is a Windows specific problem. Trojan client cannot bind to the port specified in the config file. Please check if there are any programs occupying the port. If not, you may check if the port is reserved by operating system with commandnetsh interface ipv4 show excludedportrange protocol=tcp
. You can cancel the reservation by runningnet stop winnat
, starting Trojan client, and thennet start winnat
.
-
valid trojan request structure but possibly incorrect password
: Did you mistype the password in the client config file?
If you have any other entries that you want to add to these lists, feel free to edit this page.