Skip to main content

cPanel keeps logging me out

Comments

12 comments

  • cPRex Jurassic Moderator

    Hey there!  There isn't going to be anything we can do one our end for this.  It's very odd to me that a provider would be dynamically switching between IPv4 and IPv6 on the fly, and I would expect similar behavior to happen with any secure site you're logged into.

    0
  • AndyX

    Hi Rex,

    From Gemini:

    ====

    Most ISPs these days offer a method called "dual stack" which provides you with both an IPv4 and IPv6 address. This allows your devices to communicate using whichever protocol is supported by the destination.

    ...

    So, even though you might have both addresses, you likely won't see a switch because they operate simultaneously.

    ====

    Something is causing cPanel to see these two addresses and causes a log out. Can you please report this issue to the development department so it may be resolved.

    Thank you.

     

    0
  • cPRex Jurassic Moderator

    I'll bring this up with the team on Monday and see what they say!

    0
  • cPRex Jurassic Moderator

    I spoke with the team and we are all in agreement that dual-stack networking is normal - however, what shouldn't be happening is the IP randomly changing between protocols during an active session.  Much like any DHCP connection, you get your IP address and then you should have that same IP address throughout your session.

    Since this is the case, there isn't going to be anything we can do on the cPanel side of things to help resolve this.

    0
  • AndyX

    Hi Rex,

    Sorry about the incorrect information regarding dual-stack networking.

    Seams I can reproduce the issue every time. Simply logging into cPanel the CSS is not loading. You can see I'm logging in with IPv6, there is no issue when I disable IPv6 as IPv4 works fine.

    I enabled the browser tools in Firefox (see attached images). Looks like the cPanel_magic_revision (cPanel cache) is the issue. Keep in mind this is a shared web hosting at KnownHost.

    0
  • AndyX

    According to KnownHost:

    ====

    The root cause of the issue is that your request are rapidly swapping between IPv4 and IPv6. 

    ====

    Yet looking at the browser tools I'm only seeing IPv6. Here is the complete reply from KnownHost.

    0
  • cPRex Jurassic Moderator

    I can't comment on their analysis so I can't say where they are seeing that, but you did originally mention that Xfinity is switching between the protocols, so it makes sense.

    0
  • AndyX

    I asked KnownHost where they got the information, he told me:

    ====

    That error is being output into cPanel's login_log.

    ====

    0
  • cPRex Jurassic Moderator

    Thanks for the clarification!

    0
  • AndyX

    Hi Rex,

    I hope you can run this new information by the development team. The login_log shows IP protocol changes, yet my browser tools indicate there are no protocol changes. Again make sure to let them know this issue only occurs when I allow IPv6 and have not disabled it. If I disable IPv6 I never get logged out. Also that this is on a shared hosting environment.

    0
  • cPRex Jurassic Moderator

    There isn't anything we can do on the cPanel side for this.  When you disable the certain protocol that further confirms the issue.

    0
  • Anthony Middlemiss

    Posting my solution.

    I’m in the same boat and have found that using a VPN gets around it.

    I would have thought turning off IPv6 at the router would work but didn’t.

    0

Please sign in to leave a comment.