Project

General

Profile

Actions

Bug #32019

closed

all requests are logged as coming from 127.0.0.1 in production.log

Added by Evgeni Golov almost 4 years ago. Updated over 3 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Authentication
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Ohai,

this is on EL7 nightly, but I think all puma deploys are affected.

My production.log is full of

2021-03-05T08:57:04 [I|app|e0cfbd4f] Started GET "/users/login" for 127.0.0.1 at 2021-03-05 08:57:04 +0000

Whereas I'd expect to see the real IP address of the remote system here. Apache logs look correct:

192.168.122.1 - - [05/Mar/2021:08:57:04 +0000] "GET /users/login HTTP/1.1" 200 1283 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0" 

Related issues 1 (0 open1 closed)

Related to Foreman - Feature #30779: Use ActionDispatch::RemoteIp when working as a reverse proxyClosedEwoud Kohl van WijngaardenActions
Actions

Also available in: Atom PDF