Skip to content

bug: 无法使用,基本都是401,403的错误 #552

@zhujiane

Description

@zhujiane

问题描述

无法使用,基本都是401,403的错误
应该不是ip的问题 ,本地浏览器是可以访问的 ,

复现步骤

对话 ,生图 都不行

版本

最新的main分支

相关日志

2026-05-22 17:45:04.932 | INFO     | app.main:lifespan:109 - application startup: service=grok2api python=3.13.13 platform=Linux
2026-05-22 17:45:04.932 | INFO     | app.main:lifespan:130 - account storage configured: backend=local target=/app/data/accounts.db
2026-05-22 17:45:05.015 | INFO     | app.dataplane.account.sync:bootstrap:86 - account runtime table bootstrapped: revision=5 account_count=4 pool_count=1
2026-05-22 17:45:05.015 | INFO     | app.dataplane.account:bootstrap:53 - account directory ready: size=4
2026-05-22 17:45:05.017 | INFO     | app.control.account.scheduler:start:59 - account refresh scheduler started: basic_interval_s=86400 super_interval_s=7200 heavy_interval_s=7200
2026-05-22 17:45:05.017 | INFO     | app.control.account.runtime:reconcile_refresh_runtime:84 - account refresh runtime reconciled: previous_strategy=random strategy=quota leader=True scheduler_action=started
2026-05-22 17:45:05.017 | INFO     | app.main:lifespan:214 - scheduler leader: pid=13 strategy=quota active_sync_s=3 idle_sync_s=30
2026-05-22 17:45:05.019 | INFO     | app.control.proxy:load:138 - proxy directory loaded: egress_mode=direct clearance_mode=none node_count=0 resource_node_count=0
2026-05-22 17:45:05.020 | INFO     | app.control.proxy.scheduler:start:27 - proxy clearance scheduler started
2026-05-22 17:45:05.020 | INFO     | app.main:lifespan:246 - application startup completed
[INFO] Started worker-1
2026-05-22 17:46:17.902 | ERROR    | app.dataplane.reverse.transport.grpc_web:_do:66 - grpc-web post failed: url=https://accounts.x.ai/auth_mgmt.AuthManagement/SetTosAcceptedVersion status=403 body=<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!
2026-05-22 17:47:14.618 | INFO     | app.products.openai.chat:completions:473 - chat request accepted: model=grok-4.20-auto stream=True message_count=3
2026-05-22 17:57:21.033 | INFO     | app.products.openai.chat:completions:473 - chat request accepted: model=grok-4.20-auto stream=True message_count=1
2026-05-22 17:57:21.653 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:57:21.734 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:57:21.759 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:57:21.882 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:57:41.621 | INFO     | app.products.openai.chat:completions:473 - chat request accepted: model=grok-4.20-fast stream=True message_count=2
2026-05-22 17:57:42.177 | WARNING  | app.products.openai.chat:_run_stream:687 - chat stream upstream failed: attempt=1/2 model=grok-4.20-fast status=403 body=-
2026-05-22 17:58:01.539 | INFO     | app.products.web.admin.tokens:delete_tokens:252 - admin tokens deleted: deleted_count=1
2026-05-22 17:58:03.499 | INFO     | app.products.web.admin.tokens:delete_tokens:252 - admin tokens deleted: deleted_count=1
2026-05-22 17:58:07.033 | INFO     | app.products.web.admin.tokens:delete_tokens:252 - admin tokens deleted: deleted_count=2
2026-05-22 17:59:25.005 | INFO     | app.products.web.admin.tokens:add_tokens:216 - admin tokens added: pool=auto added_count=1 skipped_count=0
2026-05-22 17:59:25.600 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:59:25.603 | INFO     | app.products.web.admin.tokens:add_tokens:226 - admin auto-detect quota sync completed: token_count=1 refreshed=0 failed=1
2026-05-22 17:59:34.029 | INFO     | app.products.web.admin.tokens:delete_tokens:252 - admin tokens deleted: deleted_count=1
2026-05-22 17:59:47.860 | INFO     | app.products.web.admin.tokens:add_tokens:216 - admin tokens added: pool=super added_count=1 skipped_count=0
2026-05-22 17:59:48.402 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:59:48.405 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:59:48.433 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:59:48.450 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:59:48.453 | INFO     | app.products.web.admin.tokens:_refresh_imported:451 - admin import quota sync completed: token_count=1
2026-05-22 17:59:50.646 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:59:50.652 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:59:50.655 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:59:50.662 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:59:53.720 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:59:53.734 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:59:53.751 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403
2026-05-22 17:59:53.754 | WARNING  | app.dataplane.reverse.transport.http:_do:115 - http json post failed: url=https://grok.com/rest/rate-limits status=403

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions