In Progress CPANEL-36082 - PHPMyadmin "Token Mismatch"

Operating System & Version
centos 7.9
cPanel & WHM Version
94

CodyG

Registered
May 8, 2019
1
0
1
Victoria, BC, Canada
cPanel Access Level
Root Administrator
I'm having the same issue across all domains on my vps. One client, using ipv4 has no issues. Another client using ipv6, like me, does have the issue. However, when he goes to his cpanel using a different VPN, then he has no issues. I thought the IPs work on a different level of the protocol stack and shouldn't really be affecting the application. Waiting to hear more chatter and/or a fix.

My specs...
  • CLOUDLINUX 7.9 kvm [vps]
  • v94.0.4
 
Last edited by a moderator:

clickright

Registered
Jun 20, 2016
2
0
1
Curitiba PR
cPanel Access Level
Root Administrator
FYI:

If you are logged in to WHM as root and navigate to "List Accounts > cPanel (to access cPanel of the chosen account) > phpMyAdmin", no Token Mismatch error occurs, even in a IPv6 network. If you log in directly into the cPanel of that account using accounts username and password and navigate to phpMyAdmin, the error occurs.

This does not seems to make sense, but I tried this and it's being my workaround in the past weeks. Maybe this can help someone while the update is not available, or maybe this can be a hint on the solution.
 

adamreece.webbox

Active Member
Nov 3, 2016
44
14
8
Penarth, United Kingdom
cPanel Access Level
Root Administrator
If you are logged in to WHM as root and navigate to "List Accounts > cPanel (to access cPanel of the chosen account) > phpMyAdmin", no Token Mismatch error occurs, even in a IPv6 network. If you log in directly into the cPanel of that account using accounts username and password and navigate to phpMyAdmin, the error occurs.
Nice suggestion, though unfortunately did not work when I just tried it. (May work for others.)

The only difference is that the initial error when opening phpMyAdmin is "Bad type!" instead of "Token mismatch!", though subsequent AJAX actions and form submissions still bring the classic "Token mismatch!".
 

cPDavidL

Linux Analyst II
Staff member
Oct 15, 2012
65
5
133
cPanel Access Level
Root Administrator
Nice suggestion, though unfortunately did not work when I just tried it. (May work for others.)

The only difference is that the initial error when opening phpMyAdmin is "Bad type!" instead of "Token mismatch!", though subsequent AJAX actions and form submissions still bring the classic "Token mismatch!".

Hello @adamreece.webbox ,

Can you confirm if the same behavior exists when accessing cPanel via URL with the domain and cPanel port?(i.e. https://domain.tld:2083 )