The plugin demon is unable to communicate with the model plugin via TCP. #203

Closed
opened 2026-02-16 00:20:29 -05:00 by yindo · 1 comment
Owner

Originally created by @NieRonghua on GitHub (Oct 31, 2025).

Self Checks

To make sure we get to you in time, please check the following :)

  • 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."

Versions

  1. dify-plugin-daemon Version 0.2.0
  2. dify-api Version 1.8.1

Describe the bug
The plugin demon is unable to communicate with the model plugin via TCP.

To Reproduce
Steps to reproduce the behavior:
my model plugin env

Image

plugin demon error log

Image

My plugin service has a TCP server running.

root@dify-plugin-green-dev1-7b7f55578c-fzhlw:/go/release/logs# cat  stdout.20251031174412 | grep 5003
[gnet] 2025-10-31T17:44:13.301064211+08:00      INFO    logging/logger.go:256   Launching gnet with 8 event-loops, listening on: tcp://0.0.0.0:5003
ERROR:dify_plugin.core.server.tcp.request_reader:Failed to read data from 127.0.0.1:5003

Expected behavior
The plugin works in local mode, but I'd like to know why it doesn't work in remote mode.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Originally created by @NieRonghua on GitHub (Oct 31, 2025). **Self Checks** To make sure we get to you in time, please check the following :) - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify-plugin-daemon/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." **Versions** 1. dify-plugin-daemon Version 0.2.0 2. dify-api Version 1.8.1 **Describe the bug** The plugin demon is unable to communicate with the model plugin via TCP. **To Reproduce** Steps to reproduce the behavior: my model plugin env <img width="788" height="372" alt="Image" src="https://github.com/user-attachments/assets/fd68cc50-81da-4c87-ac13-b25976c3c82f" /> plugin demon error log <img width="2065" height="686" alt="Image" src="https://github.com/user-attachments/assets/5eda9445-42a1-49e2-9f45-a9ed5814f531" /> My plugin service has a TCP server running. ``` root@dify-plugin-green-dev1-7b7f55578c-fzhlw:/go/release/logs# cat stdout.20251031174412 | grep 5003 [gnet] 2025-10-31T17:44:13.301064211+08:00 INFO logging/logger.go:256 Launching gnet with 8 event-loops, listening on: tcp://0.0.0.0:5003 ERROR:dify_plugin.core.server.tcp.request_reader:Failed to read data from 127.0.0.1:5003 ``` **Expected behavior** The plugin works in local mode, but I'd like to know why it doesn't work in remote mode. **Screenshots** If applicable, add screenshots to help explain your problem. **Additional context** Add any other context about the problem here.
yindo closed this issue 2026-02-16 00:20:29 -05:00
Author
Owner

@Yeuoly commented on GitHub (Dec 12, 2025):

A refactor #499 has been committed to the latest release 0.5.1, please have a review :)

@Yeuoly commented on GitHub (Dec 12, 2025): A refactor #499 has been committed to the latest release 0.5.1, please have a review :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#203