[3.2.1] All users have the same IP address

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
User avatar
chanlon1
Registered User
Posts: 105
Joined: Wed Mar 09, 2005 10:01 pm
Location: Belfast, N. Ireland
Contact:

[3.2.1] All users have the same IP address

Post by chanlon1 » Wed Apr 18, 2018 9:03 pm

I've been holding out upgrading to 3.2.2 until I could get this issue resolved and I am hoping I have now and just wanted to share it.

Something happened on my VPS that seems to have resulted in a reverse proxy kicking in with NGINX.

All of a sudden all users were showing as the server IP address and suddenly the exceeding maximum login attempts and do the Google Captcha was appearing every time someone (including myself) tried to log in.

I do have instructions to remove NGINX and the reverse proxy, but I came across this fix in the 3.0.x sub forum: viewtopic.php?p=13038112#p13038112 courtesy of @Noxwizard

I put the change into the startup.php file and the site now seems to be reporting the users actual IP address and not my server.
I was able to log in straightaway without any Maximum Exceeding message etc.

Keeping my fingers crossed that this will be okay.

User avatar
3Di
Registered User
Posts: 12444
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2.1] All users have the same IP address

Post by 3Di » Wed Apr 18, 2018 9:48 pm

chanlon1 wrote:
Wed Apr 18, 2018 9:03 pm
Something happened on my VPS that seems to have resulted in a reverse proxy kicking in with NGINX.
The question is: did you ask your host why that happened, suddenly?
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
chanlon1
Registered User
Posts: 105
Joined: Wed Mar 09, 2005 10:01 pm
Location: Belfast, N. Ireland
Contact:

Re: [3.2.1] All users have the same IP address

Post by chanlon1 » Wed Apr 18, 2018 10:21 pm

3Di wrote:
Wed Apr 18, 2018 9:48 pm
The question is: did you ask your host why that happened, suddenly?
Yes I did.
Convoluted story but I had them upgrade from easy apache 3 to 4.
Didn’t go to plan due to memory.
I upgraded the server to new setup and the easy apache 4 was performed.
After that I noticed the IP addresses were the same.
Ive been running with NGINX for years with no issues.
Something with the EA4 must have introduced the reverse proxy.
Whilst I have technical skills, I don’t have the know how to start trying to solve the reverse proxy issue at a command line level and I recognise that here isn’t the right place.

User avatar
3Di
Registered User
Posts: 12444
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2.1] All users have the same IP address

Post by 3Di » Wed Apr 18, 2018 10:37 pm

Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: larkyv, lopoto and 16 guests