Credentials > Users cannot retrieve response

Description

When openning the credentials > users tab we only get a red sign with the "Can not retrieve response" error message and no informations on users even the build-in.

This was the case before upgrading from the beta to the RC release but i tried the release on a VM and the issue is not linked.

In middleware logs i saw this error : [2025/03/11 20:38:37] (WARNING) middlewared.process_method_call():357 - Exception while calling user.query(*[]) @cee:{"TNLOG": {"exception": "Traceback (most recent call last):\n File \"/usr/lib/python3/dist-packages/middlewared/api/base/server/ws_handler/rpc.py\", line 323, in process_method_call\n result = await method.call(app, params)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py\", line 49, in call\n return await self._dump_result(app, methodobj, result)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py\", line 52, in _dump_result\n return self.middleware.dump_result(self.serviceobj, methodobj, app, result)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/middlewared/main.py\", line 791, in dump_result\n return serialize_result(new_style_returns_model, result, expose_secrets)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/middlewared/api/base/handler/result.py\", line 13, in serialize_result\n return model(result=result).model_dump(\n ^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/pydantic/main.py\", line 212, in _init\n validated_self = self.pydantic_validator_.validate_python(data, self_instance=self)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\npydantic_core._pydantic_core.ValidationError: 5 validation errors for UserQueryResult\nresult.list[UserQueryResultItem].53.shell\n String should have at least 1 character [type=string_too_short, input_value='', input_type=str]\n For further information visit https://errors.pydantic.dev/2.9/v/string_too_short\nresult.list[UserQueryResultItem].54.shell\n String should have at least 1 character [type=string_too_short, input_value='', input_type=str]\n For further information visit https://errors.pydantic.dev/2.9/v/string_too_short\nresult.list[UserQueryResultItem].55.shell\n String should have at least 1 character [type=string_too_short, input_value='', input_type=str]\n For further information visit https://errors.pydantic.dev/2.9/v/string_too_short\nresult.UserQueryResultItem\n Input should be a valid dictionary or instance of UserQueryResultItem [type=model_type, input_value=[{'id': 1, 'uid': 0, 'use...s': [], 'api_keys': []}], input_type=list]\n For further information visit https://errors.pydantic.dev/2.9/v/model_type\nresult.int\n Input should be a valid integer [type=int_type, input_value=[{'id': 1, 'uid': 0, 'use...s': [], 'api_keys': []}], input_type=list]\n For further information visit https://errors.pydantic.dev/2.9/v/int_type", "type": "PYTHON_EXCEPTION", "time": "2025-03-11 19:38:37.480316"}}

But i'm not shure if this linked.

I tried disabling the LDAP user cache but it didn't change anything.
Thank you for your help.

Session ID: 6669ba94-1fdf-be8b-1b53-383fedb9d9fc

Problem/Justification

None

Impact

None

Activity

Show:

Lucas DENIS 3 days ago

Hi, I think this is the same issue as :

As i have the same result for the asked command and a OpenLDAP configured.

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Impact

Medium

Department

Services

Priority

More fields

Katalon Platform

Created 3 days ago
Updated 2 days ago