I ran into this same problem playing with Rack::Bug. I couldn't access my site and determined it was because my client IP was not in the whitelist I'd configured.
I read the Rails docs and even the source and it seemed like request.remote_ip should just work... but it clearly did not. I logged all the request object's properties and saw my client IP in there, but for whatever reason request.remote_ip always returned Heroku's load balancer's IP and not my real client IP. In the end I side-stepped the problem and just setup a password for access. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
