Title: Installed &#8211; PHP error? ws_signed_request.php on line 649
Last modified: August 21, 2016

---

# Installed – PHP error? ws_signed_request.php on line 649

 *  [iBusinessLogic](https://wordpress.org/support/users/ibusinesslogic/)
 * (@ibusinesslogic)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/installed-php-error-ws_signed_requestphp-on-line-649/)
 * Fresh install, using either an ASIN or ISBN number in a test post – WHy am I 
   getting this error – Blog is [http://mer-palooza.com](http://mer-palooza.com)
 * Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses:
   getaddrinfo failed: Name or service not known in /home/merpaloo/public_html/wp-
   content/plugins/amazon-product-in-a-post-plugin/inc/aws_signed_request.php on
   line 649
 * Warning: file_get_contents([http://webservices.amazon.com/onca/xml?AWSAccessKeyId=AKIAI3R3FN7SR7IG4X5A&AssociateTag=merpa-20&IdType=ASIN&IncludeReviewsSummary=True&ItemId=1440538573&Operation=ItemLookup&ResponseGroup=Large&Service=AWSECommerceService&Timestamp=2013-06-25T16%3A03%3A08Z&TruncateReviewsAt=1&Version=2011-08-01&Signature=PW%2FPz3Rd9EMF3lj1pb%2FoQEmy6SLjq2qOIUMBzr1QOeM%3D](http://webservices.amazon.com/onca/xml?AWSAccessKeyId=AKIAI3R3FN7SR7IG4X5A&AssociateTag=merpa-20&IdType=ASIN&IncludeReviewsSummary=True&ItemId=1440538573&Operation=ItemLookup&ResponseGroup=Large&Service=AWSECommerceService&Timestamp=2013-06-25T16%3A03%3A08Z&TruncateReviewsAt=1&Version=2011-08-01&Signature=PW%2FPz3Rd9EMF3lj1pb%2FoQEmy6SLjq2qOIUMBzr1QOeM%3D))[
   function.file-get-contents]: failed to open stream: php_network_getaddresses:
   getaddrinfo failed: Name or service not known in /home/merpaloo/public_html/wp-
   content/plugins/amazon-product-in-a-post-plugin/inc/aws_signed_request.php on
   line 649
 * [http://wordpress.org/extend/plugins/amazon-product-in-a-post-plugin/](http://wordpress.org/extend/plugins/amazon-product-in-a-post-plugin/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [Don Fischer](https://wordpress.org/support/users/prophecy2040/)
 * (@prophecy2040)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/installed-php-error-ws_signed_requestphp-on-line-649/#post-3874844)
 * Looks like it has something to do with DNS resolution or caching for the domain.
   When I ping your domain name I get errors about Name Servers are on the Same 
   Subnet and refresh and expire values are outside recommended ranges – and the
   TTL is too high.
 * Not sure how they affect the call but researching the issue says that this is
   a DNS resolution issue.
 * You could try switching your API request method to CURL in the plugin settings
   and see if that helps.
 * This is the first time I have seen this issues, so I am not sure where to begin
   to tell you to start troubleshooting – except maybe ask your Host Provider about
   the error.
 * Regards,
    Don
 *  Thread Starter [iBusinessLogic](https://wordpress.org/support/users/ibusinesslogic/)
 * (@ibusinesslogic)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/installed-php-error-ws_signed_requestphp-on-line-649/#post-3874860)
 * Interesting….
 * I have installed the plugin on another domain and server and get the very same
   error….
 *  [Don Fischer](https://wordpress.org/support/users/prophecy2040/)
 * (@prophecy2040)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/installed-php-error-ws_signed_requestphp-on-line-649/#post-3874900)
 * Are they possibly on the same hosting provider, i.e., GoDaddy or something?
 *  Thread Starter [iBusinessLogic](https://wordpress.org/support/users/ibusinesslogic/)
 * (@ibusinesslogic)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/installed-php-error-ws_signed_requestphp-on-line-649/#post-3874960)
 * Host Gator yes – working with them on it – nothing to report yet, thanks for 
   your replies.
 *  [Don Fischer](https://wordpress.org/support/users/prophecy2040/)
 * (@prophecy2040)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/installed-php-error-ws_signed_requestphp-on-line-649/#post-3874963)
 * Please do let me know what you find out.
 *  [Don Fischer](https://wordpress.org/support/users/prophecy2040/)
 * (@prophecy2040)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/installed-php-error-ws_signed_requestphp-on-line-649/#post-3875148)
 * any followup on this?
 *  [graphicpilot](https://wordpress.org/support/users/graphicpilot/)
 * (@graphicpilot)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/installed-php-error-ws_signed_requestphp-on-line-649/#post-3875157)
 * Any updates regarding Hostgator?
 *  [ijustmetme](https://wordpress.org/support/users/ijustmetme/)
 * (@ijustmetme)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/installed-php-error-ws_signed_requestphp-on-line-649/#post-3875167)
 * hello . I installed this PIP yesterday ver 3.5.2 and i had to uninstall completely
   because i was trying to trouble shoot another issue. i found the culprit plugin.
   today i reinstalled PIP and tring to add a product on a page, i get this message
   on the page:
    Warning: file_get_contents([http://webservices.amazon.com/onca/xml?AWSAccessKeyId=AKIAIAY264FHVURN7YWA&AssociateTag=wwwotabgroupc-20&IdType=ASIN&IncludeReviewsSummary=True&ItemId=0849920205&Operation=ItemLookup&ResponseGroup=Large&Service=AWSECommerceService&Timestamp=2014-04-13T00%3A35%3A45Z&TruncateReviewsAt=1&Version=2011-08-01&Signature=q3AtaGYbm4UueiA7eOLfGCEUTZghIJ%2FDwcZhXe2fJj8%3D](http://webservices.amazon.com/onca/xml?AWSAccessKeyId=AKIAIAY264FHVURN7YWA&AssociateTag=wwwotabgroupc-20&IdType=ASIN&IncludeReviewsSummary=True&ItemId=0849920205&Operation=ItemLookup&ResponseGroup=Large&Service=AWSECommerceService&Timestamp=2014-04-13T00%3A35%3A45Z&TruncateReviewsAt=1&Version=2011-08-01&Signature=q3AtaGYbm4UueiA7eOLfGCEUTZghIJ%2FDwcZhXe2fJj8%3D))[
   function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/
   1.1 403 Forbidden in /home/content/28/7934628/html/wp-content/plugins/amazon-
   product-in-a-post-plugin/inc/aws_signed_request.php on line 649
 *  [Don Fischer](https://wordpress.org/support/users/prophecy2040/)
 * (@prophecy2040)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/installed-php-error-ws_signed_requestphp-on-line-649/#post-3875168)
 * @ijustmetme-
    change the api method to CURL in the settings and see if that helps.
   This error is generally caused when fopen is disabled on the host server.
 * regards,
    Don
 *  [ijustmetme](https://wordpress.org/support/users/ijustmetme/)
 * (@ijustmetme)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/installed-php-error-ws_signed_requestphp-on-line-649/#post-3875169)
 * hello Don,
    I REAALLLYY appreciate you getting back to me. you actually answered
   my question via another forum question. I had a space in the API keys. fixed 
   now

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Installed – PHP error? ws_signed_request.php on line 649’ is closed to
new replies.

 * ![](https://ps.w.org/amazon-product-in-a-post-plugin/assets/icon.svg?rev=1565235)
 * [Amazon Product in a Post Plugin](https://wordpress.org/plugins/amazon-product-in-a-post-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-product-in-a-post-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 10 replies
 * 4 participants
 * Last reply from: [ijustmetme](https://wordpress.org/support/users/ijustmetme/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/installed-php-error-ws_signed_requestphp-on-line-649/#post-3875169)
 * Status: not resolved