Immediately getting logged out in web browser

I get immediately logged out in my web browser. The problem is agnostic to user/admin/browser/incognito mode/cleared caches. I read to disable ip checks but I cannot even do that do to being logged out immediately. Is there another way to disable ip checks to verify if that works? Or is there another issue?

1 Like

Hi,

Open the configuration file cloudconfig.php which will under the following path:

Windows Drive letter:\xampp\htdocs\config\cloudconfig.php
Linux /var/www/html/config/cloudconfig.php

Check for the following line:

define(“TONIDOCLOUD_SECURE_COOKIE”, 0);
Please change the value to 1 and save the file

Then give a try to login. If you find any difficulty, kindly let us know

Please check and confirm, if the Disable IP check option is disabled from your end. It can be checked as follows

  1. Log into Admin Portal
  2. From the left navigation panel, select SETTINGS and then Misc and then General
  3. On the Settings screen, select the Misc. tab, and then the General sub tab.
  4. Check for Disable IP Check, select the checkbox to disable the IP check on every request
1 Like

I updated the file. I was able to get in but only with Firefox in incognito mode. But even then I clicked settings and then it logged me out. Attempted again and it started doing the immediate log out again.

Hi

Kindly provide the cloudconfig file

Windows Drive letter:\xampp\htdocs\config\cloudconfig.php
Linux /var/www/html/config/cloudconfig.php

password: drakdkm1

I uploaded the cloudconfig.php file to the link. I changed the file type to txt as php file type was not allowed.

Hi,

Thank you for the details.

Can you please let us know the result you are seeing while accessing http://127.0.0.1/admin

and what is your storage type is it ‘local’ or ‘openstack’ or ‘amazons3’ ?

I get no connection when I attempt to access http://127.0.0.1/admin. I also tried https://127.0.0.1/admin with the same result. My storage type is amazons3.

1] To further troubleshoot the issue we will require the Apache Webserver Logs access.log and error log from below location:

Linux /var/log/apache2
Windows D:\xampp\apache\logs

2] Also we will require the FileCloud server logs

Please reproduce the error again with server logs in debug mode. To enable debug mode add the following flag in cloudconfig file

Linux /var/www/html/config/cloudconfig.php
Windows drive letter:\xampp\htdocs\config\cloudconfig.php

define(“TONIDOCLOUD_OP_MODE”, “PROD” ); // < VALID values are DEV | PROD

change that from PROD to DEV and then save the changes

Manual log collection

You can find the FileCloud logs from here

Windows: Drive letter:\xampp\htdocs\scratch\logs\log_YYYY-MM-DD.txt
Linux: /var/www/scratch/logs/log_YYYY-MM-DD.txt (in Ubuntu 14.04 and later
/var/www/html/scratch/logs/log_YYYY_MM_DD.txt)

Upload the logs in the following link please FileCloud
password: drakdkm1

Requested Files have been uploaded.

Hi

Thank you we will check this and get back to you

Hi

Do you have any anti virus or firewall enabled under your system? if yes can you kindly try to temporarily disable them and then give a try to access the same

Also try to check this through your mobile browser and let us know how it goes

After playing around with different combinations what I found is that as long as I have my VPN on I am able to log in and stay in on my browser. Did not matter what browser or mobile device. I turn off the VPN and I will get logged out. If I logged in with VPN then turned off VPN after I logged in it would log me out immediately.

@nate85161
Were you able to stay logged in long enough to select the checkbox to disable the IP check on every request?

1 Like