cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-and-php mailing list Archives

Failed to open/read local data from file/application

From: Ben Bogart <benbogart_at_gmail.com>
Date: Wed, 27 Feb 2008 13:44:59 -0200

Hello,

I am getting this error :'Failed to open/read local data from
file/application' on my live server, but I don't get the error on my dev
server.

I'll post the contents of the log files below, but what could be the
difference. Is there some global curl setting that could get in the way.
From the contents of the log file it looks like curl is failing at trying to
get the data returned from the request. In both cases CURLOPT_TIMEOUT is
set to 30. My dev server is my macbook pro with apache 2. The live server
is a shared host.

Here are the curl log files.
First the Live (shared and failing) Server:

* About to connect() to merchant-query.amazon.com port 443 (#0)
* Trying 207.171.168.97... * connected
* Connected to merchant-query.amazon.com (207.171.168.97) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: /opt/curlssl//share/curl/curl-ca-bundle.crt
  CApath: none
* SSL connection using RC4-MD5
* Server certificate:
* subject: /C=US/ST=Washington/L=Seattle/O=Amazon.com Inc./CN=
merchant-query.amazon.com
* start date: 2007-10-31 00:00:00 GMT
* expire date: 2008-10-30 23:59:59 GMT
* common name: merchant-query.amazon.com (matched)
* issuer: /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of
use at https://www.verisign.com/rpa (c)05/CN=VeriSign Class 3 Secure Server
CA
* SSL certificate verify ok.
> POST /exec/panama/seller-admin/manual-reports/generate-report-now HTTP/1.1
Host: merchant-query.amazon.com
Accept: */*
Authorization: Basic ==edited==
Content-Type: text/xml
ReportName: OpenListings
NumberOfDays: 5
Content-Length: 0

* Closing connection #0
* Failed to open/read local data from file/application

///////////////////////////////////////////////////////////////
and the Dev (local and succeeding) Server's curl log:

* About to connect() to merchant-query.amazon.com port 443 (#0)
* Trying 72.21.206.173... * connected
* Connected to merchant-query.amazon.com (72.21.206.173) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: /usr/share/curl/curl-ca-bundle.crt
  CApath: none
* SSL connection using RC4-MD5
* Server certificate:
* subject: /C=US/ST=Washington/L=Seattle/O=Amazon.com Inc./CN=
merchant-query.amazon.com
* start date: 2007-10-31 00:00:00 GMT
* expire date: 2008-10-30 23:59:59 GMT
* common name: merchant-query.amazon.com (matched)
* issuer: /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of
use at https://www.verisign.com/rpa (c)05/CN=VeriSign Class 3 Secure Server
CA
* SSL certificate verify ok.
> POST /exec/panama/seller-admin/manual-reports/generate-report-now HTTP/1.1
Host: merchant-query.amazon.com
Accept: */*
Authorization: Basic ==edited==
Content-Type: text/xml
ReportName: OpenListings
NumberOfDays: 5
Content-Length: 0

< HTTP/1.1 200 OK
< x-amzn-request-id: a10e2c93-bf98-4d0b-adca-4429d49b8a26
< x-amzn-subscription-type: SellerCentral
< Transfer-Encoding: chunked
< Date: Wed, 27 Feb 2008 15:33:53 GMT
< Server: MFA Query Service
<
* Connection #0 to host merchant-query.amazon.com left intact
* Closing connection #0

Thanks,
Ben

-- 
Ben Bogart www.benbogart.com
Ben  Bogart y los Gatos Azules
listen or buy at: www.losgatosazules.com
--
MySpace: myspace.losgatosazules.com
FaceBook: facebook.losgatosazules.com
FaceBook: facebook.benbogart.com

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-02-27

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET