Error Codes
Below is the table with error codes and their causes provided by GSurf:
Code | Model | Access mode |
---|---|---|
When no errors occur | ||
0 | NO_SSL_ERROR | Error starting a UDP socket. |
1 | ERROR_OPEN_UDP_SOCKET | Error sending UDP data. Check if there is a firewall blocking UDP output on port 443 of Gsurf IPs. |
3 | ERROR_WRITE_UDP | Error receiving UDP data. Check if there is a firewall blocking UDP output on port 443 of Gsurf IPs. |
4 | ERROR_READ_UDP | Gsurf lib internal error. The message received from the server is corrupt. Try again. Notify Gsurf development. |
5 | ERROR_GET_SERVER_IP | Gsurf lib internal error. The message received from the server is corrupt. Try again. Notify Gsurf development. |
6 | ERROR_MESSAGE | Internal error in the Gsurf lib. The message received from the server is corrupt. Try again. Notify Gsurf development. |
7 | ERROR_GET_SERVER_PORT | Internal error in the Gsurf lib. The message received from the server is corrupt. Try again. Notify Gsurf development. |
8 | ERROR_CREATE_SSL_CONTEXT | Error creating SSL context. Notify Gsurf development. |
9 | ERROR_CONFIG | Error initializing library variables. Notify Gsurf development. |
10 | ERROR_OPEN_FILE | Error saving configuration files. Please check permissions on the specified directory. |
11 | ERROR_OPEN_CERTIFICATE | The certificate is present, but the file is corrupt. Generate a new certificate and install it on the device. |
12 | ERROR_DECODE_CERTIFICATE | This error possibly occurs because this certificate is not for this device, or due to hardware changes that affected the fingerprint generation. Generate a new certificate and install it on the device. |
13 | ERROR_INVALID_CERTIFICATE | Error verifying the certificate's private key. Generate a new certificate and install it on the device. |
14 | ERROR_OPEN_TCP_SOCKET | Error initializing a TCP socket. |
15 | ERROR_TCP_CONNECTION | Error establishing TCP connection. No internet connection or Gsurf IPs are blocked in the firewall. |
16 | ERROR_HANDSHAKE_SSL | Error during SSL handshake, may be caused by disconnection during the process, expired certificate, revoked certificate, unsupported cipher or untrusted CA. Check Gsurf server certificate and logs. |
17 | ERROR_CRITICAL_HADSHAKE_SSL | Error during SSL handshake, may be caused by disconnection during the process, expired certificate, revoked certificate, unsupported cipher or untrusted CA. Check Gsurf server certificate and logs. |
18 | ERROR_SSL_WRITE | SSL connection failed, possibly disconnected when sending data. |
19 | ERROR_SSL_READ | SSL connection failed, possibly disconnected when receiving data. |
21 | ERROR_MEMORY_ALLOCATE | Error allocating RAM memory, possible lack of RAM memory. |
22 | ERROR_SERVICE_CONNECT | Error connecting to target service. Check if the service is running or if the configured IP and port are correct. |
26 | ERROR_MALFORMED_IP | The IP entered for the connection function is in the wrong format. |
27 | ERROR_RFC1918 The IP | provided for connection function does not comply with RFC 1918 (only local network IPs are supported) |
28 | ERROR_NO_CERTIFICATE | Occurs when the certificate is not present. You must perform the certificate installation. |
29 | ERROR_NO_SSL_CONNECTION | SSL connection error occurs when trying to send/receive information without the connection being established. Make the connection. |
31 | ERROR_SAVE_CERTIFICATE | Unable to save the certificate on the device. Check whether there is write permission in the specified location. |
32 | ERROR_RECEIVE_CERTIFICATE | An error occurred during the process of receiving the certificate. Probably the OTP used is not valid or the activation key is not valid. You need to check if the OTP is valid and try again. |
33 | ERROR_DNS | Error resolving a DNS address. Possible lack of internet connection. Check internet connection and try again. |
34 | ERROR_OPEN_UDP_SOCKET | Error starting a UDP socket. |
35 | ERROR_SERVER_DEFINITION | Error setting the server address. Check internet connection. Check whether Gsurf IPs are allowed on the firewall. Try again. |
36 | ERROR_AUTHENTICATION | Error during the authentication process. It may be caused by wrong or out of sync token. Contact Gsurf to synchronize tokens. |
37 | ERROR_UNKNOWN_ERROR | Unknown error. |
38 | ERROR_EMPTY_MESSAGE | The message received from the server is empty and should be discarded. |
39 | ERROR_MOUNT | Error mounting the partition to save data to the device. |
40 | ERROR_TIMEOUT | Read timeout was reached with no response from the server. Check internet connection. Try again. |
41 | ERROR_INVALID_OTP | The OTP provided is in the wrong format. Check with Gsurf if the OTP is correct. |