-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
无法访问到one-api #1415
Comments
有个日志:[FATAL] 2024/05/08 - 06:52:41 | [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: server misbehaving] |
那这是为什么呢,我尝试了好几次都是一直报这个,我有仔细看过文档,如果没启动成功的话,添加--privileged=true可以解决吗? 但我看的#482和我报的问题并不一样 |
离线部署这个得后续优化了,确定会处理但是我时间比较紧张 |
例行检查
问题描述
使用docker-compose编排启动后无法访问连接到One-api3001,FastGPT3000却可以访问到,这点很奇怪 ;
我尝试排查端口、防火墙、容器日志并未发现问题;
系统:centOS7.9
其中one-api容器日志如下: 清一色的这种,个人感觉不像是影响访问的问题
FATAL] 2024/05/08 - 06:52:25 | [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: server misbehaving]
[SYS] 2024/05/08 - 06:52:25 | One API v0.6.6-alpha.15 started
[SYS] 2024/05/08 - 06:52:25 | using MySQL as database
[SYS] 2024/05/08 - 06:52:25 | database migration started
[SYS] 2024/05/08 - 06:52:25 | database migrated
[SYS] 2024/05/08 - 06:52:25 | REDIS_CONN_STRING not set, Redis is not enabled
[SYS] 2024/05/08 - 06:52:25 | using theme default
[SYS] 2024/05/08 - 06:52:25 | memory cache enabled
[SYS] 2024/05/08 - 06:52:25 | sync frequency: 600 seconds
[SYS] 2024/05/08 - 06:52:25 | channels synced from database
[SYS] 2024/05/08 - 06:52:25 | batch update enabled with interval 10s
[SYS] 2024/05/08 - 06:52:25 | initializing token encoders
[SYS] 2024/05/08 - 06:52:35 | batch update started
[SYS] 2024/05/08 - 06:52:35 | batch update finished
[FATAL] 2024/05/08 - 06:52:41 | [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: server misbehaving]
[SYS] 2024/05/08 - 06:52:42 | One API v0.6.6-alpha.15 started
[SYS] 2024/05/08 - 06:52:42 | using MySQL as database
[SYS] 2024/05/08 - 06:52:42 | database migration started
[SYS] 2024/05/08 - 06:52:42 | database migrated
[SYS] 2024/05/08 - 06:52:42 | REDIS_CONN_STRING not set, Redis is not enabled
[SYS] 2024/05/08 - 06:52:42 | using theme default
[SYS] 2024/05/08 - 06:52:42 | memory cache enabled
[SYS] 2024/05/08 - 06:52:42 | sync frequency: 600 seconds
[SYS] 2024/05/08 - 06:52:42 | channels synced from database
[SYS] 2024/05/08 - 06:52:42 | batch update enabled with interval 10s
[SYS] 2024/05/08 - 06:52:42 | initializing token encoders
[SYS] 2024/05/08 - 06:52:52 | batch update started
[SYS] 2024/05/08 - 06:52:52 | batch update finished
复现步骤
预期结果
相关截图
The text was updated successfully, but these errors were encountered: