# cURL error 56

**URL:** <https://forum.mautic.org/t/curl-error-56/11490>\
**Category:** Product Support\
**Created:** [October 25, 2019, 6:36pm UTC](https://forum.mautic.org/t/curl-error-56/11490 "2019-10-25T18:36:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![brockway](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/brockway/32/990_2.png) [@brockway](https://forum.mautic.org/u/brockway)\
**Post date:** [October 25, 2019, 6:36pm UTC](https://forum.mautic.org/t/curl-error-56/11490/1 "2019-10-25T18:36:42Z")

</div>

Hi everyone 🙂

**Your software**  
My Mautic version is: 2.15.3  
My PHP version is: 7.0, 7.2

**Your problem**  
My problem is:

I use WordPress and with WPFusion i am able to send data from my WordPress install to my Mautic install, creating user profile seems ok, but when updating i got thoses errors im my WPFusion log :

> Error while performing method combined\_update: cURL error 56: OpenSSL SSL\_read: SSL\_ERROR\_SYSCALL, errno 104  
> Array  
> (  
> [0] =\> 1968  
> [1] =\> Array  
> (  
> [update\_contact] =\> Array  
> (  
> [firstname] =\> Valerie  
> [lastname] =\> Collard  
> [email] =\> [valerie.collard327@orange.fr](mailto:valerie.collard327@orange.fr)  
> )
> 
> ```
> [apply_tags] => Array
> (
> [0] => woocommerce
> )
> 
> )
> 
> ```
> 
> )

(My WordPress host and Mautic Host are not the same, and i dont know witch one is really failing me here)

These errors are showing in the log: no error in Mautic log

Steps I have tried to fix the problem: tried to change some various settings on my mautic host but got nothing out of it…

Thanks for reading my issue 🙂  
Hopefully someone could give me some insight 😃

---

<div class="post-metadata">

**Author:** ![MxyzptlkFishStix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mxyzptlkfishstix/32/1132_2.png) [@MxyzptlkFishStix](https://forum.mautic.org/u/MxyzptlkFishStix)\
**Post date:** [October 26, 2019, 3:27am UTC](https://forum.mautic.org/t/curl-error-56/11490/2 "2019-10-26T03:27:42Z")

</div>

> <https://github.com/curl/curl/issues/4409>
>
> Curl fails on some sites e.g.:
> https://hazards.fema.gov/gis/nfhl/rest/services/KMZ/KMZ/MapServer?f=json
> I test curl from debian sid and also I build it from source, with the same...

Upgrade to latest version of curl.

---

<div class="post-metadata">

**Author:** ![brockway](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/brockway/32/990_2.png) [@brockway](https://forum.mautic.org/u/brockway)\
**Post date:** [October 26, 2019, 12:42pm UTC](https://forum.mautic.org/t/curl-error-56/11490/3 "2019-10-26T12:42:59Z")

</div>

> [@MxyzptlkFishStix](#):
>
> Upgrade to latest version of curl.

Hi, thanks for the response, since it’s shared hosting, premium but still shared, i cant really do that. And it’s probably up to date anyway.  
One thing that my host also told me is that they only autorize those request : “GET|HEAD|OPTIONS|POST|PUT|DELETE”  
They have notice that there is the use of the request “PATCH”, which is not allowed.

I guess that a start of an answer right ?

---

<div class="post-metadata">

**Author:** ![MxyzptlkFishStix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mxyzptlkfishstix/32/1132_2.png) [@MxyzptlkFishStix](https://forum.mautic.org/u/MxyzptlkFishStix)\
**Post date:** [October 26, 2019, 5:11pm UTC](https://forum.mautic.org/t/curl-error-56/11490/4 "2019-10-26T17:11:57Z")

</div>

My experience with most hosters, especially shared hosting, is they don’t have anywhere close to the latest version of software. Which isn’t necessarily a bad thing (if it’s not broke . . .), it’s just they’ll run a much older version that might contain a/some backported security patch(es) at the most dependant on the release schedule of the distro maintainer.

You don’t have anything like WordFence or any of the number of security plugins installed, do you?

---

<div class="post-metadata">

**Author:** ![brockway](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/brockway/32/990_2.png) [@brockway](https://forum.mautic.org/u/brockway)\
**Post date:** [October 26, 2019, 5:44pm UTC](https://forum.mautic.org/t/curl-error-56/11490/5 "2019-10-26T17:44:27Z")

</div>

i dont have a security plugin on my install, since most of the security is handled by good server practices.  
But after inspection i found out that i have no issue on the sending side (witch is my WordPress on Vultr server, using a custom stack and fully up to date stack)

After contacting my target hos (witch is the shared premium one) i found out that they are indeed blocking any “PATCH” request and we have no way of whitelisting an IP to allow them trough.  
To update tag, WPFusion use PATCH requests, so i guess i found out the culprit, my host is extra zealous reagarding security, so i cant really run Mautic on them.  
WPFusion support will try to replace the PATCH request by PUT request, i think it will do the trick. But not sure i will stay on that host…

Also something really weird, is the fact that my segments are not updating, i have the cron setup correctly i think and the segment as well :

> **[Image 2019-10-26 at 7.37.41 PM.png](http://cloud.brockwayproduction.fr/a2281260a56a)**
>
> Shared with CloudApp

  

> **[Image 2019-10-26 at 7.38.25 PM.png](http://cloud.brockwayproduction.fr/ac7447322590)**
>
> Shared with CloudApp

Maybe my host weird config expect a different path ?

---

<div class="post-metadata">

**Author:** ![brockway](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/brockway/32/990_2.png) [@brockway](https://forum.mautic.org/u/brockway)\
**Post date:** [November 2, 2019, 7:56pm UTC](https://forum.mautic.org/t/curl-error-56/11490/6 "2019-11-02T19:56:37Z")

</div>

Finally my host was blocking the external incoming requests, i fixed that by migrating the installation to a new host.

Cheers
