Session IP/browser/X_FORWARDED_FOR check failed

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
Big Mac
Registered User
Posts: 69
Joined: Sun May 27, 2012 11:31 am
Location: London, UK
Name: David Shepheard
Contact:

Session IP/browser/X_FORWARDED_FOR check failed

Post by Big Mac » Mon Aug 27, 2018 7:29 pm

I'm getting a lot of "Session IP/browser/X_FORWARDED_FOR check failed" errors, since we migrated our forum to a new host (86 pages of them since the 21st of March.

There is a topic here, for an older version of phpBB, where someone suggests this is down to a user upgrading their browser without logging out and back in again, but I'm seeing lots of usernames in the pages I've skimmed.

Does that mean that every time Firefox pushes out an update the error log of my forum is going to fill up with these error messages until I get everyone to log out?

What does "truncating your sessions table to force this along" mean? Would it fix something on the server or kick everyone out?
David "Big Mac" Shepheard

User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Session IP/browser/X_FORWARDED_FOR check failed

Post by canonknipser » Mon Aug 27, 2018 7:53 pm

Big Mac wrote:
Mon Aug 27, 2018 7:29 pm
What does "truncating your sessions table to force this along" mean?
Look at the main page in acp. There you find Purge all sessions button with an explanation
Big Mac wrote:
Mon Aug 27, 2018 7:29 pm
Would it fix something on the server or kick everyone out?
Yes, because they don't have a corresponding session entry in the boards database any longer. Everybody is forced to login again. Additionally, you can enter a new cookie name, so all old cookies in the user's browsers will be invalidated (Acp - Cookie settings).
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

Tarantino
Registered User
Posts: 767
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: Session IP/browser/X_FORWARDED_FOR check failed

Post by Tarantino » Sat Jul 27, 2019 1:27 am

I'm having the same problem, but it seems related to adsense code:

viewtopic.php?t=943885#p12250955

Im using the oficial phpbb ads extension

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

Re: Session IP/browser/X_FORWARDED_FOR check failed

Post by 3Di » Sat Jul 27, 2019 3:48 am

Tarantino wrote:
Sat Jul 27, 2019 1:27 am
I'm having the same problem, but it seems related to adsense code:

viewtopic.php?t=943885#p12250955

Im using the oficial phpbb ads extension
So what's the reason why you are reporting your issue in here?
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

Tarantino
Registered User
Posts: 767
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: Session IP/browser/X_FORWARDED_FOR check failed

Post by Tarantino » Sat Jul 27, 2019 4:41 am

It's the same issue and 3.2 related. No need to create a new topic I would say.

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

Re: Session IP/browser/X_FORWARDED_FOR check failed

Post by 3Di » Sat Jul 27, 2019 4:46 am

Tarantino wrote:
Sat Jul 27, 2019 4:41 am
It's the same issue and 3.2 related. No need to create a new topic I would say.
The same happens in your localhost (I mean PC), hence is not related...
as you stated BTW seems to be related to an extension. ;)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

Tarantino
Registered User
Posts: 767
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: Session IP/browser/X_FORWARDED_FOR check failed

Post by Tarantino » Sat Jul 27, 2019 9:53 am

It happens when we've debug enabled after all.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21676
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Session IP/browser/X_FORWARDED_FOR check failed

Post by Mick » Sat Jul 27, 2019 10:38 am

Tarantino wrote:
Sat Jul 27, 2019 4:41 am
It's the same issue and 3.2 related. No need to create a new topic I would say.
You should always start your own topic, you can always link back to useful topics if you think they’re relevant. Although it may look like the same error it’s very doubtful it is. Different hosts, server setups, extensions, styles etc. make it very unlikely. Also, you stated you think this is an extension issue.

Anyway, did you try disabling any extensions you may have and if so what was the result?

Note: You may have to purge the cache after disabling the extensions.
"The more connected we get the more alone we become" - Kyle Broflovski

Tarantino
Registered User
Posts: 767
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: Session IP/browser/X_FORWARDED_FOR check failed

Post by Tarantino » Sat Jul 27, 2019 1:24 pm

As said above. Problem solved when I disabled the debug mode.

Post Reply

Return to “[3.2.x] Support Forum”