CommandCodeAI / CommandCodeAI/command-code

Problem accessing CommandCode from Russia

未关闭
#482 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

描述

Summary

From Russia, whenever I send a request, it just hangs indefinitely. The UI shows 0 tokens used, but in reality, my tokens are being drained. Even using a VPN configured as a proxy doesn't help. The only way I can get it to work is by using TUN mode, and even then, it's completely hit or miss. Specifically, in TUN mode it usually works perfectly for the first 1 to 3 requests, but then it simply dies and goes back to hanging indefinitely. There are no timeout errors or disconnect messages, the terminal just freezes forever while tokens continue to drain in the background.

All other AI services work perfectly, and even if they don’t work in Russia, with a VPN everything works fine.

Image Image Image
Expected Behavior

The application should successfully process requests or return a clear connection error timeout if access from the current region is restricted.

Tokens should not be deducted from the account balance if a request fails to execute or hangs indefinitely.

The application should work reliably when routed through a standard proxy VPN configuration, similar to other AI services.

Actual Behavior

When sending a request from Russia, the application hangs indefinitely without completing the prompt.

Despite the UI showing "0 tokens used", tokens are secretly being drained from the account balance during these hanging requests.

Standard VPN proxy configurations do not resolve the issue; the connection remains blocked or unstable.

The only partial workaround is using a VPN in TUN (Tunneling) mode, but even this method is highly inconsistent and unreliable.

Steps to reproduce the issue

Connect to the internet from Russia.

Enable a VPN in standard Proxy mode.

Note the current token balance on your account.

Send a prompt via the CLI.

Observe the request hanging indefinitely, while the UI displays "0 tokens used".

Check the account balance again and observe that tokens were actually deducted.

Switch the VPN to TUN mode.

Send 1 to 3 prompts (these will execute successfully).

Send another prompt and observe it hang indefinitely again without any timeout error, draining tokens in the background just like in step 5.

Command Code Version

0.34.1

Operating System

Windows

Terminal/IDE

terminal cli

Shell
Additional context

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 prompt flow 使用的 CLI 请求路径开始,并在报告的 proxy 和 TUN 配置下于 Windows 上复现挂起问题。跟踪请求完成、timeout、错误报告和 token 计费;当失败或停滞的请求以明确的错误终止且不扣除 token 时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

领域
cli, networking
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。