CommandCodeAI / CommandCodeAI/command-code

Problem accessing CommandCode from Russia

Aperta
#482 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Nessun dato sulla lingua
Stelle
4k
Fork
350
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia dal percorso delle richieste CLI utilizzato dal flusso dei prompt e riproduci il blocco su Windows con le configurazioni proxy e TUN segnalate. Traccia il completamento delle richieste, il timeout e la segnalazione degli errori, nonché il conteggio dei token; il lavoro è completo quando le richieste fallite o bloccate terminano con un errore chiaro e non detraggono token.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
cli, networking
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.