I've downloaded Amazon's Marketplace SDK and I'm trying out one of the samples in the samples dir. However, I'm getting an exception with the following details whenever I try it:
Caught Exception: Internal Error
Response Status Code: 0
Error Code:
Error Type:
Request ID:
XML: RequestId: , ResponseContext: , Timestamp:
ResponseHeaderMetadata:
I have got CURL enabled with SSL as well. What am I doing wrong?
echo curl('http://example.com');
If Facebook's API is working then perhaps it's a connection problem between the PHP server and Amazon server. Can you ping Amazon from the server? – Arraignmentcurl('http://google.com');
, got correct response, i.e:<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"> <TITLE>301 Moved</TITLE></HEAD><BODY> <H1>301 Moved</H1> The document has moved <A HREF="http://www.google.com/">here</A>. </BODY></HTML>
– Vmailhttps://mws.amazonservices.com
, then I getfalse
as response, same withhttps://google.com
. So the issue is with https urls? Any ideas? – VmailCURLOPT_SSL_VERIFYPEER
has fixed the issue for now. If any ideas, you can submit an answer and I'll accept it. Thanks for the help. – Vmail