harmony 鸿蒙WebSocket Error Codes
WebSocket Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
2302001 WebSocket URL Error
Error Message
Websocket url error.
Description
This error code is reported if the WebSocket URL is incorrect.
Possible Causes
The WebSocket URL is incorrect.
2302002 WebSocket Certificate Does Not Exist
Error Message
Websocket certificate file does not exist.
Description
The WebSocket certificate does not exist.
Possible Causes
The certificate path is incorrect or no certificate is configured.
2302003 WebSocket Connection Already Exists
Error Message
Websocket connection already exists.
Description
The WebSocket connection already exists.
Possible Causes
The WebSocket connection has been established.
2302998 Domain Access Denied
Error Message
It is not allowed to access this domain.
Description
This error code is reported if access to a certain domain is prohibited.
Possible Causes
An incorrect server domain name is configured for the atomic service.
Solution
Configure a correct server domain name for the atomic service. For details, see Network Connection Management.
2302999 Internal Error
Error Message
Internal error.
Description
This error code is reported if an internal error occurs.
Possible Causes
Other system faults occur.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙NetConn_ConnectionProperties
harmony 鸿蒙NetConn_NetCapabilities
harmony 鸿蒙NetConn_NetConnCallback
harmony 鸿蒙NetConn_NetHandleList
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦