DA logout when I reload the browser tab

pmjcreations

Verified User
Joined
Jul 3, 2019
Messages
117
Hello,

I see that when I reload the browser tab using the browser's reload icon, I get logged out automatically from DA.

I can go through any pages with a long time idle-time, and I don't get logged out.

But this reloading is kicking out instantly.

Anyone facing this issue? Any possible solution?
 
Hello,

Any way your IP changes on a tab reload? What do you see in logs of directadmin? Check /var/log/directadmin/ for more details.
 
There are no IP changes when I reload the browser tab, @zEitEr.

I had already disabled the IP check the same way as @CanadaGuy suggested a long bac ago.

But I found a few points.

1 - When I checked the error log, I see that below line. Referer port (443) does not match DA's (2222): https://mydomain.tld/whmcs-url/configservers.php

2 - The log out when reloading happens only when I logged to my DA from WHMCS's server list. In WHMCS we can auto-login to our configured server.

3 - When I logged to DA directly and not via WHMCS, I don't experience the log out when reloading.

A screenshot of the related port number settings is


I hope this information will help to resolve this issue. I don't know how to solve this though :)
 
You might also want to create the file /usr/local/directadmin/data/templates/custom/referer_check.allow and add your WHMCS domain name in that file. Please note it should have a empty line at the end. Then restart DirectAdmin.

Also see https://www.directadmin.com/features.php?id=1997 (but you do not need to have http:// or https:// in front of the domain as the examples in the guide says.
 
Back
Top