Calltek Posted January 24, 2024 Share Posted January 24, 2024 (edited) When i try to update a shop slug in a multistore instance i recieve this error: cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to accounts-api.psessentials.net:443 File: modules/ps_accounts/ps_accounts.php The error execute on this hook: /** * Hook trigger when a change is made on the domain name * * @param array $params * * @return bool * * @throws Exception */ public function hookActionObjectShopUrlUpdateAfter($params) { $bodyHttp = [ 'params' => $params, 'domain' => $params['object']->domain, 'domain_ssl' => $params['object']->domain_ssl, 'shop_id' => $params['object']->id_shop, 'main' => $params['object']->main, 'active' => $params['object']->active, ]; /** @var \PrestaShop\Module\PsAccounts\Service\ShopLinkAccountService $shopLinkAccountService */ $shopLinkAccountService = $this->getService( \PrestaShop\Module\PsAccounts\Service\ShopLinkAccountService::class ); $shopLinkAccountService->updateShopUrl($bodyHttp, 'multishop'); return true; } It seems only a communication problem with prestashop's telemetry services. Any easy way to disable this so that my store can continue to function? Edited January 24, 2024 by Calltek (see edit history) Link to comment Share on other sites More sharing options...
AddWeb Solution Posted January 25, 2024 Share Posted January 25, 2024 (edited) Hi, Temporarily Disable the module or uninstall it if you don't need it. Investigate if there are any other modules related to telemetry, accounts, or communication with external services. If you're comfortable with code modifications and want a quick solution, you can comment out the code in your ps_accounts.php file. After making any changes, clear the Prestashop cache. Remember that disabling or modifying this code may affect the functionality provided by the PsAccounts module, so you should consider this a temporary solution. Edited January 25, 2024 by AddWeb Solution More info (see edit history) Link to comment Share on other sites More sharing options...
Calltek Posted January 25, 2024 Author Share Posted January 25, 2024 I cannot disable the ps_accounts module. What I did do was to comment out that hook which as far as I can see should not affect anything but the telemetry itself. However, maybe the error should be controlled so that if the telemetry fails it doesn't throw a critical error. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted January 26, 2024 Share Posted January 26, 2024 Le 25/01/2024 à 1:38 PM, Calltek a dit : I cannot disable the ps_accounts module. What I did do was to comment out that hook which as far as I can see should not affect anything but the telemetry itself. However, maybe the error should be controlled so that if the telemetry fails it doesn't throw a critical error. It seems to be a certificate, issue. Do you use a cache? Link to comment Share on other sites More sharing options...
Calltek Posted January 26, 2024 Author Share Posted January 26, 2024 2 hours ago, Prestashop Addict said: It seems to be a certificate, issue. Do you use a cache? Yes, but is it normal to cache the status of a certificate in a curl request? 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