H5 application fails to load with RPC 7000 series errors

更新时间:
复制 MD 格式

Problem description

When you open an H5 application on an iOS or Android client, an error page appears with the message: System busy. Please try again later.

Troubleshooting

Check the console output logs for Remote Procedure Call (RPC) 7000 series errors, such as:

2020-03-10 10:51:41.883119+0800 Demo[4765:231933] alipay.client.getUnionResource resp:{
    "Content-Length" = 0;
    Date = "Tue, 10 Mar 2020 02:51:41 GMT";
    "Strict-Transport-Security" = "max-age=31536000";
    "result-memo" = "%E9%AA%8C%E7%AD%BE%E7%9A%84%E5%8F%82%E6%95%B0%E4%B8%8D%E5%A4%9F%E3%80%82";
    "result-status" = 7001;
    "result-tips" = "%E7%AD%BE%E5%90%8D%E9%AA%8C%E8%AF%81%E5%A4%B1%E8%B4%A5%E3%80%82";
}

Solution

This error indicates that the RPC request verification has failed. This failure is caused by incorrect signature data from the client-side Security Guard.

First, confirm that the configuration file downloaded from the mPaaS console is correct and complete.

  • For iOS clients, use the mPaaS Plugin to re-import the cloud data.

  • For Android clients, replace the .config file in the project.

If necessary, you can use the plugin to regenerate the Security Guard image.

Note

If your project uses other SDKs that require Security Guard, be aware of how the Security Guard image is generated.