RuntimeError: Not connected to MySQL server

Antworten
SirTux
Beiträge: 568
Registriert: 05 Feb 2011, 18:37

RuntimeError: Not connected to MySQL server

Beitrag von SirTux »

Hallo,

mit dem opsiconfd 4.3.12.5-1 aus Testing kommt es bei einem WAN-Client unter Verwendung des Protokolls Webdav zu folgendem Fehler. Bei einem Wechsel auf den normalen Modus unter Beibehaltung von Webdav schlägt der Mount des Shares fehl. Ein Wechsel zum SMB-Protokoll führt zu einer erfolgreichen Installation.

Ein Downgrade auf Stable behebt das Problem. Der Client ist nicht dem Config-Server als Depot zugeordnet.

Code: Alles auswählen

[3] [2024-03-22 22:49:05.818] [Client-IP  ] Not connected to MySQL server   (session.py:313)
Traceback (most recent call last):
  File "opsiconfd/session.py", line 384, in __call__
  File "opsiconfd/session.py", line 241, in handle_request
  File "opsiconfd/session.py", line 1393, in check_access
  File "opsiconfd/session.py", line 1193, in authenticate
  File "opsiconfd/session.py", line 1237, in _authenticate
  File "opsiconfd/session.py", line 1144, in authenticate_host
  File "opsiconfd/backend/rpc/main.py", line 365, in async_call
  File "starlette/concurrency.py", line 42, in run_in_threadpool
  File "anyio/to_thread.py", line 56, in run_sync
  File "anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
  File "anyio/_backends/_asyncio.py", line 851, in run
  File "opsiconfd/backend/rpc/obj_host.py", line 124, in host_updateObjectOnAuthenticate
  File "opsiconfd/backend/mysql/__init__.py", line 868, in insert_object
RuntimeError: Not connected to MySQL server
Viele Grüße,
Stefan
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1819
Registriert: 29 Mai 2008, 15:14

Re: RuntimeError: Not connected to MySQL server

Beitrag von j.schneider »

Hallo,

vielen Dank, ist gefixt in opsiconfd 4.3.12.6.

Grüße
Jan Schneider
SirTux
Beiträge: 568
Registriert: 05 Feb 2011, 18:37

Re: RuntimeError: Not connected to MySQL server

Beitrag von SirTux »

Danke :)
Antworten