node-minecraft-protocol/examples/client_socks_proxy
IceTank ebbd93f2b6
Added README and more error Handling to client_socks_proxy example (#846)
* Added README and more error Handling to client_socks_proxy example.

* Lint fixing
2021-04-11 23:15:15 +02:00
..
client_socks_proxy.js Added README and more error Handling to client_socks_proxy example (#846) 2021-04-11 23:15:15 +02:00
package.json Pass through http agent option to yggdrasil for proxy support (#676) 2020-02-11 12:31:24 +01:00
README.md Added README and more error Handling to client_socks_proxy example (#846) 2021-04-11 23:15:15 +02:00

Socks5 Proxy example

  • !This Example only works with socks5 proxys!

Make sure your proxy connection is working.

Testing proxy connections with curl on Unix systems or Command prompt on Windows:

curl -x "socks5://<proxyAddress>:<proxyPort>" "http://ifconfig.me"

If you see an ip address the proxy is working. If you see anything else it's not.

These Errors what do they mean????

FetchError: request to https://authserver.mojang.com/authenticate failed, reason: Socket closed
  • The Proxy is not working

SocksClientError: Socket closed
  • General Socket error Bad Proxy/Proxy refuses the connection

SocksClientError: connect ECONNREFUSED <some ip address>
  • The Connection to the proxy Failed

SocksClientError: Proxy connection timed out
  • Destination Address is wrong/not reachable. Or the Proxy is not working.

Connection Refused: Blocked by CloudFront/CloudFlare
  • Proxy Ip has been banned/block by Cloudflare.