VxErrorRequestCanceled (5031) errors are usually caused by network issues that terminate the connection, which cause the SDK to cancel the request.
Check the network configuration of the device or the local network configuration (for example, proxy or firewall restrictions). This issue is often seen in environments or countries with national firewalls or locations with intermittent internet connectivity.
The cause of this error is beyond the control of the developer. The best recourse is to implement retry logic to wait for a certain amount of time and then try again. Configure this retry logic to give up or wave off after a few failures. This error is often seen during the connector create or sign in process, but could also occur during other actions.