Forums

Unable to find the socket transport https

rlm-tpa 02 Aug, 2015
My form is supposed to send to PayPal (using the PayPal Re-direct routine) on submit, but instead I get the following error when I submit a form - the socket number changes each time:

Could not open socket: 40020296 - Unable to find the socket transport "https" - did you forget to enable it when you configured PHP?

How do I go about resolving this issue?
GreyHead 03 Aug, 2015
Hi rlm-tpa,

Please check with your web-host about enabling SSL in your PHP configuration. See this StackOverFlow answer.

It might also be that cURL is not enabled so the action is trying to use fsockopen instead.

Bob
rlm-tpa 03 Aug, 2015
Interesting. I have this issue on two hosted sites running on the same account and they both have dedicated SSL certificates. Thanks for the lead.

Russell
rlm-tpa 04 Aug, 2015
I received the following back from my web provider:

After thorough investigation we have failed to find the exact cause of the issue. We have tried different settings combinations and common configurations to no avail.

Please note that allow_url_open and Curl is enabled by default ( we found out that this might be the cause ). We suspect there might be something wrong with ChronoForms configuration and fsokopen using incorrect settings as a result. We recommend contacting plugin developer to investigate the possible cause.

The issue also might be related to ReCaptcha, we would advice disabling it and check if the issue persists.

Should you get any additional information please feel free to contact us at any time. We are looking forward to hearing from you.
GreyHead 04 Aug, 2015
Hi rlm-tpa,

Sorry, that's not too helpful.

I haven't seen this error reported here before so I'm reasonably certain that it is something to do with the way your site is configured. Please add a debugger to your form and turn debug on the PayPal ReDirect action, then submit and copy and paste all of the debugger output here to see if there are any more clues.

Bob
rlm-tpa 04 Aug, 2015
Bob,

I need help with the debugger output. I've added the action as requested. Where do I find the debugger log output? Spent time with FAQ's but didn't find instructions.

Thanks for your help!
Russell
GreyHead 04 Aug, 2015
Hi Russell,

You should be able to drag a Debugger action in to the form On Submit event, then submit the form and the DeBugger output will show. You may need to disable the PayPal ReDirect to see it though if the form immediately redirects to PayPal (the CFv5 debugger isn't clever enough to interrupt the redirection).

The PayPal ReDirect action has a debugger setting if you scroll down the settings page.

Bob
This topic is locked and no more replies can be posted.