FAQ about DataV Proxy requests

更新时间:
复制 MD 格式

Common issues and solutions for requests made to the DataV Proxy Service.

Troubleshoot connection failures for DataV Proxy requests

Follow these steps to troubleshoot connection failures with the DataV Proxy Service.

  1. Check whether a Configuration Error message appears on the interface.

    • If it does, the error is usually caused by a key and secret parsing failure. Perform the following steps.

      1. Check whether the local time on your machine matches the standard time.

        Search for `time` in a browser to compare your local time with the standard time.

      2. Check your key and secret for errors, such as extra spaces. Regenerate them if needed.

    • If it does not, go to the next step.

  2. Log on to the machine where the DataV Proxy Service is installed. In a browser, access ip:8001/status to check whether the service started properly. For example, 128.23.**.**:8001/status. The default port for the DataV Proxy Service is 8001.

    • If the service started, proceed to the next step.

    • If the service did not start, start the DataV Proxy Service.

  3. Check whether the machine where the DataV Proxy Service is installed has an HTTPS certificate issued by a third party.

    • If it does, go to the next step.

    • If it does not, change the protocol in the DataV page URL to HTTP when you access the DataV Proxy Service.

  4. Check whether the machine where the DataV Proxy Service is installed can connect to your database.

    • If it can, search for and join DataV Communication Group 8 (ID: 31415580) on DingTalk for technical support.

    • If it cannot, verify that the DataV Proxy Service configuration is correct.

Configure a secondary path for the proxy service

Note

This feature is supported in DataV Proxy V3 and later. This demo uses version 3.6.6.

  1. In the files folder of your dataV_Proxy installation directory, create a file named userConfig.json.

image

  1. In the userConfig.json file, set the prefix parameter for the proxy path address. For example:

{
    "prefix": "/test"
}

image

  1. When you add the DataV Proxy Service, configure the parameters as follows.

Parameter

Description

Path

The configured path. For example, /test in this demo.

  1. After you configure the other parameters, click OK.