Skip to content

Troubleshooting

Magix edited this page Apr 24, 2022 · 11 revisions

Build Errors

Gradle: Could not initialize class...

Gradle is using the wrong version of Java/the JDK. Error Example

Solution: Specify the correct version using: 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.)
Clone this wiki locally