[stextbox id=”warning”]Error: SSL read: error:00000000:lib(0):func(0):reason(0), errno 104[/stextbox]
Getting a curl error from a php script. Try to run curl without php.
ssh to the server
find the script
Find the call and execute from a command line
curl --verbose https://api-internal.script.com
* About to connect() to api-internal.script.com port 443 * Trying 54.183.xxx.xxx... Connection refused * couldn't connect to host * Closing connection #0 curl: (7) couldn't connect to host  418  419  420  Done entityType=destination?searchDate=2014-08-31 - Done partySize=4 + Done searchTime=12%3A00
It looks like the connection is being refused by the remote server. Curl the page directly which takes PHP out of the equation. This is the response you get when getting the URL directly from SSH.