cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Failed to open/read local data from file/application

From: Ben Bogart <ben_at_benbogart.com>
Date: Wed, 27 Feb 2008 19:08:19 -0200

Thanks Dolan. Thats the path I'm currently on (the path path) so its good
to know others are thinking the same thing.

Thanks for the input,
Ben

2008/2/27 Dolan <dolan2go_at_yahoo.com>:

> Ben,
> Could it be a path definition issue? It seems like you are connecting and
> the error is when you try to store the returned data(?). I had similar
> unending trials tring to open a file to store verbose output on my remote
> server.
> Sorry that I can't be further help & I know how frustrating the search for
> solution must be.
>
> David
>
> Sent from my iPhone
>
> On Feb 27, 2008, at 10:44 AM, "Ben Bogart" <benbogart_at_gmail.com> wrote:
>
> 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>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>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 <http://www.benbogart.com>www.benbogart.com
> Ben Bogart y los Gatos Azules
> listen or buy at: <http://www.losgatosazules.com>www..losgatosazules.com<http://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<http://cool.haxx..se/cgi-bin/mailman/listinfo/curl-and-php>
>
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>
>

-- 
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