Kenneth Chan Posted June 13, 2020 Share Posted June 13, 2020 When I go to "Payment Method" of the admin panel. It show error when call recommend url. It is a 503 error in my server. but It seem not able to connect to add-on server of Prestshop. the url will be called /admin389jj7ozu/index.php/modules/addons/modules/recommended?tabClassName=AdminPayment&_token=xxx if I see the log. It show "Data from PrestaShop Addons is invalid, and cannot fallback on cache." Link to comment Share on other sites More sharing options...
Matt75 Posted June 13, 2020 Share Posted June 13, 2020 Hi, Can you provide additional information about your issue ? PrestaShop version (BO > Advanced Parameters > Information) PHP version (BO > Advanced Parameters > Information) MBO module version (BO > Modules > Module Manager > Search ps_mbo) Screenshot or video capture of the issue Additional errors logs in your FTP (PrestaShop directory > var/logs) Thanks Link to comment Share on other sites More sharing options...
Kenneth Chan Posted June 13, 2020 Author Share Posted June 13, 2020 (edited) 50 minutes ago, Matt75 said: Hi, Can you provide additional information about your issue ? PrestaShop version (BO > Advanced Parameters > Information) PHP version (BO > Advanced Parameters > Information) MBO module version (BO > Modules > Module Manager > Search ps_mbo) Screenshot or video capture of the issue Additional errors logs in your FTP (PrestaShop directory > var/logs) Thanks I found the problem should be in ps_mbo module. PrestaShop verison 1.7.6.4 PHP version 7.0.33 MBO version 2.0.1 I seem the error will occur on SimpleCircuitBreaker when get the $response public function call( $service, array $serviceParameters = [], callable $fallback = null ) { $transaction = $this->initTransaction($service); try { if ($this->isOpened()) { if (!$this->canAccessService($transaction)) { return $this->callFallback($fallback); } $this->moveStateTo(State::HALF_OPEN_STATE, $service); } $response = $this->request($service, $serviceParameters); $this->moveStateTo(State::CLOSED_STATE, $service); return $response; } catch (UnavailableServiceException $exception) { $transaction->incrementFailures(); $this->storage->saveTransaction($service, $transaction); if (!$this->isAllowedToRetry($transaction)) { $this->moveStateTo(State::OPEN_STATE, $service); return $this->callFallback($fallback); } return $this->call($service, $serviceParameters, $fallback); } } Edited June 13, 2020 by Kenneth Chan (see edit history) Link to comment Share on other sites More sharing options...
Matt75 Posted June 13, 2020 Share Posted June 13, 2020 I need additional information to check if module need a patch or not. Screenshot or video capture of the issue Additional errors logs in your FTP (PrestaShop directory > var/logs) Thanks Link to comment Share on other sites More sharing options...
Kenneth Chan Posted June 13, 2020 Author Share Posted June 13, 2020 (edited) 27 minutes ago, Matt75 said: I need additional information to check if module need a patch or not. Screenshot or video capture of the issue Additional errors logs in your FTP (PrestaShop directory > var/logs) Thanks After I go to this page. it will not write anything on var/logs/prod.log I also try to reinstall prestashop with latest version. The error still occur. Edited June 13, 2020 by Kenneth Chan (see edit history) Link to comment Share on other sites More sharing options...
Kenneth Chan Posted June 13, 2020 Author Share Posted June 13, 2020 1 hour ago, Matt75 said: I need additional information to check if module need a patch or not. Screenshot or video capture of the issue Additional errors logs in your FTP (PrestaShop directory > var/logs) Thanks I finally found the reason. ExternalContentProvider set the timeout is 0.6 second. but It is not enough. Link to comment Share on other sites More sharing options...
Matt75 Posted June 13, 2020 Share Posted June 13, 2020 Humm your network may seems too slow to connect on Addons Services. Where are located the web server ? Link to comment Share on other sites More sharing options...
Kenneth Chan Posted June 13, 2020 Author Share Posted June 13, 2020 4 minutes ago, Matt75 said: Humm your network may seems too slow to connect on Addons Services. Where are located the web server ? I am in Hong Kong. ip is 122.128.109.32 Link to comment Share on other sites More sharing options...
Matt75 Posted June 13, 2020 Share Posted June 13, 2020 I will notify our Admin system to investigate on network connectivity in this region, thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now