curl error 35 on OAuth Flow
-
Hello,
I’m attempting to create a plugin for WooCommerce to sync data between my application and WooCommerce. I had setup the plugin to follow the OAuth flow documented on the WooCommerce documentation for retrieving a Rest API key. This all functioned locally using a wp-scripts based local WordPress environment with a ngrok proxy for the HTTPS requirement.
After deploying the server to AWS and testing again (on both a locally ran wp-scripts based WordPress environment and a cloud based one), I’ve received the following error at the last step of the OAuth flow (after hitting “Approve” to the scopes):
Error: cURL error 35: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.
The site is reachable via PostMan requests on both HTTP and HTTPS endpoints. I can also curl the endpoint from my local machine and receive a response without issue.
I tried deploying the server to another hosting provider (Google Cloud) to see if that was causing the issue and received the same error there. I found something suggesting that a TLSv1.3 was necessary and had setup the AWS configuration to have a Network Load Balancer that terminated TLS connections for v1.3 and still received the same error.
- The topic ‘curl error 35 on OAuth Flow’ is closed to new replies.