Your session cookie is invalid. Please log in again.

I just opened an account with hostgator and I receieved a cpanel account login details. I was able to log into the account just once. Since then, anytime I try, it says "Your session cookie is invalid. Please log in again." on safari and "The login is invalid." on firefox. I've been trying again and again for over four days and still no hope. I sent a mail to the cpanel support, I was issued a ticket number and they still haven't gotten back to me. I've seen other people having the same issue and the common answer is to run this codefor i in `ps aux | grep -i "cphulkd - process" | awk {'print $2'}` ;do kill -9 $i ;done
/usr/local/cpanel/bin/cphulk_pam_ctl --disable

Neither commands work. I do not even have a cpanel folder. Can someone please give me a suitable answer to this problem. I'm frustrated. Thanks

Staff Member

Unfortunately, you wouldn't be able to run any commands on that server then. If you're blocked, only the ServerAdmin can get you back in. You could try connecting via another IP address to see if that helps if your IP is blocked of course.

Stop hovering to collapse...Click to collapse...Hover to expand...Click to expand...

From our experience, the error has more to do with your browser than with your host's server. Have you logged out and logged back in to cPanel? This error can pop up when a previous session with cPanel is still running.

Staff Member

If you've tried via your phone and its not connected to the same Wifi in your location, that's a different IP of course. If you cannot login from a different IP, you might have some other sort of issue going on here.

Contacting your Hosting Provider is the only way forward then..

Stop hovering to collapse...Click to collapse...Hover to expand...Click to expand...

The phone is connected to the same wifi. I changed my ip address on my computer. Its still giving the same problem. I hope you guys don't block blacklist a user after several failed attempts at login. The guys at hostgator (my hosting provider) aren't replying my mails. I tried to get another server for hosting my website at hostgator but they didn't let me.

I am using cloudflare service and the issue came the cookies is invalid. I had the same issue yesterday, and in my solutions was
access cpanel via /http://cpanel.domain.tld instead of /http://domain.tld/cpanel.