This shows all day long. There is not time interval to it that is consistent. Some times we can go all day with this happening then next thing you know. We are login in every 15 mins (it feels like). There are no error messages in the php_error logs.
The error is being thrown here.
public function getPending()
{
$dateFrom = $this->getRequest('datefrom');
$dateTo = $this->getRequest('dateto');
if ($this->authenticate() !== 1) {
$e = xlt('Error: Authentication Service Denies Access. Not logged in. 6');
if ($this->authenticate() === 2) {
$e = xlt('Error: Application account credentials is not setup. Setup in Actions->Account Credentials.');
}
$ee = array('error' => $e);
return json_encode($ee);
}
I numbered the error messages so I could find which one was throwing the error.
I checked the database and there are credentials in the database.
The token is expiring and not refreshing on its own according to the notes in the Auth.php.
How can I get the system to do the refresh? @adunsulag
Where does the token live? Is it a session token?