bigcommerce-api-php icon indicating copy to clipboard operation
bigcommerce-api-php copied to clipboard

Strange intermittent SSL / SSH key issue...

Open Lewiscowles1986 opened this issue 9 years ago • 3 comments

Fatal error: Uncaught exception 'Bigcommerce\Api\NetworkError' with message 'SSL peer certificate or SSH remote key was not OK'

Lewiscowles1986 avatar Mar 25 '16 15:03 Lewiscowles1986

this only happens every few requests, just found it in our log file

Lewiscowles1986 avatar Mar 25 '16 15:03 Lewiscowles1986

Bump, this is becoming more frequent now

Fatal error: Uncaught exception 'Bigcommerce\Api\NetworkError' with message 'SSL peer certificate or SSH remote key was not OK' in /vendor/bigCommerce/bigcommerce.php:82 Stack trace: #0 /vendor/bigCommerce/bigcommerce.php(142): Bigcommerce\Api\Connection->handleResponse() #1 /vendor/bigCommerce/bigcommerce.php(333): Bigcommerce\Api\Connection->get('https://store-c...') #2 /vendor/bigCommerce/bigcommerce.php(568): Bigcommerce\Api\Client::getCollection('/orders?limit=1...', 'Order') #3 

Lewiscowles1986 avatar Nov 10 '16 10:11 Lewiscowles1986

We now have a dedicated SSL through BigCommerce and that seems fine, but we were connecting to your store-XYZ.mybigcommerce.com previously. For one thing that SSL should always be valid or we can't trust it's BigCommerce we're connecting to surely?

Lewiscowles1986 avatar Mar 20 '17 15:03 Lewiscowles1986