Fehler beim Anmelden: PublicKeyTokenProvider::decryptPassword()

Betriebssystem: CentOs 7
DB: MariaDB 10.3.24
Webserver: Apache
PHP: 7.4.9
Version: 19.0.1
Authentifizierung via LDAPS gegen AD.

Gelegentlich bis häufig können sich User nicht anmelden und erhalten diese Meldung im Browser, dabei kommt es vor, dass die Anmeldung über einen anderen Browser dann klappt. Die Windows-Clients haben Probleme mit dem Reconnect und verlieren auch im Betrieb gern mal die Verbindung:

Interner Serverfehler

Der Server konnte die Anfrage nicht fertig stellen.

Sollte dies erneut auftreten, sende bitte die nachfolgenden technischen Einzelheiten an Deinen Server-Administrator.

Weitere Details können im Server-Protokoll gefunden werden.

Technische Details

  • Entfernte Adresse: x.x.x.x
  • Anfragekennung: XzU1OQuy7IRMqiRz7h4WPAAAAAk

Folgende Fehlermeldungen finde ich dazu im Log:
|Fatal|webdav|TypeError: Return value of OC\Authentication\Token\PublicKeyTokenProvider::decryptPassword() must be of the type string, null returned

  1. /var/www/html/nextcloud/lib/private/Authentication/Token/PublicKeyTokenProvider.php - line 243:OC\Authentication\Token\PublicKeyTokenProvider->decryptPassword("*** sensiti … *")
  2. /var/www/html/nextcloud/lib/private/Authentication/Token/Manager.php - line 202:OC\Authentication\Token\PublicKeyTokenProvider->getPassword("*** sensiti … *")
  3. /var/www/html/nextcloud/lib/private/User/Session.php - line 638:OC\Authentication\Token\Manager->getPassword("*** sensiti … *")
  4. /var/www/html/nextcloud/lib/private/User/Session.php - line 364:OC\User\Session->loginWithToken("*** sensiti … *")
  5. /var/www/html/nextcloud/lib/private/User/Session.php - line 459:OC\User\Session->login("*** sensiti … *")
  6. /var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php - line 131:OC\User\Session->logClientIn("*** sensiti … *")
  7. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php - line 106:OCA\DAV\Connector\Sabre\Auth->validateUserPass("*** sensiti … *")
  8. /var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php - line 254:Sabre\DAV\Auth\Backend\AbstractBasic->check(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
  9. /var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php - line 156:OCA\DAV\Connector\Sabre\Auth->auth(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
  10. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php - line 192:OCA\DAV\Connector\Sabre\Auth->check(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
  11. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php - line 144:Sabre\DAV\Auth\Plugin->check(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
  12. /var/www/html/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:Sabre\DAV\Auth\Plugin->beforeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
  13. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 458:Sabre\DAV\Server->emit(“beforeMethod:PROPFIND”, [ Sabre\HTTP … }])
  14. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 251:Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
  15. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 319:Sabre\DAV\Server->start()
  16. /var/www/html/nextcloud/apps/dav/appinfo/v1/webdav.php - line 82:Sabre\DAV\Server->exec()
  17. /var/www/html/nextcloud/remote.php - line 167:require_once("/var/www/ht … p")|
    | — | — |

und auch noch diese Meldung:
|Fatal|webdav|Sabre\DAV\Exception\ServiceUnavailable: TypeError: Return value of OC\Authentication\Token\PublicKeyTokenProvider::decryptPassword() must be of the type string, null returned

  1. /var/www/html/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:{closure}("*** sensiti … *")
  2. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 458:Sabre\DAV\Server->emit(“beforeMethod:PROPFIND”, [ "*** sensi … "])
  3. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 251:Sabre\DAV\Server->invokeMethod("*** sensiti … ", "** sensiti … *")
  4. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 319:Sabre\DAV\Server->start()
  5. /var/www/html/nextcloud/remote.php - line 76:Sabre\DAV\Server->exec()
  6. /var/www/html/nextcloud/remote.php - line 171:handleException(TypeError {})|
    | — | — |

Hat jemand eine hilfreiche Idee dazu?

1 Like