mirror of
https://github.com/justlovemaki/AIClient-2-API.git
synced 2026-04-25 01:16:01 +03:00
[GH-ISSUE #345] internal error报错 #242
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#242
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 @fredericky123 on GitHub (Feb 26, 2026).
Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/345
如图报错,应该如何解决哎 用的Gemini CLI OAuth
@fredericky123 commented on GitHub (Feb 26, 2026):
[Antigravity API] Error calling (Status: 500, Code: 500): Internal error encountere
@fredericky123 commented on GitHub (Feb 27, 2026):
[2026-02-27 02:08:18.002] [Req:48af47b0] [ERROR] [Gemini API] Error calling (Status: 500, Code: 500): Internal error encountered.
[2026-02-27 02:08:18.002] [Req::48af47b0] [ERROR] [Server] Error during unary processing: Error: Internal error encountered. at Gaxios._request (/app/node_modules/gaxios/build/cjs/src/gaxios.js:154:23) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async OAuth2Client.requestAsync (/app/node_modules/google-auth-library/build/src/auth/oauth2client.js:463:20) at async GeminiApiService.callApi (file:///app/src/providers/gemini/gemini-core.js:482:25) at async GeminiApiService.generateContent (file:///app/src/providers/gemini/gemini-core.js:667:26) at async handleUnaryRequest (file:///app/src/utils/common.js:661:32) at async handleUnaryRequest (file:///app/src/utils/common.js:759:28) at async handleContentGenerationRequest (file:///app/src/utils/common.js:951:9) at async handleAPIRequests (file:///app/src/services/api-manager.js:39:13) at async Server.requestHandler (file:///app/src/handlers/request-handler.js:262:32)
[2026-02-27 02:08:18.003] [Req::48af47b0] [INFO] [Provider Pool] Marking gemini-cli-oauth as unhealthy due to unary error (status: 500)
[2026-02-27 02:08:19.004] [INFO] [ProviderPoolManager] configs/provider_pools.json updated successfully for types: gemini-cli-oauth
[2026-02-27 02:08:25.512] [Req:127.0.0.1:4fd096d8] [INFO] [Server] Received request: GET http://localhost:3000/health
[2026-02-27 02:08:55.626] [Req:127.0.0.1:11b11e8b] [INFO] [Server] Received request: GET http://localhost:3000/health
@justlovemaki commented on GitHub (Feb 27, 2026):
Gemini CLI 还不支持3.1吧
@fredericky123 commented on GitHub (Feb 27, 2026):
用gemini 3 也是报错
[2026-02-27 03:24:36.964] [Req: [INFO] [Unary Retry] Credential marked unhealthy. Waiting 3496ms before retry 1/1 with different credential...
[2026-02-27 03:24:37.968] [Req:] [INFO] [ProviderPoolManager] configs/provider_pools.json updated successfully for types: gemini-cli-oauth
[2026-02-27 03:24:40.461] [Req:2] [INFO] [ProviderPoolManager] [Concurrency Control] Atomic selection: 9e8dc12a-831f-440e-a292-ed44a647666e (Seq: 52)
[2026-02-27 03:24:40.461] [Req:] [INFO] [Adapter] getServiceAdapter, provider: gemini-cli-oauth, uuid: 9e8dc12a-831f-440e-a292-ed44a647666e
[2026-02-27 03:24:40.461] [Req:9] [INFO] [Unary Retry] Switched to new credential: 9e8dc12a-831f-440e-a292-ed44a647666e (provider: gemini-cli-oauth)
[2026-02-27 03:24:40.461] [Req:] [INFO] [Auth Token] Time until expiry: Token has expired
[2026-02-27 03:24:40.462] [Req:] [INFO] [Gemini] Checking expiry date | Expiry date: 1772160476817, Current time: 1772162680462, 20 minutes from now: 1772163880462, Is near expiry: true
[2026-02-27 03:24:41.082] [Req:9] [ERROR] [Gemini API] Error calling (Status: 500, Code: 500): Internal error encountered.
[2026-02-27 03:24:41.082] [Req:9] [INFO] [Gemini API] Received 500 server error. Retrying in 1000ms... (attempt 1/3)
[2026-02-27 03:24:41.463] [Req:] [INFO] [ProviderPoolManager] configs/provider_pools.json updated successfully for types: gemini-cli-oauth
[2026-02-27 03:24:42.596] [Req:] [ERROR] [Gemini API] Error calling (Status: 500, Code: 500): Internal error encountered.
[2026-02-27 03:24:42.597] [Req:] [INFO] [Gemini API] Received 500 server error. Retrying in 2000ms... (attempt 2/3)
[2026-02-27 03:24:42.994] [Req:127.0.0.1:c38eeabd] [INFO] [Server] Received request: GET http://localhost:3000/health
[2026-02-27 03:24:45.107] [Req:127.0.0.1:c38eeabd] [ERROR] [Gemini API] Error calling (Status: 500, Code: 500): Internal error encountered.
[2026-02-27 03:24:45.107] [Req:127.0.0.1:c38eeabd] [INFO] [Gemini API] Received 500 server error. Retrying in 4000ms... (attempt 3/3)
[2026-02-27 03:24:49.254] [Req:e] [ERROR] [Gemini API] Error calling (Status: 500, Code: 500): Internal error encountered.
[2026-02-27 03:24:49.255] [Req:] [ERROR] [Server] Error during unary processing: Error: Internal error encountered. at Gaxios._request (/app/node_modules/gaxios/build/cjs/src/gaxios.js:154:23) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async OAuth2Client.requestAsync (/app/node_modules/google-auth-library/build/src/auth/oauth2client.js:463:20) at async GeminiApiService.callApi (file:///app/src/providers/gemini/gemini-core.js:482:25) at async GeminiApiService.generateContent (file:///app/src/providers/gemini/gemini-core.js:667:26) at async handleUnaryRequest (file:///app/src/utils/common.js:661:32) at async handleUnaryRequest (file:///app/src/utils/common.js:759:28) at async handleContentGenerationRequest (file:///app/src/utils/common.js:951:9) at async handleAPIRequests (file:///app/src/services/api-manager.js:39:13) at async Server.requestHandler (file:///app/src/handlers/request-handler.js:262:32)
[2026-02-27 03:24:49.255] [Req:] [INFO] [Provider Pool] Marking gemini-cli-oauth as unhealthy due to unary error (status: 500)
[2026-02-27 03:24:50.256] [INFO] [ProviderPoolManager] configs/provider_pools.json updated successfully for types: gemini-cli-oauth