Skip to content

[Bug]:Unable to communicate with version 1.4.0 beta #503

Description

@CapitainJ

Do you need to file an issue?

  • I have searched the existing issues and this bug is not already filed.
  • I believe this is a legitimate bug, not just a question or feature request.

Describe the bug

Running tests returns:

[completed] LLM test completed successfully. 

But when starting a new conversation, the frontend is unresponsive, backend log:

backend  INFO:     127.0.0.1:60657 - "WebSocket /api/v1/ws" [accepted]
backend  INFO:     127.0.0.1:50312 - "GET /api/v1/sessions?limit=50&offset=0 HTTP/1.1" 200 OK
backend  ERROR   deeptutor.runtime.orchestrator - Capability chat failed: Error code: 400 - {'error': {'code': '400', 'message': 'Invalid request', 'param': '404 NOT_FOUND', 'type': ''}, 'request_id': 'ff11fb10e1526f65b08163c800072223'}
backend  INFO:     127.0.0.1:65219 - "GET /api/v1/sessions?limit=50&offset=0 HTTP/1.1" 200 OK
backend  INFO:     127.0.0.1:50312 - "GET /api/v1/sessions/unified_1779415101633_1075a599 HTTP/1.1" 200 OK
backend  INFO:     127.0.0.1:57979 - "WebSocket /api/v1/ws" [accepted]
backend  ERROR   asyncio - Task exception was never retrieved
backend  future: <Task finished name='Task-1007' coro=<AsyncClient.aclose() done, defined at D:\DeepTutor\.venv\Lib\site-packages\httpx\_client.py:1978> exception=RuntimeError('Event loop is closed')>
backend  INFO:     127.0.0.1:65219 - "GET /api/v1/sessions?limit=50&offset=0 HTTP/1.1" 200 OK
backend  INFO:     127.0.0.1:50312 - "GET /api/v1/sessions/unified_1779415101633_1075a599 HTTP/1.1" 200 OK
backend  INFO:     127.0.0.1:55763 - "WebSocket /api/v1/ws" [accepted]
backend  INFO:     127.0.0.1:50312 - "GET /api/v1/sessions?limit=50&offset=0 HTTP/1.1" 200 OK
backend  INFO:     127.0.0.1:65219 - "GET /api/v1/sessions/unified_1779415101633_1075a599 HTTP/1.1" 200 OK
backend  INFO:     127.0.0.1:50312 - "GET /api/v1/sessions?limit=50&offset=0 HTTP/1.1" 200 OK

Steps to reproduce

No response

Expected Behavior

No response

Related Module

Dashboard

Configuration Used

No response

Logs and screenshots

No response

Additional Information

  • DeepTutor Version:
  • Operating System:
  • Python Version:
  • Node.js Version:
  • Browser (if applicable):
  • Related Issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions