镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

outbound-caller issue #20

Open
Open

Description

@Bhushanghadiii

2025-08-09 18:44:54,186 - INFO outbound_caller - connecting to room room-J6N5dWuniHtS
2025-08-09 18:44:55,509 - ERROR livekit.agents - unhandled exception while running the job task
Traceback (most recent call last):
File "C:\Bhushan\outbound-caller-python\venv\Lib\site-packages\opentelemetry\util_decorator.py", line 71, in async_wrapper
return await func(*args, **kwargs) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Bhushan\outbound-caller-python\venv\Lib\site-packages\livekit\agents\ipc\job_proc_lazy_main.py", line 240, in _traceable_entrypoint
await self.job_entrypoint_fnc(job_ctx)
File "C:\Bhushan\outbound-caller-python\agent.py", line 172, in entrypoint
dial_info = json.loads(ctx.job.metadata)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\KRISHNA\AppData\Local\Programs\Python\Python311\Lib\json_init
.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\KRISHNA\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\KRISHNA\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2025-08-09 18:49:56,162 - DEBUG livekit.agents - shutting down job task {"reason": "", "user_initiated": false}
2025-08-09 18:49:56,163 - WARNING livekit - livekit::rtc_engine:453:livekit::rtc_engine - received session close: "signal client closed: "stream closed"" UnknownReason Resume
2025-08-09 18:49:56,169 - DEBUG livekit.agents - job exiting {"reason": "", "tid": 26692, "job_id": "AJ_DMRd66sSdRPq"}
2025-08-09 18:49:56,171 - DEBUG livekit.agents - http_session(): closing the httpclient ctx
2025-08-09 18:49:56,172 - DEBUG livekit.agents - http_session(): creating a new httpclient ctx

im getting this issue in code can anyone help me withh this

Activity

  1. Milindk1 commented on Sep 16, 2025

    @Milindk1

    This is most likely because when you're dispatching a worker, your metadata is not being properly parsed by the code. Can you share your lk dispatch command and the terminal you use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions