Hi team, periodically our self-hosted LiveKit Agen...
# agents
m
Hi team, periodically our self-hosted LiveKit Agent seems to get spammed with invalid job requests. For example last night, when we had zero legitimate usage of the system, our alarms went off for a high rate of these errors:
Copy code
pydantic_core._pydantic_core.ValidationError: 1 validation error for LiveKitRoomMetadata Invalid JSON: EOF while parsing a value at line 1 column 0 [type=json_invalid, input_value='', input_type=str] For further information visit https://errors.pydantic.dev/2.10/v/json_invalid

at .model_validate_json ( /app/.venv/lib/python3.12/site-packages/pydantic/main.py:656 )
at ._try_validate_room_metadata ( /app/src/socrait/libs/livekit/v1/livekit_worker.py:173 )
You can see the pattern in the screenshot: roughly every 5 seconds, our agent service receives invalid job request after invalid job request. This is the second time this has happened to us, and curious if it's happening to others as well.
r
Do you have example job id that was routed to your agent that you did not expect? It starts with
AJ_
m
Here is one:
AJ_P2pFsB586wXp
r
That job came from a client joining a room that had a user agent
okhttp
. It must have had a valid token.