No response in browser after opening ODC

2023-12-26 06:11:49  Updated

Symptom

The browser stalls after ODC runs for a period.

Possible causes

  • The browser/frontend stalls due to insufficient memory or other issues and fails to respond to user interactions.

  • The backend responds slowly, causing the application to stall.

Affected versions

All versions of web ODC

Solutions

Troubleshoot frontend issues

  1. Go to the browser debugging page and check the memory consumption of the current page. If the memory usage exceeds 1 GB, the browser may stall due to excessive resource consumption. Take the Chrome browser as an example.

    1

  2. Go to the network request page of the browser. Check whether the frontend has sent network requests and whether the backend has responded to the request in the Pending state. If no network requests are in the Pending state and all existing network requests are normal, the frontend may hang.

    2

  3. Check the output of the front-end console for errors. In normal cases, the console does not output an error message. If an error message is printed, the frontend may have an error. Contact OceanBase Technical Support and provide a screenshot of the error for troubleshooting.

    3

  4. If the preceding solutions do not work, the issue may be caused by a backend issue.

    1. Refresh the page to check whether the issue persists.

    2. If the issue persists, check the backend.

Backend troubleshooting

Slow or no response on the frontend may be caused by a backend issue, which results in high interface RT.

  1. Check the ODC log odc.log for errors. If you find any errors, contact OceanBase Technical Support.

  2. If you do not find any particular error, use the curl command to perform a health check on ODC.

    • Here is the sample command:

      curl -XGET http://${ip}:${port}/api/v1/heartbeat/isHealthy
      
    • Here is the sample response from the backend:

      4

  3. If the call is stuck or an error occurs, the browser is stuck due to a backend issue. Contact OceanBase Technical Support and provide the odc.log file for troubleshooting.

Contact Us