mirror of
https://github.com/justlovemaki/AIClient-2-API.git
synced 2026-04-25 09:25:59 +03:00
[GH-ISSUE #288] 美西服务器部署,本地使用时速度很慢,而且一直出现API_(und_err_socket)问题,请问是什么原因? #204
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AIClient-2-API-justlovemaki#204
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shxiq01 on GitHub (Jan 28, 2026).
Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/288
我部署在远程服务器上(洛杉矶节点),做了cloud flare优选节点,ITDOG检查过,也是全绿,延迟100ms左右。
但是本地无论使用代理(clash tun模式)还是直连,都只能回答一个简单问题,然后就一直开始API_(und_err_socket)。
我想知道这个原因是什么呢?
@justlovemaki commented on GitHub (Jan 28, 2026):
检查下访问的你使用的提供商的API在你服务器上的联通情况
@shxiq01 commented on GitHub (Jan 29, 2026):
请教一下怎么检查呢?我看了下日志,没找到地址。服务商是 kiro
@justlovemaki commented on GitHub (Jan 29, 2026):
页面上添加提供商的节点时,输入框里有默认的url
@shxiq01 commented on GitHub (Jan 29, 2026):
我看到 对应有这个日志
[2026-01-29 06:19:24.190] [Req:cdd9b1f9] [ERROR] [Kiro] API call failed (Status: undefined, Code: ERR_BAD_RESPONSE): stream has been aborted [2026-01-29 06:19:24.190] [Req:cdd9b1f9] [ERROR] [Server] Error during unary processing: AxiosError: stream has been aborted at IncomingMessage.handlerStreamAborted (file:///app/node_modules/axios/lib/adapters/http.js:571:23) at IncomingMessage.emit (node:events:524:28) at IncomingMessage._destroy (node:_http_incoming:221:10) at _destroy (node:internal/streams/destroy:121:10) at IncomingMessage.destroy (node:internal/streams/destroy:83:5) at TLSSocket.socketCloseListener (node:_http_client:464:11) at TLSSocket.emit (node:events:536:35) at node:net:343:12 at Socket.done (node:_tls_wrap:665:7) at Object.onceWrapper (node:events:639:26) at Axios.request (file:///app/node_modules/axios/lib/core/Axios.js:45:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async KiroApiService.callApi (file:///app/src/providers/claude/claude-kiro.js:1338:30) at async KiroApiService.generateContent (file:///app/src/providers/claude/claude-kiro.js:1633:26) at async handleUnaryRequest (file:///app/src/utils/common.js:515:32) at async handleContentGenerationRequest (file:///app/src/utils/common.js:803:9) at async handleAPIRequests (file:///app/src/services/api-manager.js:52:13) at async Server.requestHandler (file:///app/src/handlers/request-handler.js:244:32)@justlovemaki commented on GitHub (Jan 29, 2026):
API call failed (Status: undefined, Code: ERR_BAD_RESPONSE): stream has been aborted。 kiro服务不稳定