oaicompat_dify_model:The access point has been created, but the actual call shows that there is no access point. #20535

Closed
opened 2026-02-21 20:07:52 -05:00 by yindo · 1 comment
Owner

Originally created by @EvilCalf on GitHub (Nov 25, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • 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, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.7.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

✔️ Expected Behavior

openai api

Actual Behavior

curl http://localhost:8048/e/t011aent0sss3s9w/v1/chat/completions
{"code":-400,"message":"{"message":"endpoint not found","error_type":"PluginDaemonBadRequestError","args":null}","data":null}

Originally created by @EvilCalf on GitHub (Nov 25, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [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, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.7.2 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce <img width="414" height="282" alt="Image" src="https://github.com/user-attachments/assets/fca09b66-5555-46ed-80a6-9e1fa3acd830" /> ### ✔️ Expected Behavior openai api ### ❌ Actual Behavior curl http://localhost:8048/e/t011aent0sss3s9w/v1/chat/completions {"code":-400,"message":"{\"message\":\"endpoint not found\",\"error_type\":\"PluginDaemonBadRequestError\",\"args\":null}","data":null}
yindo added the 🐞 bug label 2026-02-21 20:07:52 -05:00
yindo closed this issue 2026-02-21 20:07:52 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Nov 25, 2025):

The "endpoint not found" error for the OpenAI-compatible Dify model plugin in Docker is usually caused by network or configuration issues. Here’s what you should check:

  • Make sure your Docker .env file sets PLUGIN_DAEMON_URL and ENDPOINT_URL_TEMPLATE to your actual host IP or Docker service name, not localhost or 127.0.0.1. For example:

    PLUGIN_DAEMON_URL=http://host.docker.internal:3330
    ENDPOINT_URL_TEMPLATE=http://host.docker.internal:3330/e/{hook_id}
    

    Reference

  • Confirm all required ports are exposed in your docker-compose.yaml and all containers (api, plugin_daemon, etc.) are on the same Docker network. Missing port mappings can block endpoint access Reference.

  • After updating configs, restart all containers to apply changes.

  • If you still see the error, increase log verbosity (LOG_LEVEL=DEBUG, ENABLE_REQUEST_LOGGING=True in .env) and check logs for plugin daemon and API containers for registration or routing errors Reference.

  • Dify 1.7.2 enforces stricter timeout and credential validation for plugins, which can cause endpoint registration failures if model or credential settings are incomplete or incorrect Reference.

If the endpoint URL in the plugin UI still shows localhost, update the environment variables as above and restart. If the issue persists, try calling the endpoint using the correct IP or Docker service name and review the error details.

Let me know if you need help with specific config files or logs!

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Nov 25, 2025): <!-- Answer --> The "endpoint not found" error for the OpenAI-compatible Dify model plugin in Docker is usually caused by network or configuration issues. Here’s what you should check: - Make sure your Docker `.env` file sets `PLUGIN_DAEMON_URL` and `ENDPOINT_URL_TEMPLATE` to your actual host IP or Docker service name, not `localhost` or `127.0.0.1`. For example: ``` PLUGIN_DAEMON_URL=http://host.docker.internal:3330 ENDPOINT_URL_TEMPLATE=http://host.docker.internal:3330/e/{hook_id} ``` [Reference](https://github.com/langgenius/dify-official-plugins/issues/1054) - Confirm all required ports are exposed in your `docker-compose.yaml` and all containers (api, plugin_daemon, etc.) are on the same Docker network. Missing port mappings can block endpoint access [Reference](https://github.com/langgenius/dify-official-plugins/issues/1816). - After updating configs, restart all containers to apply changes. - If you still see the error, increase log verbosity (`LOG_LEVEL=DEBUG`, `ENABLE_REQUEST_LOGGING=True` in `.env`) and check logs for plugin daemon and API containers for registration or routing errors [Reference](https://github.com/langgenius/dify-official-plugins/issues/1779). - Dify 1.7.2 enforces stricter timeout and credential validation for plugins, which can cause endpoint registration failures if model or credential settings are incomplete or incorrect [Reference](https://github.com/langgenius/dify-official-plugins/issues/1542). If the endpoint URL in the plugin UI still shows `localhost`, update the environment variables as above and restart. If the issue persists, try calling the endpoint using the correct IP or Docker service name and review the error details. Let me know if you need help with specific config files or logs! <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/c7c3dfb7-7329-4a7a-9d30-1b99ae836e18?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/c7c3dfb7-7329-4a7a-9d30-1b99ae836e18?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/c7c3dfb7-7329-4a7a-9d30-1b99ae836e18?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/c7c3dfb7-7329-4a7a-9d30-1b99ae836e18?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c7c3dfb7-7329-4a7a-9d30-1b99ae836e18?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/c7c3dfb7-7329-4a7a-9d30-1b99ae836e18?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c7c3dfb7-7329-4a7a-9d30-1b99ae836e18?feedback_type=other)</sup> [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=The%20%22endpoint%20not%20found%22%20error%20for%20the%20OpenAI-compatible%20Dify%20model%20plugin%20in%20Docker%20is%20usually%20caused%20by%20network%20or%20configuration%20issues.%20Here%E2%80%99s%20what%20you%20should%20check%3A%0A%0A-%20Make%20sure%20your%20Docker%20%60.env%60%20file%20sets%20%60PLUGIN_DAEMON_URL%60%20and%20%60ENDPOINT_URL_TEMPLATE%60%20to%20your%20actual%20host%20IP%20or%20Docker%20service%20name%2C%20not%20%60localhost%60%20or%20%60127.0.0.1%60.%20For%20example%3A%0A%20%20%60%60%60%0A%20%20PLUGIN_DAEMON_URL%3Dhttp%3A//host.docker.internal%3A3330%0A%20%20ENDPOINT_URL_TEMPLATE%3Dhttp%3A//host.docker.internal%3A3330/e/%7Bhook_id%7D%0A%20%20%60%60%60%0A%20%20%5BReference%5D%28https%3A//github.com/langgenius/dify-official-plugins/issues/1054%29%0A%0A-%20Confirm%20all%20required%20ports%20are%20exposed%20in%20your%20%60docker-compose.yaml%60%20and%20all%20containers%20%28api%2C%20plugin_daemon%2C%20etc.%29%20are%20on%20the%20same%20Docker%20network.%20Missing%20port%20mappings%20can%20block%20endpoint%20access%20%5BReference%5D%28https%3A//github.com/langgenius/dify-official-plugins/issues/1816%29.%0A%0A-%20After%20updating%20configs%2C%20restart%20all%20containers%20to%20apply%20changes.%0A%0A-%20If%20you%20still%20see%20the%20error%2C%20increase%20log%20verbosity%20%28%60LOG_LEVEL%3DDEBUG%60%2C%20%60ENABLE_REQUEST_LOGGING%3DTrue%60%20in%20%60.env%60%29%20and%20check%20logs%20for%20plugin%20daemon%20and%20API%20containers%20for%20registration%20or%20routing%20errors%20%5BReference%5D%28https%3A//github.com/langgenius/dify-official-plugins/issues/1779%29.%0A%0A-%20Dify%201.7.2%20enforces%20stricter%20timeout%20and%20credential%20validation%20for%20plugins%2C%20which%20can%20cause%20endpoint%20registration%20failures%20if%20model%20or%20credential%20settings%20are%20incomplete%20or%20incorrect%20%5BReference%5D%28https%3A//github.com/langgenius/dify-official-plugins/issues/1542%29.%0A%0AIf%20the%20endpoint%20URL%20in%20the%20plugin%20UI%20still%20shows%20%60localhost%60%2C%20update%20the%20environment%20variables%20as%20above%20and%20restart.%20If%20the%20issue%20persists%2C%20try%20calling%20the%20endpoint%20using%20the%20correct%20IP%20or%20Docker%20service%20name%20and%20review%20the%20error%20details.%0A%0ALet%20me%20know%20if%20you%20need%20help%20with%20specific%20config%20files%20or%20logs%21)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/28633)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#20535