errorcode-net-vpn.md 1.2 KB
Newer Older
S
shawn_he 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
# VPN Error Codes

> **NOTE**
>
> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](errorcode-universal.md).

## 2203001 Failed to Create a VPN

**Error Information**

VPN creation denied, please check the user type.

**Description**

This error code is reported if a VPN fails to be created.

**Possible Causes**

The login user does not have the operation permission. Specifically, the GUEST user does not have the permission to call the **setUp** API.

**Solution**

Check the type of the login user.


## 2203002 VPN Already Exists

**Error Information**

VPN exist already, please execute destroy first.

**Description**

This error code is reported if a VPN already exists.

**Possible Causes**

The VPN has been created.

**Solution**

Call the **destroy** API to destroy the existing VPN, and then call the **setUp** API.


## 2203004 Invalid Descriptor

**Error Information**

Invalid socket file descriptor.

**Description**

This error code is reported if the socket file descriptor is invalid.

**Possible Causes**

A TCP socket connection fails to be established.

**Solution**

Check whether a TCP socket connection is set up successfully.