Problem: User cannot be added via OX-Connector

Problem:

User cannot be added via OX-Connector

Env:

UCS: 5.0-6
Open-Xchange: 7.10.6-Rev57
OX-Connector: 2.2.7
root@replica:~# univention-app info
UCS: 5.0-6 errata916
Installed: ox-connector=2.2.7 pkgdb=11.0 prometheus-node-exporter=2.0.1 ucsschool=5.0 v4

2024-01-19T10:48:19,620+0100 WARN  [OXWorker-0000763] org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:182)
Can't find the request for https://ox.schein.ox:80/webservices/OXUserCopyService's Observer 

Investigation:

OX-Connector Log/Config:
2024-01-19 14:06:26 WARNING requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://ox.schein.ox/webservices/OXUserCopyService?wsdl
Configuring ox-connector=2.2.7
Setting OX_SOAP_SERVER to 'https://ox.schein.ox'
Setting OX_IMAP_SERVER to 'imap://mx1.schein.ox:143'
Setting OX_SMTP_SERVER to 'smtp://mx1.schein.ox:587'
Setting DEFAULT_CONTEXT to '99'
Setting OX_LANGUAGE to 'de_DE'
Setting LOCAL_TIMEZONE to 'Europe/Berlin'
Setting OX_MASTER_ADMIN to 'oxadminmaster'

Tests:

root@ox:~# curl http://127.0.0.1/webservices/OXUserCopyService?wsdl  → # OX Server
<html><body>No service was found.</body></html>
 
root@replica:~# curl https://mn2-ox.luebeck.schule/webservices/OXUserCopyService?wsdl #  OX Connector Server
<html><body>No service was found.</body></html>

Solution:

A user was to be moved to another OX context, so the OXUserCopyService module was called. After deleting the cache in the OX-Connector (old/ and old.db) it was rebuilt and the OX-Connector is working normally again. The cause was probably a user created in the wrong context via the GUI.

Mastodon