facebook - (#5) Unauthorized source IP address Error on Heroku Rails APP -


my heroku app (ror) started throw error when tried sign_in via facebook.

(#5) unauthorized source ip address

this happening because ip address of heroku machine (shared apps) blacklisted facebook.

a simple restart of heroku app solved issue.

i contacted heroku support, , told me can nothing it, , it's fair enough, facebook 1 blocking incoming connections ip.

they suggested me static ip solution, , contact facebook whitelist ip, , suggested me addon that. proximo, can make app have static ip address, think it's no scalable (too expensive). (i have not tried yet)

so, saw post talking use micro linux ec2 instance on amazon, proxy server make static ip here, , think if problem persist, i'm going try it.

edit

in facebook bug report here, facebook crew said keep blocking incoming connections malicious app, , if ip shared 1 of them, there's nothing can it. suggested static ip solution, if want sure issue neve going happen again.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -