Updated Troubleshooting (markdown)

Magix 2022-04-24 01:15:37 -04:00
parent 1973e16432
commit aa7743540b

@ -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`
`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 <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.)