V0.27.0 客户端 / 与 BrainFrame 服务端通信时发生未处理的异常

存档自 BrainFrame 论坛。发布于 2021年2月26日。 1 条回复 · 520 次浏览 由英文原帖翻译成中文。 阅读原文

AOTU support
Screenshot from 2021-02-26 10-51-44

brainframe.api.bf_errors.ServerNotReadyError: None: A network exception occurred while communicating with the BrainFrame server

Traceback (most recent call last):
File “urllib3/connectionpool.py”, line 445, in _make_request
File “”, line 3, in raise_from
File “urllib3/connectionpool.py”, line 440, in _make_request
File “http/client.py”, line 1373, in getresponse
File “http/client.py”, line 311, in begin
File “http/client.py”, line 272, in _read_status
File “socket.py”, line 586, in readinto
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “requests/adapters.py”, line 449, in send
File “urllib3/connectionpool.py”, line 756, in urlopen
File “urllib3/util/retry.py”, line 531, in increment
File “urllib3/packages/six.py”, line 735, in reraise
File “urllib3/connectionpool.py”, line 706, in urlopen
File “urllib3/connectionpool.py”, line 447, in _make_request
File “urllib3/connectionpool.py”, line 337, in _raise_timeout
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host=‘175.27.163.143’, port=80): Read timed out. (read timeout=30)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “brainframe/api/stubs/base_stub.py”, line 324, in _perform_request
File “brainframe/api/stubs/base_stub.py”, line 343, in _send_request
File “requests/sessions.py”, line 655, in send
File “requests/adapters.py”, line 529, in send
requests.exceptions.ReadTimeout: HTTPConnectionPool(host=‘175.27.163.143’, port=80): Read timed out. (read timeout=30)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “brainframe/client/ui/resources/qt_async_worker.py”, line 63, in finish
File “brainframe/client/ui/resources/qt_async_worker.py”, line 47, in run
File “brainframe/client/ui/main_window/video_expanded_view/alert_log/alert_log.py”, line 57, in get_alerts_from_server
File “brainframe/api/stubs/alerts.py”, line 89, in get_alerts
File “brainframe/api/stubs/base_stub.py”, line 55, in _get_json
File “brainframe/api/stubs/base_stub.py”, line 157, in _get
File “brainframe/api/stubs/base_stub.py”, line 282, in _send_authorized
File “brainframe/api/stubs/base_stub.py”, line 288, in _send_no_auth
File “brainframe/api/stubs/base_stub.py”, line 326, in _perform_request
brainframe.api.bf_errors.ServerNotReadyError: None: A network exception occurred while communicating with the BrainFrame server
AOTU support

你好,感谢提供错误信息。很遗憾,这个错误来自客户端,是服务端出了问题导致的。

从最后一行可以看到:

brainframe.api.bf_errors.ServerNotReadyError: None: A network exception occurred while communicating with the BrainFrame server

ServerNotReadyError 表示服务端没有响应请求。以后请一并发送服务端日志,方法是运行:

brainframe compose logs core > core_logs.txt

这会生成一个名为 core_logs.txt 的文件,然后可以把它上传到论坛。

© 2026 Dilili Labs 版权所有 · 网站隐私声明
Built on 2026-10-10 00:24:35 UTC