When clicking the “Preview Block” button, dify-api pod error Max retries exceeded with url: /gpt-2/encodings/main/vocab.bpe #16408 #11929

Closed
opened 2026-02-21 19:04:48 -05:00 by yindo · 0 comments
Owner

Originally created by @jy951126 on GitHub (Mar 21, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.1.1

Cloud or Self Hosted

Self-hosted

Steps to reproduce

dify-api image version 1.1.1
dify-plugin-daemon image version 0.0.6-local\

deployed by helm with https://github.com/Winson-030/dify-kubernetes/blob/upgrade/dify-version-100/dify-deployment.yaml

i had tried cp tiktoken

----dify-api pod---------

  • name: "TIKTOKEN_CACHE_DIR"
    value: "/app/api/storage/.tiktoken/"

volumes:
- name: dify-api-storage
nfs:
server: 172.168.77.134
path: /srv/nfs/dify-api

volumeMounts:
- name: dify-api-storage
mountPath: /app/api/storage

----dify-plugin-daemeon pod---------

  • name: 'TIKTOKEN_CACHE_DIR'
    value: '/app/storage/.tiktoken/'

volumes:
- name: dify-plugin-daemon-storage
nfs:
server: 172.168.77.134
path: /srv/nfs/dify-plugin

volumeMounts:
- name: dify-plugin-daemon-storage
mountPath: /app/storage


and i am sure .tiktoken exist in /srv/nfs/dify-api and /srv/nfs/dify-plugin
and when i run pod success, .tiktoken exist in dify-api pod's /app/api/storage and dify-plugin-daemon pod's /app/storage

but when i cilick preview block button, it didn't work !!

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @jy951126 on GitHub (Mar 21, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.1.1 ### Cloud or Self Hosted Self-hosted ### Steps to reproduce dify-api image version 1.1.1 dify-plugin-daemon image version 0.0.6-local\ deployed by helm with https://github.com/Winson-030/dify-kubernetes/blob/upgrade/dify-version-100/dify-deployment.yaml i had tried cp tiktoken ----dify-api pod--------- - name: "TIKTOKEN_CACHE_DIR" value: "/app/api/storage/.tiktoken/" volumes: - name: dify-api-storage nfs: server: 172.168.77.134 path: /srv/nfs/dify-api volumeMounts: - name: dify-api-storage mountPath: /app/api/storage --------------------------------------------------- ----dify-plugin-daemeon pod--------- - name: 'TIKTOKEN_CACHE_DIR' value: '/app/storage/.tiktoken/' volumes: - name: dify-plugin-daemon-storage nfs: server: 172.168.77.134 path: /srv/nfs/dify-plugin volumeMounts: - name: dify-plugin-daemon-storage mountPath: /app/storage ------------------------------------------- and i am sure .tiktoken exist in /srv/nfs/dify-api and /srv/nfs/dify-plugin and when i run pod success, .tiktoken exist in dify-api pod's /app/api/storage and dify-plugin-daemon pod's /app/storage but when i cilick preview block button, it didn't work !! ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🤔 cant-reproduce label 2026-02-21 19:04:48 -05:00
yindo closed this issue 2026-02-21 19:04:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11929