songquanpeng / one-api

OpenAI 接口管理 & 分发系统,支持 Azure、Anthropic Claude、Google PaLM 2 & Gemini、智谱 ChatGLM、百度文心一言、讯飞星火认知、阿里通义千问、360 智脑以及腾讯混元,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用. OpenAI key management & redistribution system, using a single API for all LLMs, and features an English UI.
https://openai.justsong.cn/
MIT License
16k stars 3.71k forks source link

docker版本dns解析超时 #1492

Closed huge1376 closed 6 days ago

huge1376 commented 1 month ago

例行检查 image

问题描述 第一次pull镜像后启动发现一直重启,检查日志发现如下报错 [FATAL] 2024/05/30 - 16:27:50 | [failed to get gpt-3.5-turbo token encoder: Get "https://openaipublic.blob.core.windows.net/encodings/cl100k_base.tiktoken": dial tcp: lookup openaipublic.blob.core.windows.net on 127.0.0.11:53: read udp 127.0.0.1:32876->127.0.0.11:53: i/o timeout] 通过已有的Issue配置docker-compose的yml文件如下: oneapi: container_name: oneapi image: ghcr.io/songquanpeng/one-api:v0.6.6 ports:

weixiewen commented 4 weeks ago

/tmp/data-gym-cache 目录下cl100k_base.tiktoken 9b5ad71b2ce5302211f9c61530b329a4922fc6a4
o200k_base.tiktoken fb374d419588a4632f3f557e76b4b70aebbca790