Fatal error: Uncaught Exception: 5: Unauthorized source IP address thrown in /home/ACCOUNT/public_html/XYZ.com/sites/all/modules/facebook_stream/facebook-php-sdk/src/facebook.php on line 425

As you may gather from the message, I set this up with the downloaded php sdk.

Please advise, as I had to remove the Facebook Stream block, using another PC, to regain access to the site on the PC where this was encountered.

Comments

pflame’s picture

Title: Fatal error: Uncaught Exception » Catch the Fatal errors raised by Facebook SDK and display as drupal error messages.

Looks like there is a problem with the IP address of your system.

Actually when there is any error from Facebook SDK, need to catch them and show the error message in the way drupal show. This is the bug.

ailgm’s picture

Re the IP address: I thought so too, but I double-checked and the IP address of the site's server is exactly the one I registered on the Facebook app whitelist.

pflame’s picture

ailgm’s picture

Thanks for trying to help. The message I've seen doesn't tell me what IP address it's complaining about, so the best I can do is double-checked the actual server address versus the whitelist, and they match. So I'm not sure what more I can do to track this down.