Bugs: Browse | Submit New | Admin

[#25812] ActionController::Request.remote_ip is not set

Date:
2009-05-06 22:40
Priority:
3
Submitted By:
George Agnelli (martydibergi)
Assigned To:
Vivek Pandey (vivekp)
Category:
glassfish-kernel
State:
Closed
Target Release:
 
Summary:
ActionController::Request.remote_ip is not set

Detailed description
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: Notepad

Please login


Followup

Message
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.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2009-11-04 03:37vivekp
resolution_idNone2009-11-04 03:37vivekp
artifact_group_idv0.9.32009-11-04 03:37vivekp
close_date2009-11-04 03:372009-11-04 03:37vivekp