Someone install success in China mainland?

Aperta
#1,680 11 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
docker, docker-compose

Direzione di ricerca

Start by reproducing the installation flow that requests OpenAI at api.openai.com and downloads docker/docker-compose.yaml from raw.githubusercontent.com. Compare behavior with and without the VPN, then determine whether the timeout handling or download path needs improvement. Done means installation succeeds or reports a clear, actionable network failure in mainland China.

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

Descrizione

bug

select openai:
INFO Preparing project directory
INFO Platform: linux/arm64
INFO Use Experimental Rust Engine: true

WARNING We highly recommend using OpenAI models with Wren AI, especially the latest models.
WARNING These models have been extensively tested to ensure optimal performance and compatibility.
WARNING While it is technically possible to integrate other AI models, please note that they have not been fully tested with our system.
WARNING Therefore, using alternative models is at your own risk and may result in unexpected behavior or suboptimal performance.

Please provide the LLM provider you want to use
You can learn more about how to set up custom LLMs at https://docs.getwren.ai/oss/ai_service/guide/custom_llm#running-wren-ai-with-your-custom-llm-or-document-store
✔ OpenAI

Please provide your OpenAI API key
Please use the key with full permission, more details at https://help.openai.com/en/articles/8867743-assign-api-key-permissions

ERROR Invalid API key Post "https://api.openai.com/v1/chat/completions": dial tcp 104.244.46.93:443: i/o timeout

Opend VPN,web browse can open url: “https://api.openai.com/v1/chat/completions"

select:Custom
Wren AI relies on anonymous usage statistics to continuously improve.
You can opt out of sharing these statistics by manually adding flag --disable-telemetry as described at https://docs.getwren.ai/oss/overview/telemetry
INFO Checking if Docker daemon is running
INFO Downloading docker-compose file and env file
INFO Checking if port 3000 is available
INFO Checking if port 3001 is available
INFO Checking if port 5555 is available
INFO Checking if port 5556 is available
INFO Downloading docker-compose file to /Users/jiangxingfu/.wrenai/docker-compose.yaml
ERROR An error occurred: Get "https://raw.githubusercontent.com/Canner/WrenAI/0.22.2/docker/docker-compose.yaml": net/http: TLS handshake timeout

Opend VPN, web browse can open url “https://raw.githubusercontent.com/Canner/WrenAI/0.22.2/docker/docker-compose.yaml"

Lingua principale
Python
Stelle
17.8k
Fork
2k
Merge medio
5g 5h
PR unite (30g)
21

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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.

Altre issue di Canner/WrenAI

Tutte le issue di Canner/WrenAI

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.