必须联网调用远方接口才能实现正常功能吗?
按图索骥,建好环境,拔掉网线,在模型建立阶段,报错如下: Error: Error invoking remote method 'model/addModel: TypeError: SQLite3 can only b ind numbers, strings, bigints, buffers,and null 联网即正常。
同样,拔掉网线,在模型生成阶段,报错如下: Error: Error invoking remote method 'voice/audition:AxiosError: Request failed with st atus code 500 联网即正常。
请问联网都执行了哪些操作,是否上传了本地数据?
这种报错一般是防火墙的问题,关掉系统防火墙,还有什么安全软件的都关掉,防护也关掉
win10,未安装防护软件,也关闭了防火墙,但断网情况下,仍然报错: Error: Error invoking remote method 'model/addModel: TypeError: SQLite3 can only b ind numbers, strings, bigints, buffers,and null 或者 Error: Error invoking remote method 'voice/audition:AxiosError: Request failed with st atus code 500 联网即一切正常,生成视频正常。怎么实现脱网运行?
日志如下: 2025-03-11 09:44:15 Traceback (most recent call last): 2025-03-11 09:44:15 File "/opt/conda/envs/python310/lib/python3.10/site-packages/kui/asgi/exceptions.py", line 27, in wrapper 2025-03-11 09:44:15 return await endpoint() 2025-03-11 09:44:15 File "/opt/conda/envs/python310/lib/python3.10/site-packages/kui/asgi/views.py", line 29, in wrapper 2025-03-11 09:44:15 return await function() 2025-03-11 09:44:15 File "/opt/conda/envs/python310/lib/python3.10/site-packages/kui/asgi/parameters.py", line 119, in callback_with_auto_bound_params 2025-03-11 09:44:15 result = await result 2025-03-11 09:44:15 File "/code/tools/server/views_guiji.py", line 189, in tts 2025-03-11 09:44:15 req.references = await build_references(req.reference_audio, req.reference_text) 2025-03-11 09:44:15 File "/code/tools/server/views_guiji.py", line 163, in build_references 2025-03-11 09:44:15 return [await _build_solo_reference(reference_audio, reference_text)] 2025-03-11 09:44:15 File "/code/tools/server/views_guiji.py", line 125, in _build_solo_reference 2025-03-11 09:44:15 rt, data = await http_util.async_download(reference_audio, audio_local_path) 2025-03-11 09:44:15 File "/code/util/http_util.py", line 152, in async_download 2025-03-11 09:44:15 async with session.get(url) as response: 2025-03-11 09:44:15 File "/opt/conda/envs/python310/lib/python3.10/site-packages/aiohttp/client.py", line 1197, in aenter 2025-03-11 09:44:15 self._resp = await self._coro 2025-03-11 09:44:15 File "/opt/conda/envs/python310/lib/python3.10/site-packages/aiohttp/client.py", line 581, in _request 2025-03-11 09:44:15 conn = await self._connector.connect( 2025-03-11 09:44:15 File "/opt/conda/envs/python310/lib/python3.10/site-packages/aiohttp/connector.py", line 544, in connect 2025-03-11 09:44:15 proto = await self._create_connection(req, traces, timeout) 2025-03-11 09:44:15 File "/opt/conda/envs/python310/lib/python3.10/site-packages/aiohttp/connector.py", line 944, in _create_connection 2025-03-11 09:44:15 _, proto = await self._create_direct_connection(req, traces, timeout) 2025-03-11 09:44:15 File "/opt/conda/envs/python310/lib/python3.10/site-packages/aiohttp/connector.py", line 1209, in _create_direct_connection 2025-03-11 09:44:15 raise ClientConnectorError(req.connection_key, exc) from exc 2025-03-11 09:44:15 aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host digital-public-dev.obs.myhuaweicloud.com:443 ssl:default [Name or service not known]
Rerun "docker - compose up -d" under /deploy to obtain the new Docker image. The new version no longer requires an internet connection.
在/deploy下重新执行 docker-compose up -d 获取新的Docker镜像,新版本已经不需要再联网
[_internal.py[line:96]] [INFO] [172.18.0.1 - - [22/Apr/2025 20:39:43] "GET /easy/query?code=dbe8e742-1b42-4e2f-9c78-81921650a6ee HTTP/1.1" 200 -] 如果不联网,日志一直滚动。视频无法制作成功。联网后: [2025-04-22 20:40:45] [process.py[line:108]] [INFO] [后处理进程结束]
write over
[2025-04-22 20:40:46] [_internal.py[line:96]] [INFO] [172.18.0.1 - - [22/Apr/2025 20:40:46] "GET /easy/query?code=dbe8e742-1b42-4e2f-9c78-81921650a6ee HTTP/1.1" 200 -]
[2025-04-22 20:40:46] [threading.py[line:870]] [INFO] [[dbe8e742-1b42-4e2f-9c78-81921650a6ee]任务最终合成结果: /dbe8e742-1b42-4e2f-9c78-81921650a6ee-r.mp4]
[2025-04-22 20:40:48] [threading.py[line:870]] [INFO] [>>> 任务:dbe8e742-1b42-4e2f-9c78-81921650a6ee 耗时:596.5505313873291 ]
[2025-04-22 20:40:48] [_internal.py[line:96]] [INFO] [172.18.0.1 - - [22/Apr/2025 20:40:48] "GET /easy/query?code=dbe8e742-1b42-4e2f-9c78-81921650a6ee HTTP/1.1" 200 -] 请问必须联网才可以使用吗?