Hi,
When using cURL at a PHP script, it produces error (7) at times.
I notice this on PayPal IPN script and Facebook login scripts which both use cURL.
Here is a sample error message:
PHP Fatal error: Uncaught exception 'Exception' with message 'cURL error: [7] Failed to connect to ipnpb.paypal.com port 443: Connection refused'
When I try using fsockopen for PayPal IPN, the error goes away. So, I already have a workaround. I am interested though to solve the cURL problem.
When the error hits, the only way I have to fix it, is to UPDATE WHM. When I update WHM, it is fixed. I suspect that during WHM update, something is restarted perhaps. What could this be?
Is perhaps cURL failing at some way? Perhaps tailwatchd could be helpful at such?
The frequency is random and I do not know what causes it. It can be once per day or once per week. There is no standard. I do update WHM daily anyway, to auto fix this, just in case.
However, when I read the update log, I see no reported issues. Everything seem fine.
This is not a firewall issue. I have already checked this. In general, I have checked a lot of things over... the years for this issue. I have found ways to work around it but it would be great if I could fix it at the first place.
Thank you
When using cURL at a PHP script, it produces error (7) at times.
I notice this on PayPal IPN script and Facebook login scripts which both use cURL.
Here is a sample error message:
PHP Fatal error: Uncaught exception 'Exception' with message 'cURL error: [7] Failed to connect to ipnpb.paypal.com port 443: Connection refused'
When I try using fsockopen for PayPal IPN, the error goes away. So, I already have a workaround. I am interested though to solve the cURL problem.
When the error hits, the only way I have to fix it, is to UPDATE WHM. When I update WHM, it is fixed. I suspect that during WHM update, something is restarted perhaps. What could this be?
Is perhaps cURL failing at some way? Perhaps tailwatchd could be helpful at such?
The frequency is random and I do not know what causes it. It can be once per day or once per week. There is no standard. I do update WHM daily anyway, to auto fix this, just in case.
However, when I read the update log, I see no reported issues. Everything seem fine.
This is not a firewall issue. I have already checked this. In general, I have checked a lot of things over... the years for this issue. I have found ways to work around it but it would be great if I could fix it at the first place.
Thank you