From aa7743540b6395ccaf2352a4630f4ec10f143cc6 Mon Sep 17 00:00:00 2001 From: Magix Date: Sun, 24 Apr 2022 01:15:37 -0400 Subject: [PATCH] Updated Troubleshooting (markdown) --- Troubleshooting.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index 55b3820..b56f707 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -1,3 +1,5 @@ +# Build Errors + ## Gradle: Could not initialize class... [Error Example](https://media.discordapp.net/attachments/965284036333424722/965743823445696552/11.png) @@ -5,4 +7,33 @@ Gradle is using the wrong version of Java/the JDK. Specify the correct version using: -`set %JAVA_HOME%=C:\Program Files\Java\jdk1.8.0_202` \ No newline at end of file +`set %JAVA_HOME%=C:\Program Files\Java\jdk1.8.0_202` + +# Server Errors + +## Address already in use: bind +This error is derived from the server being unable to bind to a certain port. +The server uses ports: `8888`, `443`, `80`, and `22102` (by default) + +**Potential places for error**: +- The dispatch (web/HTTP[S]) server has double-bounded. +- One of the above ports (or any you've specified) has been bound to by another process. + +**Solutions**: +- If an SSL certificate error is logged to the console, check your `keystore.p12` is in the correct place and with the correct password. +- Run `netstat -aon | find /i "listening"` to find processes with the server ports. Then kill the process with `taskkill /PID `. + +# Client Errors + +## Code 4206 +This error is derived from the client not being able to properly query the current server region. + +**Potential places for error**: +- The client cannot properly establish an encrypted connection to the local server. +- The server is not properly handling the `query_cur_region` request. +- Your proxy isn't setup properly and isn't redirecting the `query_cur_region` request. + +**Solutions**: +- Add the `keystore.p12` certificate to your system's **trusted certificate root authority** list. +- Double-check you can access `https://127.0.0.1/query_cur_region` in the browser. +- Check the settings for the proxy you are using (ex. Fiddler with its Fiddlerscript, MiTMProxy with its Python script, etc.) \ No newline at end of file