-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
无法获取gpt-3.5-turbo令牌编码器 #906
Comments
+1 |
3 similar comments
+1 |
+1 |
+1 |
咋解决 |
|
同上可解决: one-api docker-compose.yml 对应文件写法如下: oneapi: |
|
我也遇到一样的问题了,跟你一样配置的同样不行,请问你最后如何成功的? |
已解决,新版本需要两个文件 |
这两个文件都是cl100k_base.tiktoken改的么? |
是的,两个文件是一样的,都是tiktoken文件,我这么操作一下就好了,用的最新的镜像 |
问题描述
FATAL] 2024/01/06 - 13:00:39 | [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]
复现步骤
新创建时,使用justsong/one-api v0.5.10 0cefc8164e5c 的docker镜像就会出现这问题
[root@chat logs]# cat oneapi-20240106.log
[SYS] 2024/01/06 - 12:59:57 | One API v0.5.10 started
[SYS] 2024/01/06 - 12:59:57 | using MySQL as database
[SYS] 2024/01/06 - 12:59:57 | database migration started
[SYS] 2024/01/06 - 12:59:57 | database migrated
[SYS] 2024/01/06 - 12:59:57 | SYNC_FREQUENCY not set, Redis is disabled
[SYS] 2024/01/06 - 12:59:57 | initializing token encoders
[FATAL] 2024/01/06 - 13:00:05 | [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/01/06 - 13:00:05 | One API v0.5.10 started
[SYS] 2024/01/06 - 13:00:05 | using MySQL as database
[SYS] 2024/01/06 - 13:00:05 | database migration started
[SYS] 2024/01/06 - 13:00:06 | database migrated
[SYS] 2024/01/06 - 13:00:06 | SYNC_FREQUENCY not set, Redis is disabled
[SYS] 2024/01/06 - 13:00:06 | initializing token encoders
[FATAL] 2024/01/06 - 13:00:18 | [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/01/06 - 13:00:18 | One API v0.5.10 started
[SYS] 2024/01/06 - 13:00:18 | using MySQL as database
[SYS] 2024/01/06 - 13:00:18 | database migration started
[SYS] 2024/01/06 - 13:00:18 | database migrated
[SYS] 2024/01/06 - 13:00:18 | SYNC_FREQUENCY not set, Redis is disabled
[SYS] 2024/01/06 - 13:00:18 | initializing token encoders
[FATAL] 2024/01/06 - 13:00:26 | [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/01/06 - 13:00:27 | One API v0.5.10 started
[SYS] 2024/01/06 - 13:00:27 | using MySQL as database
[SYS] 2024/01/06 - 13:00:27 | database migration started
[SYS] 2024/01/06 - 13:00:27 | database migrated
[SYS] 2024/01/06 - 13:00:27 | SYNC_FREQUENCY not set, Redis is disabled
[SYS] 2024/01/06 - 13:00:27 | initializing token encoders
[FATAL] 2024/01/06 - 13:00:39 | [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/01/06 - 13:00:40 | One API v0.5.10 started
[SYS] 2024/01/06 - 13:00:40 | using MySQL as database
[SYS] 2024/01/06 - 13:00:40 | database migration started
[SYS] 2024/01/06 - 13:00:40 | database migrated
[SYS] 2024/01/06 - 13:00:40 | SYNC_FREQUENCY not set, Redis is disabled
[SYS] 2024/01/06 - 13:00:40 | initializing token encoders
[FATAL] 2024/01/06 - 13:00:48 | [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]
The text was updated successfully, but these errors were encountered: