Skip to content

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

@NieRonghua

Description

@NieRonghua

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions