Skip to content

[BUG]运行报错但功能正常 #1320

Description

@unclelaotie

SQLBot Version
1.10.0
Run Mode
Is it running in a Docker container or running from source code?
docker
Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
docker-compose logs sqlbot|more
sqlbot | wait-for-it: waiting 120 seconds for 127.0.0.1:5432
sqlbot |
sqlbot | PostgreSQL Database directory appears to contain a database; Skipping initialization
sqlbot |
sqlbot | 2026-08-11 15:37:30.501 CST [7] LOG: starting PostgreSQL 17.6 (Debian 17.6-1.pgdg12+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14+deb12u1) 12.2.0, 64-bit
sqlbot | 2026-08-11 15:37:30.501 CST [7] LOG: listening on IPv4 address "0.0.0.0", port 5432
sqlbot | 2026-08-11 15:37:30.501 CST [7] LOG: listening on IPv6 address "::", port 5432
sqlbot | 2026-08-11 15:37:30.533 CST [7] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
sqlbot | 2026-08-11 15:37:30.710 CST [55] LOG: database system was interrupted; last known up at 2026-08-11 15:35:53 CST
sqlbot | wait-for-it: 127.0.0.1:5432 is available after 4 seconds
sqlbot | 2026-08-11 15:37:30.911 CST [58] LOG: incomplete startup packet
sqlbot | �[1;32mPostgreSQL started.�[0m
sqlbot |
sqlbot | -------------
sqlbot |
sqlbot | /\\\\\\_/\\/\\/\\\\_
sqlbot | _/\/////////\_/\\\
/\\\/\///////\_
sqlbot | /\_
/\_/\//\_/\//\_/////\_
sqlbot | _/\\\\\\/
/\\///\/\/
/\_
/\/
sqlbot | /\/////////
/\_
///\/
/\_/\//_____
sqlbot | /\_
/\_////\_____/\//_____
sqlbot | /\_/\_/\_/\/__________
sqlbot | /\_/\_/\_/\\\\\\\_
sqlbot | _////////////////////////
sqlbot |
sqlbot |
sqlbot | Runtime Edition
sqlbot |
sqlbot | PM2 is a Production Process Manager for Node.js applications
sqlbot | with a built-in Load Balancer.
sqlbot |
sqlbot | Start and Daemonize any application:
sqlbot | $ pm2 start app.js
sqlbot |
sqlbot | Load Balance 4 instances of api.js:
sqlbot | $ pm2 start api.js -i 4
sqlbot |
sqlbot | Monitor in production:
sqlbot | $ pm2 monitor
sqlbot |
sqlbot | Make pm2 auto-boot at server restart:
sqlbot | $ pm2 startup
sqlbot |
sqlbot | To go further checkout:
sqlbot | http://pm2.io/
sqlbot |
sqlbot |
sqlbot | -------------
sqlbot |
sqlbot | [PM2] Spawning PM2 daemon with pm2_home=/root/.pm2
sqlbot | [PM2] This PM2 is not UP TO DATE
sqlbot | [PM2] Upgrade to version 7.0.3
sqlbot | [PM2] PM2 Successfully daemonized
sqlbot | 2026-08-11 15:37:40.845 CST [55] LOG: syncing data directory (pre-fsync), elapsed time: 10.08 s, current path: ./base/16384/2666
sqlbot | [PM2] Starting /opt/sqlbot/g2-ssr/app.js in fork_mode (1 instance)
sqlbot | [PM2] Done.
sqlbot | 鈹屸攢鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹?sqlbot | 鈹?id 鈹?name 鈹?namespace 鈹?version 鈹?mode 鈹?pid 鈹?uptime 鈹?鈫? 鈹?status 鈹?cpu 鈹?mem 鈹?user 鈹?watching 鈹?sqlbot | 鈹溾攢鈹€鈹€鈹€鈹尖攢鈹€鈹€鈹€鈹€鈹€鈹€鈹 €鈹尖攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹尖攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹尖攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹尖攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹尖攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹尖攢鈹€鈹€鈹€鈹€鈹€鈹尖攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹尖攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹尖攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹尖攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹尖攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹?sqlbot | 鈹?0 鈹?app 鈹?default 鈹?0.0.0 鈹?fork 鈹?97 鈹?0s 鈹?0 鈹?online 鈹?0% 鈹?37.6mb 鈹?root 鈹?disabled 鈹?sqlbot | 鈹斺攢鈹€鈹€鈹€鈹粹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹粹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹粹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹粹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹粹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹粹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹粹攢鈹€鈹€鈹€鈹€鈹€鈹粹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹粹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹粹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹粹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹粹攢鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹?sqlbot | 2026-08-11 15:37:50.786 CST [55] LOG: syncing data directory (pre-fsync), elapsed time: 20.02 s, current path: ./base/5/13
sqlbot | 2026-08-11 15:38:07.006 CST [55] LOG: syncing data directory (fsync), elapsed time: 10.02 s, current path: ./base/16384/17080
sqlbot | 2026-08-11 15:38:16.987 CST [55] LOG: syncing data directory (fsync), elapsed time: 20.00 s, current path: ./base/4/3079_fsm
sqlbot | 2026-08-11 15:38:26.983 CST [55] LOG: syncing data directory (fsync), elapsed time: 30.00 s, current path: ./base/5/3502
sqlbot | 2026-08-11 15:38:27,822 - apps.db.db - INFO:44 - init oracle client success, use thick mode
sqlbot | 2026-08-11 15:38:28,010 - apps.db.db - INFO:44 - init oracle client success, use thick mode
sqlbot | 2026-08-11 15:38:29,310 - alembic.runtime.plugins - INFO:37 - setup plugin alembic.autogenerate.schemas
sqlbot | 2026-08-11 15:38:29,316 - alembic.runtime.plugins - INFO:37 - setup plugin alembic.autogenerate.tables
sqlbot | 2026-08-11 15:38:29,323 - alembic.runtime.plugins - INFO:37 - setup plugin alembic.autogenerate.types
sqlbot | 2026-08-11 15:38:29,327 - alembic.runtime.plugins - INFO:37 - setup plugin alembic.autogenerate.constraints
sqlbot | 2026-08-11 15:38:29,333 - alembic.runtime.plugins - INFO:37 - setup plugin alembic.autogenerate.defaults
sqlbot | 2026-08-11 15:38:29,337 - alembic.runtime.plugins - INFO:37 - setup plugin alembic.autogenerate.comments
sqlbot | 2026-08-11 15:38:29,587 - alembic.runtime.plugins - INFO:37 - setup plugin alembic.autogenerate.schemas
sqlbot | 2026-08-11 15:38:29,610 - alembic.runtime.plugins - INFO:37 - setup plugin alembic.autogenerate.tables
sqlbot | 2026-08-11 15:38:29,623 - alembic.runtime.plugins - INFO:37 - setup plugin alembic.autogenerate.types
sqlbot | 2026-08-11 15:38:29,648 - alembic.runtime.plugins - INFO:37 - setup plugin alembic.autogenerate.constraints
sqlbot | 2026-08-11 15:38:29,681 - alembic.runtime.plugins - INFO:37 - setup plugin alembic.autogenerate.defaults
sqlbot | 2026-08-11 15:38:29,703 - alembic.runtime.plugins - INFO:37 - setup plugin alembic.autogenerate.comments
sqlbot | 2026-08-11 15:38:30.369 CST [55] LOG: database system was not properly shut down; automatic recovery in progress
sqlbot | 2026-08-11 15:38:30.573 CST [55] LOG: redo starts at 0/1C934D8
sqlbot | 2026-08-11 15:38:30.580 CST [55] LOG: invalid record length at 0/1C935E0: expected at least 24, got 0
sqlbot | 2026-08-11 15:38:30.580 CST [55] LOG: redo done at 0/1C935A8 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s
sqlbot | 2026-08-11 15:38:30.882 CST [53] LOG: checkpoint starting: end-of-recovery immediate wait
sqlbot | 2026-08-11 15:38:32.366 CST [53] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.289 s, sync=0.179 s, total=1.524 s; sync files=2, longest=0.112 s, average=0.090 s; distance=0 kB, estimate=0 kB; lsn=0/1C935E0, redo lsn=0/1C935E0
sqlbot | 2026-08-11 15:38:32.474 CST [7] LOG: database system is ready to accept connections
sqlbot | 2026-08-11 15:38:35,488 - fastapi_mcp.server - INFO:297 - No auth config provided, skipping auth setup
sqlbot | 2026-08-11 15:38:35,498 - fastapi_mcp.server - INFO:368 - MCP server listening at /mcp
sqlbot | 2026-08-11 15:38:35,541 - fastapi_mcp.server - INFO:297 - No auth config provided, skipping auth setup
sqlbot | 2026-08-11 15:38:35,546 - fastapi_mcp.server - INFO:368 - MCP server listening at /mcp
sqlbot | 2026-08-11 15:38:38,533 - sqlbot_xpack.core - INFO:52 - XPack core initialized successfully.
sqlbot | 2026-08-11 15:38:38,545 - sqlbot_xpack.core - INFO:52 - XPack core initialized successfully.
sqlbot | INFO: Started server process [60]
sqlbot | INFO: Waiting for application startup.
sqlbot | INFO: Started server process [61]
sqlbot | INFO: Waiting for application startup.
sqlbot | INFO: Application startup complete.
sqlbot | INFO: Uvicorn running on http://0.0.0.0:8001 (Press CTRL+C to quit)
sqlbot | 2026-08-11 15:38:38,954 - alembic.runtime.migration - INFO:210 - Context impl PostgresqlImpl.
sqlbot | 2026-08-11 15:38:38,965 - alembic.runtime.migration - INFO:213 - Will assume transactional DDL.
sqlbot | 2026-08-11 15:38:39,454 - common.core.sqlbot_cache - INFO:131 - SQLBot 浣跨敤鍐呭瓨缂撳瓨, 浠呮敮鎸佸崟杩涚▼妯″紡
sqlbot | 2026-08-11 15:38:39,606 - apps.datasource.crud.table - INFO:40 - get tables
sqlbot | 2026-08-11 15:38:39,609 - main - INFO:60 - 鉁?SQLBot 鍒濆鍖栧畬鎴?sqlbot | 2026-08-11 15:38:40,030 - apps.datasource.crud.table - INFO:43 - table result: 0
sqlbot | 2026-08-11 15:38:40,034 - apps.datasource.crud.table - INFO:46 - get datasource
sqlbot | 2026-08-11 15:38:40,083 - apps.datasource.crud.table - INFO:49 - datasource result: 0
sqlbot | check rsa key pair in db
sqlbot | 2026-08-11 15:38:40,294 - sqlbot_xpack.config.rsa_manage - INFO:121 - XPack global rsa cache clean successfully.
sqlbot | INFO: Application startup complete.
sqlbot | INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
sqlbot | INFO: 127.0.0.1:46912 - "GET /mcp HTTP/1.1" 200 OK
sqlbot | ERROR: Exception in ASGI application
sqlbot | + Exception Group Traceback (most recent call last):
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/_utils.py", line 76, in collapse_excgroups
sqlbot | | yield
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in call
sqlbot | | async with anyio.create_task_group() as task_group:
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 815, in aexit
sqlbot | | raise BaseExceptionGroup(
sqlbot | | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
sqlbot | +-+---------------- 1 ----------------
sqlbot | | Traceback (most recent call last):
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 422, in run_asgi
sqlbot | | result = await app( # type: ignore[func-returns-value]
sqlbot | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 63, in call
sqlbot | | return await self.app(scope, receive, send)
sqlbot | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in call
sqlbot | | await super().call(scope, receive, send)
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/applications.py", line 112, in call
sqlbot | | await self.middleware_stack(scope, receive, send)
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 187, in call
sqlbot | | raise exc
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 165, in call
sqlbot | | await self.app(scope, receive, _send)
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 176, in call
sqlbot | | with recv_stream, send_stream, collapse_excgroups():
sqlbot | | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
sqlbot | | self.gen.throw(typ, value, traceback)
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
sqlbot | | raise exc
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in call
sqlbot | | await response(scope, wrapped_receive, send)
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 216, in call
sqlbot | | async for chunk in self.body_iterator:
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 163, in body_stream
sqlbot | | assert message["type"] == "http.response.body"
sqlbot | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlbot | | AssertionError
sqlbot | +------------------------------------
sqlbot |
sqlbot | During handling of the above exception, another exception occurred:
sqlbot |
sqlbot | Traceback (most recent call last):
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 422, in run_asgi
sqlbot | result = await app( # type: ignore[func-returns-value]
sqlbot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 63, in call
sqlbot | return await self.app(scope, receive, send)
sqlbot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in call
sqlbot | await super().call(scope, receive, send)
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/applications.py", line 112, in call
sqlbot | await self.middleware_stack(scope, receive, send)
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 187, in call
sqlbot | raise exc
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 165, in call
sqlbot | await self.app(scope, receive, _send)
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 176, in call
sqlbot | with recv_stream, send_stream, collapse_excgroups():
sqlbot | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
sqlbot | self.gen.throw(typ, value, traceback)
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
sqlbot | raise exc
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in call
sqlbot | await response(scope, wrapped_receive, send)
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 216, in call
sqlbot | async for chunk in self.body_iterator:
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 163, in body_stream
sqlbot | assert message["type"] == "http.response.body"
sqlbot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlbot | AssertionError
sqlbot | INFO: 127.0.0.1:46724 - "GET /mcp HTTP/1.1" 200 OK
sqlbot | ERROR: Exception in ASGI application
sqlbot | + Exception Group Traceback (most recent call last):
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/_utils.py", line 76, in collapse_excgroups
sqlbot | | yield
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 177, in call
sqlbot | | async with anyio.create_task_group() as task_group:
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 815, in aexit
sqlbot | | raise BaseExceptionGroup(
sqlbot | | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
sqlbot | +-+---------------- 1 ----------------
sqlbot | | Traceback (most recent call last):
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 422, in run_asgi
sqlbot | | result = await app( # type: ignore[func-returns-value]
sqlbot | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 63, in call
sqlbot | | return await self.app(scope, receive, send)
sqlbot | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in call
sqlbot | | await super().call(scope, receive, send)
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/applications.py", line 112, in call
sqlbot | | await self.middleware_stack(scope, receive, send)
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 187, in call
sqlbot | | raise exc
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 165, in call
sqlbot | | await self.app(scope, receive, _send)
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 176, in call
sqlbot | | with recv_stream, send_stream, collapse_excgroups():
sqlbot | | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
sqlbot | | self.gen.throw(typ, value, traceback)
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
sqlbot | | raise exc
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in call
sqlbot | | await response(scope, wrapped_receive, send)
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 216, in call
sqlbot | | async for chunk in self.body_iterator:
sqlbot | | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 163, in body_stream
sqlbot | | assert message["type"] == "http.response.body"
sqlbot | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlbot | | AssertionError
sqlbot | +------------------------------------
sqlbot |
sqlbot | During handling of the above exception, another exception occurred:
sqlbot |
sqlbot | Traceback (most recent call last):
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 422, in run_asgi
sqlbot | result = await app( # type: ignore[func-returns-value]
sqlbot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 63, in call
sqlbot | return await self.app(scope, receive, send)
sqlbot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in call
sqlbot | await super().call(scope, receive, send)
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/applications.py", line 112, in call
sqlbot | await self.middleware_stack(scope, receive, send)
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 187, in call
sqlbot | raise exc
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 165, in call
sqlbot | await self.app(scope, receive, _send)
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 176, in call
sqlbot | with recv_stream, send_stream, collapse_excgroups():
sqlbot | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
sqlbot | self.gen.throw(typ, value, traceback)
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
sqlbot | raise exc
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 179, in call
sqlbot | await response(scope, wrapped_receive, send)
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 216, in call
sqlbot | async for chunk in self.body_iterator:
sqlbot | File "/opt/sqlbot/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 163, in body_stream
sqlbot | assert message["type"] == "http.response.body"
sqlbot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlbot | AssertionError
sqlbot | INFO: 127.0.0.1:47566 - "GET /mcp HTTP/1.1" 200 OK

Metadata

Metadata

Labels

DonebugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions