An error occurred while calling the remote interface. Please check whether your server is in the intranet

Source: Internet
Author: User
Recently, when discuzx2.5 was used, when the cloud platform was activated, "calling remote interfaces failed. Please check whether your server is in the intranet and the firewall of your server". The detection results are all normal,: However, when activating the service, "calling the remote interface failed. Please check whether your server is in the intranet or

Recently usedDiscuzDuring the x2.5 process, when you activate the cloud platform, the following error occurs: "failed to call the remote interface. Please check whether your server is in the intranet and the firewall of your server." The detection result is normal ,:

However, when you activate the service, the following error occurs ,:

Solution:
Find the discuz x2.5 directory api/manyou/Service/Server/cloud. php file and open and delete the following statement (back up the statement before modification ):
Try {

Require_once libfile ('function/cache ');

Updatecache (array ('plugin', 'setting', 'Styles '));

} Catch (Exception $ e ){

}

In this way, you can call the service normally and activate the service again after updating the cache:

Note: after performing this operation, you must manually update the cache on the cloud platform. Otherwise, the menu of the cloud platform may not be updated;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.