x-real-ip no longer has the client IP address, is always "unix:"
Title says it all - I have some middleware that needs to send the client IP in a payload which started erroring with 400s since last night. When I check the logs I can see the
x-real-ip headers on these requests are always "unix:"7 Replies
odd - unfortunately not as it's middleware behind some services on our site
for context the setup is a pages project with a /functions directory
not hugely urgent as i can use
cf-connecting-ip but worth potentially investigating
also @Walshy | DevPlat EE I can see one other example in this server https://discord.com/channels/595317990191398933/1385327321195741284/1385374738796249148
could you share a url i can use to repro even if i can't see the output? i can see that internally, just want to try and figure out why
It only seems to happen on our production site which is geo restricted to UK, and this specific call happens at the end of sign up on betzone.co.uk
it also happens when you go to log in (you could possibly repro this way without needing to log in)
if you go to betzone.co.uk and click the login button this will hit our auth middleware, it looks like this issue happens on that too
ty