Zimbra connector - auth credentials have expired

Hi all,
I have Zimbra OSE 8.8.15 server, Zimbra connector in UCS instaled and configured. Everything is working (user create, delete, modify…)

But after 2 days I’ll get this error:
On Zimbra server ( /opt/zimbra/log/mailbox.log)

2020-04-20 07:32:07,395 INFO  [qtp366590980-20311:https://localhostname:7071/service/admin/soap] [ip=172.17.130.1;port=41218;] SoapEngine - auth credentials have expired: unable to construct SOAP context
2020-04-20 07:32:12,422 INFO  [qtp366590980-20336:https://localhostname:7071/service/admin/soap] [ip=172.17.130.1;port=41220;] SoapEngine - auth credentials have expired: unable to construct SOAP context
2020-04-20 07:32:17,446 INFO  [qtp366590980-20311:https://localhostname:7071/service/admin/soap] [ip=172.17.130.1;port=41222;] SoapEngine - auth credentials have expired: unable to construct SOAP context

And on UCS server (/var/log/univention/zimbra4ucs.log)

2020-04-20 07:36:14,025 - ERROR - <traceback object at 0x7f5f667ec3b0>
Traceback (most recent call last):
  File "/usr/sbin/zimbra4ucs-connector", line 72, in run
    opts.dry_run)
  File "/usr/lib/pymodules/python2.7/zimbra4ucs/tools.py", line 84, in process_files
    cls.create(dn, new)
  File "/usr/lib/pymodules/python2.7/zimbra4ucs/models.py", line 140, in ldap_create
    data = cls(cls.get_connection(), **cls.map_ldap_attributes(new)).create()
  File "/usr/lib/pymodules/python2.7/zimbra4ucs/models.py", line 297, in create
    return super(ZimbraAccount, self).create()
  File "/usr/lib/pymodules/python2.7/zimbra4ucs/models.py", line 69, in create
    data = self.request('%sRequest' % self.method_create, self.dict())['%sResponse' % self.method_create]
  File "/usr/lib/pymodules/python2.7/zimbra4ucs/models.py", line 96, in request
    return self.connection.request(method, data).get_response()
  File "/usr/lib/pymodules/python2.7/zimbra4ucs/__init__.py", line 204, in request
    raise cls(response.get_fault_message(), code)
ZimbraResponseError: Response failed: auth credentials have expired (code: service.AUTH_EXPIRED)

After re-run Zimbra connector wizard, everything starts working, but again only for 1-2 dyas.
Then the error again… and I must re-run wizard again…

Any idea how to fix expired auth credentials?

Thanks.

Maybe workaround…?

I try change Admin console auth token lifetime from 12 hour to 999 days on my zimbra Admin account. And this seems working.
After 2 days, still able manage accounts from UCS, no expired cred.

So, is this good solution?

Mastodon