You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending Auth request, the header with authToken is added (if set). With long running process it sometimes triggers "auth credentials have expired" error. My quick&dirty patch for this:
--- src/Zimbra/Soap/Client/Http.php.org
+++ src/Zimbra/Soap/Client/Http.php
@@ -237,7 +237,7 @@
public function doRequest(SoapRequest $request)
{
$this->soapMessage = new SoapMessage;
- if(!empty($this->_authToken))
+ if(!empty($this->_authToken) && !($request instanceof \Zimbra\Admin\Request\Auth))
{
$this->soapMessage->addHeader('authToken', $this->_authToken);
}
The text was updated successfully, but these errors were encountered:
When sending Auth request, the header with authToken is added (if set). With long running process it sometimes triggers "auth credentials have expired" error. My quick&dirty patch for this:
The text was updated successfully, but these errors were encountered: