harmony 鸿蒙VPN Error Codes

  • 2023-10-30
  • 浏览 (622)

VPN Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

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.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Error Codes

harmony 鸿蒙Event Error Codes

harmony 鸿蒙DeviceUsageStatistics Error Codes

harmony 鸿蒙DistributedNotificationService Error Codes

harmony 鸿蒙Distributed Scheduler Error Codes

harmony 鸿蒙Ability Error Codes

harmony 鸿蒙Access Control Error Codes

harmony 鸿蒙Accessibility Error Codes

harmony 鸿蒙Account Management Error Codes

harmony 鸿蒙Animator Error Codes

0  赞