mirror of
https://github.com/langgenius/dify.git
synced 2026-08-25 11:59:42 -04:00
Unable to configure the API #8838
Closed
opened 2026-02-21 18:27:59 -05:00 by yindo
·
59 comments
No Branch/Tag Specified
main
sim117
build/appdeploy-file-grant
cleanup/test-config-attributes-controller-final
cleanup/test-config-attributes-core-services
cleanup/test-config-attributes-account-feature
cleanup/test-config-attributes-controller-storage
laipz8200/adapt-graphon-engine-architecture
deploy/konwledge
deploy/dev
feat/creator-profile-home
user_access_policy_pagnination
feat/agents-ampltitud
deploy/saas
cherry-pick-graphon93-lts-1.13.x
fix/webapp-no-stop-on-conversation-switch
snp-719-gmail-email-normalization
test/webapp-login
lts/1.13.x
stack/integration-tests-13-node-output
stack/integration-tests-14-workflow-archiver
stack/integration-tests-11-message-cleanup
stack/integration-tests-12-draft-variables
stack/integration-tests-08-api-token-redis
stack/integration-tests-09-plugin-lifecycle
stack/integration-tests-10-container-boundaries
stack/integration-tests-07-duplicate-coverage
stack/integration-tests-05-model-tools
stack/integration-tests-06-parameter-extractor
stack/integration-tests-03-response-filter
stack/integration-tests-04-code-node
refactor/console-billing-compliance
feat/appdeploy-file-grant
feat/app-multi-env-v2-chatflow-support
build/skills-ui-wta
deploy/agent
build/staging-1.16.1-fix.12
hotfix/1.16.1-fix.12
build/snp682-groups-9347c0750d
song/snp-682-ip-allowlist
zhaohao1004/dify-agent-docker-benchmark
dependabot/uv/api/google-5b99edf8f9
feat/dify-builder
dependabot/uv/api/vdb-565409f261
dependabot/uv/api/database-cf6e6d5e5f
dependabot/uv/api/opentelemetry-b8005594e1
dependabot/uv/api/lts/1.13.x/dev-4957ee5039
dependabot/uv/api/lts/1.13.x/python-packages-77b02bc26f
dependabot/github_actions/lts/1.13.x/github-actions-dependencies-f4736e409f
dependabot/uv/api/llm-46e0cee538
dependabot/uv/api/lts/1.13.x/storage-4310e8b8d8
dependabot/uv/api/lts/1.13.x/llm-d8eafae200
dependabot/uv/api/lts/1.13.x/google-cea0a9e1dd
dependabot/uv/api/lts/1.13.x/flask-1086fc46af
dependabot/uv/api/lts/1.13.x/database-c0fba9b420
dependabot/uv/api/lts/1.13.x/pydantic-c1392376de
deploy/agent-home-snapshot
copilot/remove-slider-component
copilot/remove-slider-component-again
copilot/remove-slider-component-another-one
build/staging-1.16.1-fix.11
release/e-1.16.1
fix/depot-playwright-runtime
hotfix/1.16.1-fix.11
feat/enterprise-home-snapshot-adapter
deploy/enterprise
fix/37988-protect-rbac-control-plane
feat/shellctl-snapshot-endpoints
build/clean-tidb-collections
build/staging-1.16.1-fix.10
hotfix/1.16.1-fix.10
refactor/telemetry-typed-events
agent/playwright-e2e-install-timeout
fix/remove-only-me-resource-access
codex/fix-research-import-latency
laipz8200/completion-workflow-entry
laipz8200/workflow-persistence-mixed-mode
laipz8200/allow-human-input-in-containers
build/staging-1.16.1-fix.8
build/staging-1.16.1-fix.9
hotfix/1.16.1-fix.9
feat/hitl-im-dev
feat/marketplace-homepage-redesign
hotfix/1.16.1-fix.8
copilot/fix-github-actions-build-job
fix/40106-reject-ownerless-pending-imports
codex/icon-button-web-shared
build/fix-multiple-retrieve-fail-fast
hotfix/1.16.1-fix.7
build/community-app-deploy-permission
hotfix/1.16.1-fix.7-to-merge
gh-readonly-queue/main/pr-40490-c1e94f8ee7a6c571209b0d415d22ce6b2d1d8d3e
codex/fix-knowledge-upload-migrations
hotfix/1.16.1-fix.6
hotfix/1.16.1-fix.5
feat/workflow-copilot
hotfix/1.16.1-fix.4
agent/backport-40403-hotfix-1.16.1-fix.4
backport/pr-40403-to-1.16.1
feat/marketplace-homepage-redesign-deploy-dev
demo/byoa-local-codex
codex/refactor-webapp-code-fields
codex/refactor-mcp-header-icons
codex/a11y-human-input-content-toggle
codex/cleanup-credential-icon-component
codex/refactor-citation-component-type
codex/refactor-tool-detail-icons
codex/a11y-citation-more-button
codex/a11y-citation-measurement-tree
codex/refactor-version-filter-icon
codex/refactor-plugin-type-icons
codex/refactor-pdf-preview-icons
codex/refactor-chat-history-header-icons
codex/refactor-chat-settings-icons
codex/refactor-assigner-panel-component
codex/refactor-assigner-add-icon
codex/refactor-chat-variable-panel-icons
codex/refactor-prompt-generator-component
codex/refactor-prompt-generator-icon
codex/refactor-code-generator-component
codex/refactor-code-generator-icon
codex/refactor-human-input-preview-component
codex/refactor-external-retrieval-component
codex/refactor-external-retrieval-close-icon
codex/refactor-external-api-modal-component
codex/refactor-external-api-modal-icons
codex/refactor-external-api-panel-component
codex/refactor-external-api-panel-icons
codex/refactor-external-api-card-component
codex/refactor-external-api-card-icons
codex/test-external-api-card-actions
codex/refactor-human-input-action-component
codex/refactor-human-input-delete-icon
codex/refactor-variable-inspect-panel-component
codex/refactor-variable-inspect-close-icon
codex/refactor-agent-log-navigation-icon
codex/refactor-image-previewer-css-icons
codex/refactor-generated-result-component
codex/refactor-generated-result-css-icon
codex/refactor-annotation-control-component
codex/a11y-chat-header-actions
codex/a11y-plugin-credential-coverage-tests
codex/a11y-plugin-credential-action-tests
codex/a11y-plugin-credential-actions
codex/a11y-plugin-item-action-tests
codex/a11y-embedded-chat-settings-trigger
codex/a11y-tool-provider-card
codex/a11y-chat-history-settings-trigger
codex/refactor-tab-filter-story-icons
codex/refactor-tab-filter-component
codex/refactor-signup-email-field
codex/refactor-webapp-auth-test-mocks
codex/test-collaboration-loading-status
codex/test-plugin-loading-status
codex/test-notion-loading-status
codex/a11y-dataset-menu-item-button
codex/refactor-dataset-menu-item
codex/refactor-scroll-to-selected-node-action
codex/refactor-member-search-input
codex/refactor-member-selector-component
codex/a11y-chat-dropdown-name
dependabot/uv/api/pypdf-6.15.0
dependabot/uv/dify-agent/pypdf-6.15.0
build/env-webapp-url
codex/integrations-intent-prefetch
backport/pr-40402-to-1.16.1
dependabot/uv/api/h2-4.4.1
dependabot/uv/dify-agent/h2-4.4.1
feat/saas-integrations-initial-load-performance
linw/snp-620-per-purpose-file-storage
dependabot/uv/api/lts/1.13.x/vdb-72526f7860
hotfix/1.16.1-fix.3
laipz8200/hotfix-1.16.1-fix.3
copilot/dify-checklist-implementation
copilot/dify-ui-vitest-visual-test
copilot/system-features-bootstrap-component-logic
copilot/update-toast-api
hotfix/1.16.1-fix.2
codex/deprecate-sys-files-compat
hotfix/e-1.15.0
release/ee-1.15.0-hotfix
hotfix/1.16.1-fix.1
song/snp-559-workflow-run-pauseresume-in-rolling-update
zhaohao1004/revert-dify-agent-config-materialization
hotfix/1.16.1-fix.0
feat/saas-home-initial-load-performance
zhaohao1004/fix-dify-agent-e2b-shellctl-retry
build/multi-environment-webapp-fix
feat/multi-environment-webapp
linw/hitl-im-dev
linw/isolate-from-local-packages
fix/39733-agent-file-domain-main
build/app-multi-env-mcp-server-refresh
copilot/investigate-issue-39733
build/sample-tidb
build/appdeploy-v2
feat/appdeploy-webapp-channel
linw/snp-586-workflow-run-sse-with-wrong-500-status
yanli/e2b-s3-agent-environment-backend
codex/upgrade-openapi-ts-autofix
codex/fix-skill-autosave-conflict
refactor/cli-release-script-layering
fix/step-tour-focus-containment
build/esq1-190
perf/optimize-markdown-renderer
codex/ssr-detail-sidebar-cookie
codex/defer-permission-query-until-workspace-ready
hotfix/1.15.0-fix.17
feat/cookieyes-ga
feat/marketplace-homepage-hero
feat/gen-ui
hotfix/1.15.0-fix.16
copilot/console-api-dispatch-version
0721-happy-path-smoke
feat/add-ce-telemetry
build/test-annotation
codex/migrate-knowledge-fs
copilot/fix-security-issue
release/e-1.11.4
hotfix/cus-1422-enterprise-api-timeout
feat/fix-undefined-answer-preview
hotfix/1.15.0-fix.15
hotfix/1.15.0-fix.14
deploy/workflow-archive-catalog-discovery
0717-knowledge-fs-contract
feat/secret-scrub-persistence
feat/llm-ft-timeout
feat/appdeploy-selected-workflow-dsl
0715-new-rag
hotfix/1.15.0-fix.12
hotfix/1.15.0-fix.12-cherrypick
hotfix/1.15.0-fix.13
build/invite-seats-precheck
hotfix/1.15.0-fix.11
hotfix/1.15.0-fix.10
zhangxin/eng-558-licensed-seats-1.15
fix/wta-1307-effect-suspense-read
feat/cli-skills-agents
0713-vp-lint
fix/agent-roster-answer-completion-main
feat/pay-by-invoice
codex/run-external-e2e-main-ci
agent/remove-sandbox-bind-mounts
feat/agent-v2-e2e-test
hotfix/1.15.0-fix.9
hotfix/1.15.0-fix.8
build/test-archive-export
linw/restore-agent-message-delta-feat
hotfix/1.15.0-fix.7
hotfix/1.15.0-fix.6
codex/pr-38227-session-types
codex/pr-38227-session-scope-split
fix/ui-fix
hotfix/1.15.0-fix.4
codex/review-pr-38480
hotfix/1.15.0-fix.2
copilot/fix-web-full-stack-e2e-job
fix/dify-2738-agent-node-dsl-export
hotfix/1.15.0-fix.3
laipz8200/scope-segment-route-lookup
chore/i18n-sync-7b7956f3e7ca-e901a65a
codex/upgrade-orpc-v2-beta
hotfix/1.15.0-fix.1
codex/upgrade-next-16-3-preview
hotfix/1.15.0-fix.0
hotfix/web-detail-adjustment-before-release
release/e-1.15.0
codex/replace-lamejs-with-mediabunny
copilot/add-more-tests
deploy/archive-db-resilience
fix/studio-nav-home-button
hotfix/1.14.2-fix.13
worktree-token-expired-error-code
hotfix-1.14.2-fix.12
codex/agent-v2-state-graph
codex/refactor-deployment-detail-components
hotfix/1.14.2-fix.12
build/fix/workflow-error-hanging
work/dify-2585-agent-drafts-pr
fix/dify-2574-soul-files-kv
fix/dify-2554-debug-conversation-per-user
hotfix/1.14.2-fix.11
test/cli-e2e-error-body-contract
build/optimize-clean-messages-eligible-apps
zhaohao1004/optimize-clean-messages-cursor
gh-readonly-queue/main/pr-37592-c71f03f5902031b7c02e61af3aff5c2dee6f7d85
build/optimize-clean-messages-cursor
feat/country
codex/vp-fmt-migration
hotfix/1.14.2-fix.10
hotfix/1.14.2-fix.9
hotfix/1.14.2-fix.8
hotfix/1.14.2-fix.7
hotfix/1.14.2-fix.6
codex/page-title-updates
feat/agent-mention-stable-ids
fix/guard-workspace-with-defualt-roles
build/pr-37227-free-plan-workflow-run-cleanup
feat/cli-e2e-test-suite
feat/ui-start-node
feat/hitl-file-in-body
copilot/dify-team-question-agent-node
fix/wta-438-device-sso-redirect-origin
hotfix/1.14.2-fix.5
feat/dev-snippet-fronted
feat/mcp-token-transfer
chore/keep-info-icon-the-same-postion
codex/local-app-list-tag-filter
feat/snippet-new
hotfix/1.14.2-fix.4
codex/migrate-var-reference-combobox
hotfix/1.14.2-fix.3
feat/marketplace-template
chore/deploy-saas-workflow
hotfix/1.14.2-fix.2
build/cli
codex/snp-406-pointer-position-ref
hotfix/1.14.1-fix.3
build/feat/model-type-migration-script
fix/webapp-disabled-not-jump-to-webapp-login
fix/lb-model-type-dedup
song/eng-379-file-output-check-executor
fix/tag-trigger-preserve-case
fix/model-type-enum-construction
refactor/add-missing-override-decorator
work/web-mcp-1.14.1
copilot/check-runtime-limits
laipz8200/workflow-response-stream-filter
copilot/query-issues-pr-images
laipz8200/fix-autofix-contract-generation
copilot/fix-autofix-job-failure
codex/fix-scrolling-issue-with-overflow-visible
copilot/research-retrieval-attachment-consumption
copilot/research-agent-node-implementation
chore/upgrade-xyflow-v12
hotfix/1.14.1-fix.1
build/1.14.1-fix.1-langfuse
hotfix/1.14.1-fix.2
feat/lts-lazy-dialogue-count
fix/can-not-create-knowledge
codex/fix-marketplace-hero-shake
codex/tag-name-url-filter
upgrade-graphon-to-0-3-0
codex/app-delete-enter-confirm
codex/revert-pr-35708
chore/remove-dify-deploy-script
chore/simpler-deploy
lts/1.13.x-fix-35910
feat/storage-path-prefix
hotfix/1.13.3-fix10
hotfix/1.13.3-fix9
hotfix/1.14.0-fix.4
hotfix/1.14.0-fix.3
hotfix/1.14.0-fix.2
revert-35748-4-30-open-api
feat/upgrade-graphon
copilot/research-celery-task-ttl
hotfix/1.14.0-fix.1
copilot/fix-css-issue
feat/s3-public-base-url
hotfix/1.13.3-fix8
build/depot-speed-benchmark-20260426
build/depot-speed-benchmark-20260426-warm
hotfix/1.13.3-fix7
feat/evaluation
fix/workflow-line
chore/dependency-upgrade
deploy/zhaohao
feat/replayable-stream
feat/show-the-hierarchy-in-phonenix-trace
p363-reviewed
build/billing-v3
copilot/list-contributions-to-dify
cursor/migrate-tooltip-to-popover-infotips
refactor/quota-service
feat/new-biliing-quota
hotfix/1.13.3-fix6
cursor/dify-ui-infra
p363-hjlarry
cursor/refactor-select-trigger-api
chore/lts-13x-bump-deps
codex/tighten-button-tone-types
locate-queue-autocreate-deps
hotfix/1.13.3-fix5
feat/new-agent-node
hotfix/1.13.3-fix4
feat/per-db-credential
chore/i18n-sync-208604a3a819-9220dd74
chore/i18n-sync-1b369cede4b4-0e13ce3f
chore/i18n-sync-c93e40212e4c-0e13ce3f
codex/fix-vite-audit-in-sdk-test
copilot/fix-agent-dialogue-input-limit
codex/dify-ui-package-migration
4-2-no-global-loading
fix/ps-not-send
3-18-no-global-loading
feat/support-agent-sandbox
hotfix/1.13.3-fix3
hotfix/1.13.3-fix2
4-1-unocss
build/feat/saas-quota-v4
feat/remove-unused-is-deleted-from-conversation
codex-add-podman-compose-dev-scripts
fix-partnerstack-cookie-sync
hotfix/1.13.3-fix1
3-31-vite-task-cache
test/add-test-case-for-prompt-editor
build/feat/saas-quota
build/feat/saas-quota-v2
deploy/agent-dev
yanli/fix-iter-log
review-myscale-sqli
codex/force-node24-for-actions
ci/docker-build-narrowing
chore/dependabot-alert-to-bot
verify-email-reset-flow
3-26-cache-lint-for-autofix
gh-readonly-queue/main/pr-34120-2cbcf9518e40104286a3034f3c3c688cd4ff9fbf
gh-readonly-queue/main/pr-34123-1c72b8d9db03b93b3fc7f86bc522e53806f5a8f0
gh-readonly-queue/main/pr-33960-38285aa1ac6de98614456f49b4d834fe503f4e58
p383
yanli/phase3-code-scope
test/workflow-app
codex/migrate-old-toast-calls-and-update-translations
hotfix/1.13.2-fix2
focal-quokka
codex/fix-issue-33422-in-repository
hotfix/1.13.2-fix1
copilot/refactor-test-config-leak-fix
build/release-1.13.2
fix-kpa-issue
build/release-1.13.1-rc.3
3-18-dev-with-http2
build/release-1.13.1-rc.2
3-16-revert-changes
3-16-add-csp
build/release-1.13.1-rc.1
feat/source-for-plugin-tasks
3-16-next-lib
revert-33484-dependabot/pip/api/python-packages-2eba66ec58
move-trigger-nodes
copilot/refactor-test-config-leak-detection
fix/enterprise-api-error-handling
release/e-1.12.1
fix/vinext-deps
yanli/docx-image-render
copilot/analyze-dify-code
deploy/clean-task-trace
copilot/sub-pr-33044
3-6-type-check
feat/model-provider-refactor
copilot/refactor-unnecessary-cast-call
build/export-app-messages
1.12.1-otel-ee
hotfix/1.13.0-fix.4
update-checker
test/ui-primitive-wrapper-tests-pr
hotfix/1.13.0-fix.3
refactor/base-comp
deploy/memory-usage
hotfix/1.13.0-fix.2
hotfix/1.13.0-fix.1
build/sandbox-clean-job-260302-1
build/sandbox-clean-job
fix/otel-upgrade-e-1.12.1
build/optimize-workflow-run-cleanup
move-core-prompt-runtime
hotfix/1.12.1-fix.6
copilot/remove-pm2-from-docker
move-token-buffer-memory
32589-main-repo
fix/access-mode-sso-verified
refactor/remove-workspace-mutate-from-context
2-11-fix-lint
feat/plugins-marketplace-ssr-prefetch-loading
build/message-clean-performance-log
refactor/template-transform-node
hotfix/1.12.1-fix.5
2-9-stable-test-2
pre-align-hitl-frontend
fix/preserve-UNC-paths-in-conversation-opner
hotfix/1.12.1-fix.4
hotfix/1.12.1-fix.3
feat/add-update-all-plugin-button
refactor/share
hotfix/1.12.1-fix.2
test/inprove-quality
feat/add_templates
hotfix/1.12.1-fix.1
fix/ee-1511-set-default-provider-user-id-bug
copilot/fix-pnpm-test
hotfix/1.12.1-fix.0
feat/vibe-wf
fix/fix-test
fix/console_ns_import
release/1.12.1
fix/workflow-sync-draft
refactor/ssr-prefetch-zustand-removal
1-24-kubb-generate
refactor/migrate-react-window-to-tanstack-virtual
fix/input-ime-onpressenter
1-30-fix-failed-test
feat/structured-output-with-sandbox
yanli/init-ty
hotfix/1.11.4-fix.4
fix/trigger-plugin-output
fix/parallel-generation-render
refactor/configuration
yanli/add-opaque-body
build/billing-refactor-test-2026012701
refactor/debug-and-preview-store
refactor/tools-workflow
build/debug-billing-refactor
build/billing-service
build-billing-service
feat/add-agentation
refactor/app-components
build/collaboration
copilot/sub-pr-31424
refactor/local-storage
refactor/skill-bundler
hotfix/1.11.4-fix.3
build/archive-workflow-run
feat/pull-a-variable
hotfix/1.11.4-fix.2
copilot/sub-pr-30849
hotfix/1.11.4-fix.1
1-21-test-window-is-not-defined
revert-30727-feat/model-total-credits
copilot/sub-pr-31283
zhsama/multi-turn-popup
zhsama/panel-var-popup
12-19-demo-for-app-store
refactor/migrate-app-detail-to-tanstack-query
build/clear-message
feat/credential-sync-fix-ee
feat/llm-first-token-timeout
zhsama/assemble-var-input
release/e-1.11.2
feature/task-quadrant-view
zhsama/llm-warning-ui
build/clear-workflow-run
zhsama/agent-at-nodes
build/1.11.4
release/e-1.6.0-fix.1
release/e-0.15.8-fix.1
1-14-remove-web-app-access-token
refactor/plugins-detail
fix/reset-dev
feat/llm-support-tools
feat/knowledge-summary-index
fix/preact-security-vulnerability
copilot/fix-clear-query-params-test
refactor/query-params-nuqs
chore/upgrade-pnpm-10.28.0
8c92-update-api-core
detached
chore/i18n-sync-20260107-104636
chore/i18n-sync-20260107-102654
feat/grouping-branching
feat/agent-node-v2
hotfix/1.11.2-fix.3
feat/llm-node-support-tools
refactor/remove-axios-dependency
refactor/web-service-hooks
fix/pwa-plugin-migration
chore/refactor-text-generation
hotfix/1.11.2-fix.2
release/e-1.11.1
release/e-1.9.2
release/e-1.8.2
hotfix/1.11.2-hotfix-1
refactor/chat-messages-service-api
fix/knowledge-retrieval-node-affected-by-past-version
fix/esbuild-dependabot-145
chore/automated-i18n-updates-02e0fadef78f0c888b79e7a52ae6714ac73effdc
chore/automated-i18n-updates-eb73f9a9b9fc9eee6be786d2bf5f41fc77e240c4
hotfix/1.11.1-2
refactor-text-generate-item
feat/end-user-oauth
feat/add-qdrant-to-tidb-migration
codex/run-pnpm-lint-fix-and-commit-changes
feat/document-test
feat/e2e-testing
deploy/trigger-dev
hotfix/1.11.1-1
e-260
refactor/use-log-react-query
feat/fallback-interface-for-unauthorized-datasource-node
hotfix/1.10.1-fix.4
refactor/app/components/app/text-generate/item/index.tsx-and-add-test
release/e-1.6.0
hotfix/1.10.1-fix.3
hotfix/1.10.1-fix.2
feat/tracking-1203
deploy/end-user-oauth
hotfix/1.10.1-fix.1
refactor/marketplace-react-query
feat/detect-cognitive-complexity
fix/codeowners
fix/httpx_timeout_parameters
feat/end-user-auth-dummy-apis
chore/re-point-doc-urls
fix/share-markdown-xss
feat/data-tracking
feat/memory-orchestration-be
build/trigger-billing
chore/remove-docker-legacy-dir
copilot/reverse-engineer-dify-application
feat/amplitude
feat/trigger-saas
mysql-adapt
test/build-diff-edition
feat/no-root-image
feat/trigger
feat/ga-tracking
feat/collaboration
mysql-adaptation
feat/sqlalchemy-type-annotations
build/trigger-1
build/self-tenant-queue
mcp-conditional-capability
fix/mcp-capability
hotfix/1.9.2-fix.3
hotfix/1.9.2-fix.2
feat/iteration-node
hotfix/1.9.2-fix.1
hotfix/1.9.1-fix.1
e1ca7a9bdb0443b9f027b6de16
fix/login-status
feat/gtag-1016
test/monaco-editor-and-remix-icon-upgrade
copilot/fix-ce7a9189-f70c-4ea9-81ba-3f49303104d6
feat/memory-orchestration-be-dev-env
build/trigger
feat/add-knowledge-pipeline-template-command
chore/workflow-performance
copilot/fix-fc039c44-aa24-4844-82b2-e9ac237a13e9
test/log-refactor
chore/ssrf-config
feat/pinecone-vdb
copilot/fix-d8c5989d-5a30-418f-8dc4-099cf1f37218
deploy/rag-dev
hotfix/1.9.0-fix.2
pinecone
fix/document-query
feat/trigger_backup
feat/playwright-integration
feat/trigger_merging
feat/chunk-deduplication
feat/crendential-policy-default-check
feat/credential-policy
release/e-1.8.1
fix/template-list
feat/end_user
feat/trigger-fe
revert-25628-refactor-24421-app-datasets-part1
fix/plugin-tag-fallback
fix/unselect-credential
feat/limit-conv-var-desc-length
feat/rag-pipeline-service-api
fix/empty-plugin-list
feat/plugin-readme
feat/plugin-readme-fe
feat/container-node-extract-mapping
bug1
fix/model-credential
feat/big-var-value-show-fe
build/1.7.2-fix.2
release/e-1.7.2
build/boolean-type
feat/oauth-provider-fe
build/0.7.2-fix.1
feat/model-credentials
feat/model-auth
feat/rag-2-preview
release/e-1.7.1
fix/hotfix-tool-provider-deadlock
feat/knowledge-pipeline-access-control
config-tool-file-size
13604-when-using-redis-cluster-for-caching-add-global_prefix-to-all-keys-cached-by-redis
feat/model-credentils
build/oauth
feat/oauth
feat/human-input
build/plugin-auto-upgrade
test/performance
feat/tool-plugin-oauth
feat/tool-oauth
temp-feat-owner-transfer-enterprise-frontend
release/e-3.0.2
feat/plugin-auto-upgrade-fe
chore/offline-the-sys-files
feat/rag-pipeline
feat/r2
release/e-3.2.0
wtw/rag-pipeline
feat/add-retrival-field-in-dataset
feat/webapp-verified-sso-main
fix/app-not-published-error
feat/webapp-verified-sso-260
v141-hotfix
fix/20326-tool-invoke-error-instance-account
fix/19933-account-object-has-no-attribute-_current_tenant-when-workflow-uses-workflow-as-tool-node
hotfix/0519
fix/e-legacy-clean-up
fix/admin-permission
fix/e-admin-permission
feat/model-memory
feat/webapp-auth-api
1.0.0-fix
revert-17133-fix/i16990-text-to-language-settings
e-0156
hotfix/translation-fix
fix/slider-style-error
e-0154
release/0.15.6-alpha-1
cohere/cleanup-free-tenants-logs
chore/auto-dify
fix/rag-infinity-spaces-loop
fix/dataset-admin
fix/expose-debugging-port
fix/tool-info
fix/aws-s3-r2-compatible
feat/knowledge-metabase
fix/fail-branch-stream-output-error
release/0.15.3-fix1
feat/14009-feature-request-support-for-retrieving-historical-conversations-without-from-enduser-id
feat/upgrade-unstructured-version-10.2
feat/classnames-sort
feat/upgrade-unstructured-version
fix/version-check
fix/handle-agent-none-value
fix/agent-params-pasring
fix/agent-parallel
feat/knowledge-dark-mode
feat/custom-tool-input
release/0.15.2-fix1
0.15.1-admin-apis
feat/support-docx-image-view
feat/agent-stream-output
feat/workflow-node-dark-mode
fix/switch-strategy-clean-param
fix/chore-fix
opik-monitoring
provider-gpustack
feat/mecab-japanese-keywords
feat/retry-single-step-debug
revert-12086-feat/parent-child-retrieval
fix/remove-the-retry-index-field
fix/11839
feat/node-execution-retry
feat/support-extractor-tools-update-wip
feat/update-tidb-batchget-endpoint
fix/iteration-thread-pool-error
feat/support-multi-token-count
feat/parent-child-retrieval-api
fix/app-icon-is-missing
feat/support-extractor-tools-update
test/disable_site
build/add-dependabot
feat/support-extractor-tools
fix/docx-extract-image-ssrf
fix/redis-slow-in-gevent
fix/9772-internal-server-error-when-custom-disclaimer-longer-than-64-characters
alert-autofix-89
build/eslint-react-refresh-plugin
build/switch-to-pnpm
revert-9424-feat/update-dataset-clean-rule
fix/external-knowledge-retrieval-issues
feat/login-type-coontrol
feat/external-knowledge-api
feat/rag-external-knowledge-with-api
feat/external-knowledge
fix/notion-table-extract
fix/tooltip
feat/workflow-add-block-shortcut
feat/update-docs
fix/note-node-zoom-issue
fix/model-runtime-quato-issue
fix/db-lock-timeout
feat/new-tooltip
feat/web-app-sso
chore/optimize-app-workflow-deletion-slow-sql
fix/trace_app_config_app_id_idx
fix/extra-table-tracing-app-config
feat/update-beat-job-time-to-env
fix/index-estimate-error
chore/enterprise-license-status
fix/remove-tsne_position
feat/2p
feat/aws-iam-auth-check
feat/add-flashrank
feat/support-milvus-2.4
feat/add-resource-from-tools
bai
1.17.0
1.16.1
1.16.0
1.16.0-rc1
1.15.0
1.14.2
1.14.1
1.14.0
1.13.3
1.13.2
1.13.1
1.14.0-rc1
1.13.0
1.12.1
1.12.0
1.11.4
1.11.3
1.11.2
1.11.1
1.11.0
1.10.1-fix.1
1.10.1
1.10.0
1.10.0-rc1
1.9.2
1.9.1
1.9.0
2.0.0-beta.2
2.0.0-beta.1
1.8.1
1.8.0
1.7.2
1.7.1
1.7.0
1.6.0
1.5.1
1.5.0
1.4.3
1.4.2
0.15.8
1.4.1
1.4.0
1.3.1
0.15.7
1.3.0
0.15.6
1.2.0
0.15.6-alpha.1
1.1.3
0.15.5
1.1.2
0.15.4
1.1.1
1.1.0
1.0.1
1.0.0
0.15.3
0.15.2
0.15.1
1.0.0-beta.1
0.15.0
0.14.2
v0.8.3-fix1
0.14.1
0.14.0
0.13.2
0.13.1
0.13.0
0.12.1
0.12.0
0.11.2
0.11.1
0.10.2-fix1
0.11.0
0.10.2
0.10.1
0.10.0
0.10.0-beta3
0.9.2
0.9.1-fix1
0.10.0-beta2
0.10.0-beta1
0.9.1
0.9.0
0.8.3
0.8.2
0.8.1
0.8.0
0.8.0-beta1
0.7.3
0.7.2
0.7.1
0.7.0
0.6.16
0.6.15
0.6.14
0.6.13
0.6.12-fix1
0.6.12
0.6.11
0.6.10
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0-fix1
0.6.0
0.6.0-preview-workflow.2
0.5.11-fix1
0.5.11
0.6.0-preview-workflow.1
0.5.10
0.5.9
0.5.8
0.5.7
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.34
0.3.33
0.3.32
0.3.31-fix3
0.3.31-fix2
0.3.31-fix1
0.3.31
0.3.30
0.3.29
0.3.28
0.3.27
0.3.26
0.3.25
0.3.24
0.3.23
0.3.22
0.3.21
0.3.20
0.3.19
0.3.18
0.3.17
0.3.16
0.3.15
0.3.14
0.3.13
0.3.12
0.3.11
0.3.10
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.2
0.2.1
Labels
Clear labels
Knowledge Pipeline
Proposal
WIP
cloud
dependencies
feat:webapp
good first issue
outdated
performance
pull-request
python:uv
refactor
size:L
stale
status: accepting prs
status: blocked
status: in discussion
stt & tts
vulnerablity
web
wont-fix
🌊 feat:workflow
🌚 invalid
🐞 bug
👻 feat:rag
💪 enhancement
📚 documentation
🔨 feat:tools
🙋♂️ question
🙏 help wanted
🤔 cant-reproduce
🤖 feat:agent
Mirrored from GitHub Pull Request
No Label
🐞 bug
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: langgenius/dify#8838
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @188zhuyaqi on GitHub (Mar 2, 2025).
Originally assigned to: @laipz8200, @Yeuoly on GitHub.
Self Checks
Dify version
1.0.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
My system is Linux and I installed Dify version 1.0.0. All the processes went smoothly until the time came to configure the model API. At that moment, the system got stuck at the save prompt window and remained stuck without reporting any error messages. It just kept hanging until the browser console output a request timeout message. Apart from this, there were no other information.
(I have processed the IP here. If you need to test it, I can provide it to you.)
I myself have eliminated many issues. For instance, I tried two different browsers, including Edge. I uninstalled and reinstalled it five times but still encountered the same problem. Later, I downloaded version 0.15.3 and found that it worked successfully just once. Although it took a while to save the page, it was still successful. Then I switched back to version 1.0.0 (here, the version I switched to is not upgrading from 0.15.3. I deployed two versions). After switching back to version 1.0.0, I configured it again. This time, it was surprisingly successful. Just as I was happy, I found that when configuring other APIs, the same problem occurred again. I really don't understand why this is happening. I can only ask you for help helplessly. This issue pertains to all API configurations being like this, not just a single one.
✔️ Expected Behavior
No response
❌ Actual Behavior
Uncaught (in promise) TimeoutError: Request timed out: POST http://150.158.xx.xxx:8080/console/api/workspaces/current/model-providers/langgenius/tongyi/tongyi at 3451-f3b01e497296e6f6.js:1:4366@dosubot[bot] commented on GitHub (Mar 2, 2025):
Hello @188zhuyaqi! I'm here to assist you with any bugs, questions, or contributions you have regarding Dify. Let's work together to solve the issue you're experiencing.
I found a similar unsolved discussion regarding a "request timed out" issue when saving the model in Dify [1]. Additionally, there is an open issue titled "add model failed" that might be related [2].
To address the "TimeoutError" when configuring the model API in Dify version 1.0.0 on a self-hosted Linux system, you can try the following steps:
Restart Docker Containers: Use the following commands to restart the Docker containers:
Adjust Gunicorn Timeout: Increase the
GUNICORN_TIMEOUTsetting to allow for longer request processing times. The default is 200 seconds, but it is recommended to set it to 360 seconds to support longer SSE connection times. You can do this by setting the environment variable in your Docker configuration:Check Network Proxy Settings: If you are in a region with restricted access to certain services like OpenAI or HuggingFace, ensure that your HTTP and HTTPS proxy settings are correctly configured. Use the internal Docker host address if the proxy is deployed on the host machine [3].
These steps should help resolve the timeout issue and improve the configuration process for the model API.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
@188zhuyaqi commented on GitHub (Mar 2, 2025):
Docker has been rebooted and reinstalled no less than 5 times
My GUNICORN_TIMEOUT parameter is already 360 but the problem still occurs,
The model services I have configured do not require the use of proxies
@lisontowind commented on GitHub (Mar 2, 2025):
me too
@rosenjiang commented on GitHub (Mar 2, 2025):
@dosu After "Restart Docker Containers", encounter INTERNAL SERVER ERROR, can't save API Key setting.
Edge browser console log: POST http://localhost/console/api/workspaces/current/model-providers/langgenius/siliconflow/siliconflow 500 (INTERNAL SERVER ERROR)
@JasonkayZK commented on GitHub (Mar 2, 2025):
I've got the same issue here, seemed that can't save the api-key in v1.0.0.
@dosubot[bot] commented on GitHub (Mar 2, 2025):
To resolve the "INTERNAL SERVER ERROR" when saving the API Key setting in Dify, try restarting your Dify instance. This has been confirmed to resolve similar issues. Additionally, check the logs of the 'api' container for more insights into the error. You can do this using the command:
This might provide more information on the cause of the error and help in diagnosing the issue further [1][2].
This is a tough nut to crack, could really use your help on this, @takatost.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
@rosenjiang commented on GitHub (Mar 2, 2025):
pi-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 917, in full_dispatch_request
api-1 | rv = self.dispatch_request()
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 902, in dispatch_request
api-1 | return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask_restful/__init__.py", line 489, in wrapper
api-1 | resp = resource(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask/views.py", line 110, in view
api-1 | return current_app.ensure_sync(self.dispatch_request)(**kwargs) # type: ignore[no-any-return]
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask_restful/__init__.py", line 604, in dispatch_request
api-1 | resp = meth(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/controllers/console/wraps.py", line 147, in decorated
api-1 | return view(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/libs/login.py", line 94, in decorated_view
api-1 | return current_app.ensure_sync(func)(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/controllers/console/wraps.py", line 27, in decorated
api-1 | return view(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/controllers/console/workspace/model_providers.py", line 102, in post
api-1 | model_provider_service.save_provider_credentials(
api-1 | File "/app/api/services/model_provider_service.py", line 145, in save_provider_credentials
api-1 | provider_configuration.add_or_update_custom_credentials(credentials)
api-1 | File "/app/api/core/entities/provider_configuration.py", line 248, in add_or_update_custom_credentials
api-1 | provider_record, credentials = self.custom_credentials_validate(credentials)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/entities/provider_configuration.py", line 231, in custom_credentials_validate
api-1 | credentials = model_provider_factory.provider_credentials_validate(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/model_runtime/model_providers/model_provider_factory.py", line 155, in provider_credentials_validate
api-1 | self.plugin_model_manager.validate_provider_credentials(
api-1 | File "/app/api/core/plugin/manager/model.py", line 97, in validate_provider_credentials
api-1 | for resp in response:
api-1 | ^^^^^^^^
api-1 | File "/app/api/core/plugin/manager/base.py", line 189, in _request_with_plugin_daemon_response_stream
api-1 | self._handle_plugin_daemon_error(error.error_type, error.message)
api-1 | File "/app/api/core/plugin/manager/base.py", line 223, in handle_plugin_daemon_error
api-1 | raise PluginDaemonInternalServerError(description=message)
api-1 | core.plugin.manager.exc.PluginDaemonInternalServerError: PluginDaemonInternalServerError: killed by timeout
api-1 | 2025-03-02 08:25:00.617 ERROR [Dummy-18] [app.py:875] - Exception on /console/api/workspaces/current/model-providers/langgenius/jina/jina [POST]
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 917, in full_dispatch_request
api-1 | rv = self.dispatch_request()
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 902, in dispatch_request
api-1 | return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask_restful/__init__.py", line 489, in wrapper
api-1 | resp = resource(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask/views.py", line 110, in view
api-1 | return current_app.ensure_sync(self.dispatch_request)(**kwargs) # type: ignore[no-any-return]
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask_restful/__init_.py", line 604, in dispatch_request
api-1 | resp = meth(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/controllers/console/wraps.py", line 147, in decorated
api-1 | return view(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/libs/login.py", line 94, in decorated_view
api-1 | return current_app.ensure_sync(func)(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/controllers/console/wraps.py", line 27, in decorated
api-1 | return view(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/controllers/console/workspace/model_providers.py", line 102, in post
api-1 | model_provider_service.save_provider_credentials(
api-1 | File "/app/api/services/model_provider_service.py", line 145, in save_provider_credentials
api-1 | provider_configuration.add_or_update_custom_credentials(credentials)
api-1 | File "/app/api/core/entities/provider_configuration.py", line 248, in add_or_update_custom_credentials
api-1 | provider_record, credentials = self.custom_credentials_validate(credentials)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/entities/provider_configuration.py", line 231, in custom_credentials_validate
api-1 | credentials = model_provider_factory.provider_credentials_validate(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/model_runtime/model_providers/model_provider_factory.py", line 155, in provider_credentials_validate
api-1 | self.plugin_model_manager.validate_provider_credentials(
api-1 | File "/app/api/core/plugin/manager/model.py", line 97, in validate_provider_credentials
api-1 | for resp in response:
api-1 | ^^^^^^^^
api-1 | File "/app/api/core/plugin/manager/base.py", line 189, in _request_with_plugin_daemon_response_stream
api-1 | self._handle_plugin_daemon_error(error.error_type, error.message)
api-1 | File "/app/api/core/plugin/manager/base.py", line 223, in handle_plugin_daemon_error
api-1 | raise PluginDaemonInternalServerError(description=message)
api-1 | core.plugin.manager.exc.PluginDaemonInternalServerError: PluginDaemonInternalServerError: killed by timeout
api-1 | 2025-03-02 09:36:54.623 ERROR [Dummy-19] [app.py:875] - Exception on /console/api/workspaces/current/model-providers/langgenius/siliconflow/siliconflow [POST]
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 917, in full_dispatch_request
api-1 | rv = self.dispatch_request()
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 902, in dispatch_request
api-1 | return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask_restful/__init__.py", line 489, in wrapper
api-1 | resp = resource(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask/views.py", line 110, in view
api-1 | return current_app.ensure_sync(self.dispatch_request)(**kwargs) # type: ignore[no-any-return]
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask_restful/__init_.py", line 604, in dispatch_request
api-1 | resp = meth(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/controllers/console/wraps.py", line 147, in decorated
api-1 | return view(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/libs/login.py", line 94, in decorated_view
api-1 | return current_app.ensure_sync(func)(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/controllers/console/wraps.py", line 27, in decorated
api-1 | return view(*args, **kwargs)
api-1 | ^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/controllers/console/workspace/model_providers.py", line 102, in post
api-1 | model_provider_service.save_provider_credentials(
api-1 | File "/app/api/services/model_provider_service.py", line 145, in save_provider_credentials
api-1 | provider_configuration.add_or_update_custom_credentials(credentials)
api-1 | File "/app/api/core/entities/provider_configuration.py", line 248, in add_or_update_custom_credentials
api-1 | provider_record, credentials = self.custom_credentials_validate(credentials)
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/entities/provider_configuration.py", line 231, in custom_credentials_validate
api-1 | credentials = model_provider_factory.provider_credentials_validate(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/model_runtime/model_providers/model_provider_factory.py", line 155, in provider_credentials_validate
api-1 | self.plugin_model_manager.validate_provider_credentials(
api-1 | File "/app/api/core/plugin/manager/model.py", line 97, in validate_provider_credentials
api-1 | for resp in response:
api-1 | ^^^^^^^^
api-1 | File "/app/api/core/plugin/manager/base.py", line 189, in _request_with_plugin_daemon_response_stream
api-1 | self._handle_plugin_daemon_error(error.error_type, error.message)
api-1 | File "/app/api/core/plugin/manager/base.py", line 223, in _handle_plugin_daemon_error
api-1 | raise PluginDaemonInternalServerError(description=message)
api-1 | core.plugin.manager.exc.PluginDaemonInternalServerError: PluginDaemonInternalServerError: killed by timeout
so, what's the next? @dosu.
@skylark36 commented on GitHub (Mar 2, 2025):
same problem
@1006928117 commented on GitHub (Mar 2, 2025):
俺也一样。。。接入模型的时候一直报错 ,要么是:
{
"code": "bad_request",
"message": "The browser (or proxy) sent a request that this server could not understand.",
"status": 400
}
要么是:
Request URL:
http://localhost/console/api/workspaces/current/model-providers/langgenius/wenxin/wenxin
Request Method:
POST
Status Code:
500 INTERNAL SERVER ERROR
@abc77654 commented on GitHub (Mar 2, 2025):
我也一样,之前0.15版本很正常,我重新安装了1.0版本后,添加api始终出错,卡死或者提示
@zbaos260 commented on GitHub (Mar 2, 2025):
尝试了几种:
deepseek的api可以正常输入保存:
gemini输入后无反应,不能保存;
火山方舟、硅基流动、通义千问、智谱均报错,internal sever error
@abc77654 commented on GitHub (Mar 2, 2025):
我目前一个都无法添加,哎,等修复bug,我尝试了我关闭本地翻墙工具,都是一样的
@kevinwang04 commented on GitHub (Mar 3, 2025):
一样的,api无法保存,求解
@crazywoola commented on GitHub (Mar 3, 2025):
Try https://github.com/langgenius/dify/issues/14736#issuecomment-2693905382 & https://github.com/langgenius/dify/issues/14682#issuecomment-2694019566
@dosubot[bot] commented on GitHub (Mar 3, 2025):
To resolve the "PluginDaemonInternalServerError: killed by timeout" error when saving the API Key setting in Dify, you should upgrade the Dify official plugins to version 0.0.6. This upgrade has been confirmed to resolve the timeout issue that occurs during credential validation. Additionally, you can add the following configuration line to your
docker-compose.yamlfile after line 560 to increase the Python environment initialization timeout, which may also help:After making these changes, restart the Docker containers with the following commands:
docker compose stopdocker compose up -dThese steps should help address the timeout issue you're experiencing [1][2][3].
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
@lisontowind commented on GitHub (Mar 3, 2025):
The Qwen API cannot save. But it's not a network issue.
@lisontowind commented on GitHub (Mar 3, 2025):
If you upgrade to version 0.05 and have already filled in the API key, this problem will occur, whereas the Tongyi plugin version 0.04 does not have this issue.
@forachange commented on GitHub (Mar 3, 2025):
mark, 看看怎么解决
@likang105030 commented on GitHub (Mar 4, 2025):
mark 某位知名主播说过,不会升级就别学别人升级!
@lisontowind commented on GitHub (Mar 4, 2025):
回退到Tongyi 插件0.04 版本解决
@188zhuyaqi commented on GitHub (Mar 4, 2025):
你应该根本就没有看别人说了什么就对别人进行攻击
首先你说的不会升级问题根本就不存在 整个叙述中都不存在升级这个词,完全就是无中生有,何来升级一说呢?全程都是直接安装的指定的版本,并且重装了不下5次,最最终安装了其他版本才得以解决,足以证明这是1.0.0版本的问题
@zhiwenliao commented on GitHub (Mar 4, 2025):
it is no use
@jhe123456 commented on GitHub (Mar 4, 2025):
新装的也是同样的问题,应该怎么说?
@dcxs commented on GitHub (Mar 4, 2025):
any solution?-_-!
@dereksolar commented on GitHub (Mar 4, 2025):
兄弟们,找到可行的办法了。
这里应该是可以设置这个超时时间的默认值:
/langgenius/dify-plugin-daemon/tree/main
/internal/types/app/default.go
setDefaultInt(&config.PluginMaxExecutionTimeout, 240)
这里应该是可以通过环境变量改变这个默认值:
/internal/types/app/config.go
PluginMaxExecutionTimeout int
envconfig:"PLUGIN_MAX_EXECUTION_TIMEOUT" validate:"required"我直接扩大10倍,就没这个timeout的问题了。
一开始只在.env里加了还没用,后来在docker-compose里也加上才生效,家在plugin哪一段。
@Dmitry-Diordychuk commented on GitHub (Mar 5, 2025):
docker-compose.yaml
@rosenjiang commented on GitHub (Mar 5, 2025):
i am waiting for new version.............
@probie6 commented on GitHub (Mar 5, 2025):
When I add
PLUGIN_MAX_EXECUTION_TIMEOUT: 2400configuration, it can setting API-KEY of moonshot and openAi successfully, but volcengine still not work successfully@lmx492274842 commented on GitHub (Mar 6, 2025):
nice啊兄弟,真的有用,爱你!
@hczs commented on GitHub (Mar 6, 2025):
same problem
@youtiaoguagua commented on GitHub (Mar 6, 2025):
官方自己的都报错
@alienwaredream commented on GitHub (Mar 8, 2025):
附议
@zfno111 commented on GitHub (Mar 10, 2025):
Here is my solution
If u use proxy in image: langgenius/dify-plugin-daemon:0.0.3-local
Delete your proxy.
it works
for example:
image: langgenius/dify-plugin-daemon:0.0.3-local
restart: always
environment:
# Use the shared environment variables.
<<: *shared-api-worker-env
DB_DATABASE: ${DB_PLUGIN_DATABASE:-dify_plugin}
SERVER_PORT: ${PLUGIN_DAEMON_PORT:-5002}
SERVER_KEY: ${PLUGIN_DAEMON_KEY:-lYkiYYT6owG+71oLerGzA7GXCgOT++6ovaezWAjpCjf+Sjc3ZtU+qUEi}
MAX_PLUGIN_PACKAGE_SIZE: ${PLUGIN_MAX_PACKAGE_SIZE:-52428800}
PPROF_ENABLED: ${PLUGIN_PPROF_ENABLED:-false}
DIFY_INNER_API_URL: ${PLUGIN_DIFY_INNER_API_URL:-http://api:5001}
DIFY_INNER_API_KEY: ${PLUGIN_DIFY_INNER_API_KEY:-QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1}
PLUGIN_REMOTE_INSTALLING_HOST: ${PLUGIN_DEBUGGING_HOST:-0.0.0.0}
PLUGIN_REMOTE_INSTALLING_PORT: ${PLUGIN_DEBUGGING_PORT:-5003}
PLUGIN_WORKING_PATH: ${PLUGIN_WORKING_PATH:-/app/storage/cwd}
FORCE_VERIFYING_SIGNATURE: ${FORCE_VERIFYING_SIGNATURE:-true}
PYTHON_ENV_INIT_TIMEOUT: ${PLUGIN_PYTHON_ENV_INIT_TIMEOUT:-120}
#PLUGIN_MAX_EXECUTION_TIMEOUT: ${PLUGIN_MAX_EXECUTION_TIMEOUT:-600}
#do not use any proxy!!!!
#HTTP_PROXY: http://10.0.37.2:7890
#HTTPS_PROXY: https://10.0.37.2:7890
PLUGIN_MAX_EXECUTION_TIMEOUT: 24000
#u can change PIP_URL if u are in CN
PIP_MIRROR_URL: https://pypi.tuna.tsinghua.edu.cn/simple
ports:
- "${EXPOSE_PLUGIN_DEBUGGING_PORT:-5003}:${PLUGIN_DEBUGGING_PORT:-5003}"
volumes:
- ./volumes/plugin_daemon:/app/storage
depends_on:
- db
@laipz8200 commented on GitHub (Mar 10, 2025):
Hi @188zhuyaqi, Did you try to change the
PLUGIN_MAX_EXECUTION_TIMEOUTenv variable? It's the default to 600, and we believe it's enough for normal usage, but it depends on your network status. Can you change it to a larger number and try again?@loveyourlife126 commented on GitHub (Mar 10, 2025):
I still have a problem, mine is when setting deepseek
@laipz8200 commented on GitHub (Mar 10, 2025):
Hi @loveyourlife126. Could you provide the detailed logs in your docker containers? it will be helpful for us to figure out the issue.
@cycxy commented on GitHub (Mar 11, 2025):
[GIN] 2025/03/11 - 10:55:27 | 200 | 6.772875ms | 172.18.0.9 | GET "/plugin/b4eef4b6-66f6-488e-a6c9-19c383f93e95/management/models?page=1&page_size=256"
2025/03/11 10:55:27 factory.go:28: [ERROR]PluginDaemonInternalServerError: no available node, plugin not found
goroutine 140 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:24 +0x5e
github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x180b640, 0xc00077a510})
/app/internal/types/exception/factory.go:27 +0x27
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).redirectPluginInvokeByPluginIdentifier(0xc0001160d8, 0xc000a9a300, {0xc00012f3e0?, 0xe98ebf?}, {0x180b640, 0xc00077a4c0})
/app/internal/server/middleware.go:120 +0xef
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).RedirectPluginInvoke.func2(0xc000a9a300)
/app/internal/server/middleware.go:94 +0x95
github.com/gin-gonic/gin.(*Context).Next(0xc000a9a300)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x2b
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.(*App).FetchPluginInstallation.func1(0xc000a9a300)
/app/internal/server/middleware.go:66 +0x2f2
github.com/gin-gonic/gin.(*Context).Next(0xc000a9a300)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x2b
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginGroup.CheckingKey.func1(0xc000a9a300)
/app/internal/server/middleware.go:24 +0x95
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc000a9a300)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x7a
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc000a9a300)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xe5
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc00018a4e0, 0xc000a9a300)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x892
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc00018a4e0, {0x181dac0, 0xc00032c0e0}, 0xc0007fe5a0)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x1b2
net/http.serverHandler.ServeHTTP({0x1813868?}, {0x181dac0?, 0xc00032c0e0?}, 0x6?)
/usr/local/go/src/net/http/server.go:3142 +0x8e
net/http.(*conn).serve(0xc0005142d0, {0x1820270, 0xc00052f200})
/usr/local/go/src/net/http/server.go:2044 +0x5e8
created by net/http.(*Server).Serve in goroutine 58
/usr/local/go/src/net/http/server.go:3290 +0x4b4
[GIN] 2025/03/11 - 10:55:27 | 404 | 1.214227ms | 172.18.0.9 | POST "/plugin/b4eef4b6-66f6-488e-a6c9-19c383f93e95/dispatch/model/validate_provider_credentials"
@laipz8200 commented on GitHub (Mar 11, 2025):
Hi @cycxy. Please upgrade to our new version and reinstall your plugin. This issue should be fixed.
@rosenjiang commented on GitHub (Mar 11, 2025):
hope so...
@abc77654 commented on GitHub (Mar 11, 2025):
I just upgraded to the latest version 1.0.1 of dify, but the issue still persists. Ugh.
@laipz8200 commented on GitHub (Mar 11, 2025):
Hi @abc77654. Please uninstall your plugin and re-install it.
If the issue still persists, please provide your docker contains logs(both from dify-api and plugin-daemon) for us, thank you.
@abc77654 commented on GitHub (Mar 11, 2025):
我解决了,基于上面https://github.com/langgenius/dify/issues/14654#issuecomment-2702708161的办法,
首先到dify的docker文件夹里,找到docker-compose.yaml文件,编辑它,搜索“PLUGIN_MAX_EXECUTION_TIMEOUT”
把这条的尾数-60改为-600,保存docker-compose.yaml,重启docker,就解决了。
卸载重装全新解压缩,都没有用,我都试过了,只有这个直接解决。
@RobotZQ commented on GitHub (Mar 11, 2025):
same issue for me
@iEvan-lhr commented on GitHub (Mar 12, 2025):
I found logs for plugin-daemon
plugin_daemon-1 | init process exited due to no activity for 120 seconds, retry in 30s
plugin_daemon-1 | 2025/03/12 06:10:38 pool.go:32: [INFO]init routine pool, size: 10000
plugin_daemon-1 | 2025/03/12 06:10:39 init.go:152: [INFO]dify plugin db initialized
plugin_daemon-1 | 2025/03/12 06:10:39 manager.go:155: [INFO]start plugin manager daemon...
plugin_daemon-1 | 2025/03/12 06:10:39 init.go:19: [INFO]Persistence initialized
plugin_daemon-1 | 2025/03/12 06:10:39 watcher.go:16: [INFO]start to handle new plugins in path: plugin
plugin_daemon-1 | 2025/03/12 06:10:39 runtime_lifetime.go:40: [INFO]new plugin logged in: langgenius/deepseek:0.0.1
plugin_daemon-1 | 2025/03/12 06:10:39 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/deepseek:0.0.1
plugin_daemon-1 | [GIN] 2025/03/12 - 06:10:39 | 200 | 91.46µs | 192.168.32.6 | GET "/health/check"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:10:39 | 200 | 147.664µs | 192.168.32.6 | GET "/health/check"
plugin_daemon-1 | 2025/03/12 06:10:39 run.go:143: [INFO]plugin langgenius/deepseek:0.0.1 started
plugin_daemon-1 | 2025/03/12 06:10:39 runtime_lifetime.go:40: [INFO]new plugin logged in: langgenius/deepseek:0.0.5
plugin_daemon-1 | 2025/03/12 06:10:39 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/deepseek:0.0.5
plugin_daemon-1 | [gnet] 2025-03-12T06:10:39.457049925Z INFO logging/logger.go:256 Launching gnet with 8 event-loops, listening on: tcp://0.0.0.0:5003
plugin_daemon-1 | 2025/03/12 06:10:39 run.go:143: [INFO]plugin langgenius/deepseek:0.0.5 started
plugin_daemon-1 | 2025/03/12 06:10:39 runtime_lifetime.go:40: [INFO]new plugin logged in: langgenius/openai:0.0.11
plugin_daemon-1 | 2025/03/12 06:10:39 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/openai:0.0.11
plugin_daemon-1 | 2025/03/12 06:10:39 run.go:143: [INFO]plugin langgenius/openai:0.0.11 started
plugin_daemon-1 | 2025/03/12 06:10:39 runtime_lifetime.go:40: [INFO]new plugin logged in: langgenius/openai_api_compatible:0.0.7
plugin_daemon-1 | 2025/03/12 06:10:39 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/openai_api_compatible:0.0.7
plugin_daemon-1 | 2025/03/12 06:10:39 run.go:143: [INFO]plugin langgenius/openai_api_compatible:0.0.7 started
plugin_daemon-1 | 2025/03/12 06:10:39 runtime_lifetime.go:40: [INFO]new plugin logged in: langgenius/searxng:0.0.2
plugin_daemon-1 | 2025/03/12 06:10:39 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/searxng:0.0.2
plugin_daemon-1 | 2025/03/12 06:10:39 cluster_lifetime.go:113: [INFO]current node has become the master of the cluster
plugin_daemon-1 | 2025/03/12 06:10:39 run.go:143: [INFO]plugin langgenius/searxng:0.0.2 started
plugin_daemon-1 | 2025/03/12 06:10:40 runtime_lifetime.go:40: [INFO]new plugin logged in: langgenius/siliconflow:0.0.7
plugin_daemon-1 | 2025/03/12 06:10:40 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/siliconflow:0.0.7
plugin_daemon-1 | 2025/03/12 06:10:40 run.go:143: [INFO]plugin langgenius/siliconflow:0.0.7 started
plugin_daemon-1 | 2025/03/12 06:10:40 runtime_lifetime.go:40: [INFO]new plugin logged in: langgenius/tongyi:0.0.11
plugin_daemon-1 | 2025/03/12 06:10:40 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/tongyi:0.0.11
plugin_daemon-1 | 2025/03/12 06:10:41 stdio_handle.go:128: [INFO]plugin langgenius/deepseek:0.0.5: Installed model: deepseek
plugin_daemon-1 | 2025/03/12 06:10:41 stdio_handle.go:128: [INFO]plugin langgenius/openai_api_compatible:0.0.7: Installed model: openai_api_compatible
plugin_daemon-1 | 2025/03/12 06:10:41 stdio_handle.go:128: [INFO]plugin langgenius/deepseek:0.0.1: Installed model: deepseek
plugin_daemon-1 | 2025/03/12 06:10:42 stdio_handle.go:128: [INFO]plugin langgenius/searxng:0.0.2: Installed tool: searxng
plugin_daemon-1 | 2025/03/12 06:10:42 stdio_handle.go:128: [INFO]plugin langgenius/siliconflow:0.0.7: Installed model: siliconflow
plugin_daemon-1 | 2025/03/12 06:10:43 stdio_handle.go:128: [INFO]plugin langgenius/openai:0.0.11: Installed model: openai
plugin_daemon-1 | 2025/03/12 06:10:49 node.go:213: [INFO]node 4122a08a-e9bf-4dac-a2c4-79fb2ce24360 has been removed from the cluster due to being disconnected
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:33 | 200 | 123.012872ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:33 | 200 | 194.862372ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:33 | 200 | 22.82667ms | 192.168.32.8 | POST "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/dispatch/model/schema"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:33 | 200 | 2.841884ms | 192.168.32.8 | POST "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/dispatch/model/schema"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:33 | 200 | 2.21898ms | 192.168.32.8 | POST "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/dispatch/model/schema"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:33 | 200 | 23.373545ms | 192.168.32.8 | POST "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/dispatch/model/schema"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:33 | 200 | 27.759464ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:33 | 200 | 15.688654ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:34 | 200 | 2.283837ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/install/tasks?page=1&page_size=100"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:39 | 200 | 17.338973ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:39 | 200 | 38.139312ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:39 | 200 | 39.873677ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:39 | 200 | 47.977759ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:39 | 200 | 979.686µs | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/asset/fb1d7c05088e34ecabd0e087ebcfd929be9aad785b5e21e0577c2aa82acf7ae0.svg"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:39 | 200 | 659.488µs | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/asset/69f80e7dfe36e036321767f69cad4755fe162cf581b206a8290dce0629d2e4f6.svg"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:39 | 200 | 622.101µs | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/asset/0dbcd12864243bfcd8c0c1898a3e0c37ea553c21a727800b0863a599a9660729.svg"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:39 | 200 | 618.168µs | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/asset/7d40d629e02c01404af94652a8684f9aaab0da105182fc16fafe0da4e183dd9e.png"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:39 | 200 | 17.580262ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:39 | 200 | 23.861001ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:39 | 200 | 61.442083ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:39 | 200 | 24.974741ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:39 | 200 | 54.719594ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:40 | 200 | 14.27176ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:40 | 200 | 25.21178ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:40 | 200 | 45.629971ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:40 | 200 | 13.79538ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:11:41 | 200 | 13.457833ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | [GIN] 2025/03/12 - 06:12:43 | 200 | 28.557903ms | 192.168.32.8 | GET "/plugin/44bb66f5-8776-4d57-b5b2-6b4c0ea4e1ad/management/models?page=1&page_size=256"
plugin_daemon-1 | 2025/03/12 06:12:45 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: signal: killed, output: Resolved 49 packages in 271ms
plugin_daemon-1 | Downloading numpy (15.4MiB)
plugin_daemon-1 | init process exited due to no activity for 120 seconds, retry in 30s
@Yeuoly commented on GitHub (Mar 12, 2025):
Hi, pls try add an environment variable:
PIP_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simpleto you .env and restart your services, it should been fixed@Bc-Aqr commented on GitHub (Mar 12, 2025):
Is this problem solved? I also encountered this error when configuring any llm access
@Ador-able commented on GitHub (Mar 19, 2025):
It's hard to imagine so many people encountering this problem, but it hasn't been solved yet
I made the modifications as instructed
PLUGIN_MAX_EXECUTION_TIMEOUT=6000
PIP_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple
But it has no effect
@laipz8200 commented on GitHub (Mar 19, 2025):
This issue should be fixed in the 1.0.1 version.
@Ador-able commented on GitHub (Mar 19, 2025):
For me, this issue still exists in version 1.1.0.
I tried to modify it :PLUGIN_PYTHON_ENV_INIT_TIMEOUT=1200
Uninstall and reinstall plugins multiple times, clear Docker and Git folders, and clone and run again. Still unable to run
plugin:[ERROR]init environment failed: failed to install dependencies: signal: killed, output: Resolved 41 packages in 1.76s
warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
init process exited due to no activity for 120 seconds, retry in 30s
api:
@Ador-able commented on GitHub (Mar 20, 2025):
Modify docker-compose.ymal, add
volumes:
plugin_daemon:
Modify in plugin_daemon part:
plugin_daemon:
volumes:
- plugin_daemon:/app/storage
depends_on:
- db
This will solve my problem
@dreamofboy commented on GitHub (Mar 23, 2025):
We met the same issue with dify 1.1.2.
It failed while I tried to add a local Ollama model as well as the official deepseek-r1 api.
It returned the correct results while I ran curl http://ollama-server-ip-addr:11434/api/tags within the docker-api-1 container.
I cannot get the right fix solution even I tried to add some env variables or increase the values for timeout.
Looks none from the team is taking care about this issue seriously.
@Yeuoly commented on GitHub (Mar 24, 2025):
I cannot reproduce the issue you encountered, and I do not have the environment you are using now, any cloud like aws/ali cloud? or just local windows or macos? for me, everything works as expected
@dreamofboy commented on GitHub (Mar 24, 2025):
just a local VM running ubuntu 24.04 and installed dify with docker compose.
ollama was installed at another container out of the VM.
@dreamofboy commented on GitHub (Mar 24, 2025):
Even though I uncommented the line in .env: PIP_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple
I met the same issue.
But when I tried to add model in ollama again. It's saved successfully.
@easelify commented on GitHub (Mar 26, 2025):
This works, thanks!
Dify 1.1.3 on Aliyun ECS
@MrPolong commented on GitHub (Mar 26, 2025):
问题:添加通义千问的API-KEY报超时。
我在检查日志时发现了这个错误,应该是
plugin_daemon初始化环境时出现了问题。plugin_daemon-1 | 2025/03/26 07:19:52 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: signal: killed, output: init process exited due to no activity for 120 seconds, retry in 30s猜测是在初始化Python环境,安装相关依赖时出现了问题,尝试修改pip源。
在
docker-comose.yaml文件中修改添加清华源PIP_MIRROR_URL="https://pypi.tuna.tsinghua.edu.cn/simple"成功解决问题
@andylzming commented on GitHub (Apr 14, 2025):
请问离线环境如何解决?
@craftsman4j commented on GitHub (Apr 22, 2025):
已成功解决!!!
@maijing274 commented on GitHub (Apr 26, 2025):
你好请问解决了吗