Jump to content

acp log out


Recommended Posts

Are you bouncing between different networks perhaps? I.E. on a mobile device that is bouncing between a WIFI signal and the mobile network. That would explain how you have a static IP address on your WIFI but switching to your the mobile network would cause a different IP address as it is a different network. Alternatively, if you are switching or getting kicked of a VPN or Proxy this would cause your IP address to change as well, even if your home/work has a static IP address.

Viewing your ACP, I am not seeing that issue myself, so it does not appear to be a configuration issue on our end.

Link to comment
Share on other sites

Just now, Jelly Belly™ said:

 

No I'm using a desktop wired to my router

It seems to happen mostly when I've been in a section and click on a menu icon, or if i use back page

As mentioned, this can happen if you are on a VPN/proxy and losing connection as well. I'm afraid, I cannot reproduce this.

However, if you want to disable IP address verification, you can do so in ACP -> System -> Advanced Configuration. Though, this is not recommended. 

Link to comment
Share on other sites

One thing I've noted recently is that my Internet Service Provider is using both IPv4 and IPv6 addresses.  Yes, even though I have a static IPv4 address...  I also have a IPv6 address as well.  My guess is your ISP might be doing something similar as well.  

Edited by Randy Calvert
Link to comment
Share on other sites

I have exactly this same problem. I can't use ACP at all.

Also ACP shows that users are from all over the world. Normally they are from one country.

I disabled this "Check IP address when validating session?" and got immediately warning emails that I have logged in from USA and Netherlands.

Incognito mode or VPN didn't help.

Any help?

 

Link to comment
Share on other sites

13 minutes ago, sulervo said:

I have exactly this same problem. I can't use ACP at all.

Also ACP shows that users are from all over the world. Normally they are from one country.

I disabled this "Check IP address when validating session?" and got immediately warning emails that I have logged in from USA and Netherlands.

Incognito mode or VPN didn't help.

Any help?

 

As you are self-hosted and you are utilizing CloudFlare, the above instructions would not apply to you. You would need to ensure that you enable "Trust IP Addresses provided by proxies" in ACP -> System -> Advanced Configuration. Otherwise, CloudFlare's IP address will be used rather than your own (or your visitors).

Link to comment
Share on other sites

  • 2 weeks later...
On 3/1/2024 at 7:45 PM, Donnie95 said:

You can actually stay logged in to the admin CP? Mine times out after 20 minutes if I don't use it. I thought it was normal.

IP address verification is disabled.

Believe there is some confusion here. This topic is about being immediately logged out again, not what you're experiencing which is being logged out when your session is inactive. What you're experiencing is indeed normal as the ACP would time out with your PHP session, which default is around 20 minutes.

10 hours ago, shiobi said:

We are experiencing the same issue. No changes were made on our end.

You're running CloudFlare as well so you will want to ensure that you're accepting IP addresses provided by proxies, as mentioned above.

Link to comment
Share on other sites

23 minutes ago, Jim M said:

Believe there is some confusion here. This topic is about being immediately logged out again, not what you're experiencing which is being logged out when your session is inactive. What you're experiencing is indeed normal as the ACP would time out with your PHP session, which default is around 20 minutes.

Is it possible to increase the timeout to 24 hours? That way, I would only need to log in once per day.

Link to comment
Share on other sites

6 minutes ago, Donnie95 said:

Is it possible to increase the timeout to 24 hours? That way, I would only need to log in once per day.

Personally, I would not recommend doing this. Not only is this a security hole but this would extend all sessions and cause things to misbehave, thus, fall outside of our support as well. If you really want to do this though, you can set the ACP_SESSION_TIMEOUT constant to tell the software what you're doing. Then you would also want to change the PHP timeout value. 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...