Bugs: Browse | Submit New | Admin
In my Rails project Glassfish does not seem to be setting the request.remote_ip in the Rails ActionController::Request objects. This happens every time in both my development and staging environments. I am using Glassfish Gem 0.9.3, JRuby 1.2.0 and Rails 2.3.2. I am running Glassfish on port 80 with no http proxy in front of it.
Add A Comment:
Date: 2009-11-04 03:37 Sender: Vivek Pandey Fixed and should be part of next gem release. In the meantime, checkout the dev builds from http://hudson.glassfish.org/job/glassfish-gem-build/ and let us know if you see any issue.
Date: 2009-10-08 15:23 Sender: Brandon Hauff Maybe this is the same issue I am having. My rails logs to not show the IP address for the request when running under the glassfish gem.