New installations without plug-ins
Self Checks
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
Dify version
1.0.0
Cloud or Self Hosted
Self Hosted (Source), Self Hosted (Docker)
Steps to reproduce
After I use the recommended two shell commands, an error is reported.
poetry run flask extract-plugins --workers=20
poetry run flask install-plugins --workers=2
Here are the logs
root@03c4f019096b:/app/api# poetry run flask extract-plugins --workers=20
2025-03-10 01:19:51.759 INFO [MainThread] [utils.py:162] - NumExpr defaulting to 8 threads.
2025-03-10 01:19:54.297 INFO [MainThread] [_client.py:1038] - HTTP Request: GET https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json "HTTP/1.1 200 OK"
Output file [plugins.jsonl]:
Starting extract plugins.
Migrating models/tools to new plugin Mechanism
Total tenant count: 1
Current time: 2023-04-03 08:59:24, Started at: 2025-03-10 01:19:59.308990
Current time: 2023-04-04 08:59:24, Started at: 2025-03-10 01:19:59.314524
...more
Current time: 2025-03-09 08:59:24, Started at: 2025-03-10 01:20:00.501479
[2025-03-10 01:20:00.578425] Processed 1 tenants (100.0%), 1/1
Extract plugins completed.
root@03c4f019096b:/app/api# poetry run flask install-plugins --workers=2
2025-03-10 01:20:50.641 INFO [MainThread] [utils.py:162] - NumExpr defaulting to 8 threads.
2025-03-10 01:20:53.035 INFO [MainThread] [_client.py:1038] - HTTP Request: GET https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json "HTTP/1.1 200 OK"
Input file [plugins.jsonl]:
Output file [installed_plugins.jsonl]:
Starting install plugins.
2025-03-10 01:20:59.916 INFO [MainThread] [plugin_migration.py:304] - Extracting unique plugins from plugins.jsonl
0it [00:00, ?it/s]
2025-03-10 01:20:59.919 INFO [MainThread] [plugin_migration.py:342] - Installing 0 plugin instances for fake tenant 2055eaaf22d34b299ab1495e40b979a2
2025-03-10 01:20:59.919 INFO [ThreadPoolExecutor-3_0] [plugin_migration.py:351] - Installing 0 plugins for tenant f833acc4-1e49-4891-bcfd-8f352b82ce3c
2025-03-10 01:20:59.922 INFO [ThreadPoolExecutor-3_1] [plugin_migration.py:351] - Installing 0 plugins for tenant f833acc4-1e49-4891-bcfd-8f352b82ce3c
2025-03-10 01:20:59.926 ERROR [ThreadPoolExecutor-3_0] [base.py:67] - Request to Plugin Daemon Service failed
Traceback (most recent call last):
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 198, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
File "/app/api/.venv/lib/python3.12/site-packages/gevent/_socketcommon.py", line 586, in connect
self._internal_connect(address)
File "/app/api/.venv/lib/python3.12/site-packages/gevent/_socketcommon.py", line 630, in _internal_connect
raise _SocketError(err, strerror(err))
ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 787, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 493, in _make_request
conn.request(
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 445, in request
self.endheaders()
File "/usr/local/lib/python3.12/http/client.py", line 1333, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.12/http/client.py", line 1093, in _send_output
self.send(msg)
File "/usr/local/lib/python3.12/http/client.py", line 1037, in send
self.connect()
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 276, in connect
self.sock = self._new_conn()
^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 213, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f5057580740>: Failed to establish a new connection: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/api/.venv/lib/python3.12/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 841, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5002): Max retries exceeded with url: /plugin/f833acc4-1e49-4891-bcfd-8f352b82ce3c/management/list?page=1&page_size=256 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5057580740>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/api/core/plugin/manager/base.py", line 63, in _request
response = requests.request(
^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5002): Max retries exceeded with url: /plugin/f833acc4-1e49-4891-bcfd-8f352b82ce3c/management/list?page=1&page_size=256 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5057580740>: Failed to establish a new connection: [Errno 111] Connection refused'))
2025-03-10 01:20:59.930 ERROR [ThreadPoolExecutor-3_1] [base.py:67] - Request to Plugin Daemon Service failed
Traceback (most recent call last):
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 198, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
File "/app/api/.venv/lib/python3.12/site-packages/gevent/_socketcommon.py", line 586, in connect
self._internal_connect(address)
File "/app/api/.venv/lib/python3.12/site-packages/gevent/_socketcommon.py", line 630, in _internal_connect
raise _SocketError(err, strerror(err))
ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 787, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 493, in _make_request
conn.request(
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 445, in request
self.endheaders()
File "/usr/local/lib/python3.12/http/client.py", line 1333, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.12/http/client.py", line 1093, in _send_output
self.send(msg)
File "/usr/local/lib/python3.12/http/client.py", line 1037, in send
self.connect()
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 276, in connect
self.sock = self._new_conn()
^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 213, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f505ae67830>: Failed to establish a new connection: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/api/.venv/lib/python3.12/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 841, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5002): Max retries exceeded with url: /plugin/f833acc4-1e49-4891-bcfd-8f352b82ce3c/management/list?page=1&page_size=256 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f505ae67830>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/api/core/plugin/manager/base.py", line 63, in _request
response = requests.request(
^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5002): Max retries exceeded with url: /plugin/f833acc4-1e49-4891-bcfd-8f352b82ce3c/management/list?page=1&page_size=256 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f505ae67830>: Failed to establish a new connection: [Errno 111] Connection refused'))
2025-03-10 01:20:59.932 INFO [MainThread] [plugin_migration.py:400] - Uninstall plugins
2025-03-10 01:20:59.934 ERROR [MainThread] [base.py:67] - Request to Plugin Daemon Service failed
Traceback (most recent call last):
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 198, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
File "/app/api/.venv/lib/python3.12/site-packages/gevent/_socketcommon.py", line 586, in connect
self._internal_connect(address)
File "/app/api/.venv/lib/python3.12/site-packages/gevent/_socketcommon.py", line 630, in _internal_connect
raise _SocketError(err, strerror(err))
ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 787, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 493, in _make_request
conn.request(
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 445, in request
self.endheaders()
File "/usr/local/lib/python3.12/http/client.py", line 1333, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.12/http/client.py", line 1093, in _send_output
self.send(msg)
File "/usr/local/lib/python3.12/http/client.py", line 1037, in send
self.connect()
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 276, in connect
self.sock = self._new_conn()
^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 213, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f505ac28e00>: Failed to establish a new connection: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/api/.venv/lib/python3.12/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 841, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5002): Max retries exceeded with url: /plugin/2055eaaf22d34b299ab1495e40b979a2/management/list?page=1&page_size=256 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f505ac28e00>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/api/core/plugin/manager/base.py", line 63, in _request
response = requests.request(
^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5002): Max retries exceeded with url: /plugin/2055eaaf22d34b299ab1495e40b979a2/management/list?page=1&page_size=256 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f505ac28e00>: Failed to establish a new connection: [Errno 111] Connection refused'))
2025-03-10 01:20:59.936 ERROR [MainThread] [plugin_migration.py:411] - Failed to get installation for tenant 2055eaaf22d34b299ab1495e40b979a2
Traceback (most recent call last):
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 198, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
File "/app/api/.venv/lib/python3.12/site-packages/gevent/_socketcommon.py", line 586, in connect
self._internal_connect(address)
File "/app/api/.venv/lib/python3.12/site-packages/gevent/_socketcommon.py", line 630, in _internal_connect
raise _SocketError(err, strerror(err))
ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 787, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 493, in _make_request
conn.request(
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 445, in request
self.endheaders()
File "/usr/local/lib/python3.12/http/client.py", line 1333, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.12/http/client.py", line 1093, in _send_output
self.send(msg)
File "/usr/local/lib/python3.12/http/client.py", line 1037, in send
self.connect()
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 276, in connect
self.sock = self._new_conn()
^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 213, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f505ac28e00>: Failed to establish a new connection: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/api/.venv/lib/python3.12/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 841, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5002): Max retries exceeded with url: /plugin/2055eaaf22d34b299ab1495e40b979a2/management/list?page=1&page_size=256 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f505ac28e00>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/api/core/plugin/manager/base.py", line 63, in _request
response = requests.request(
^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5002): Max retries exceeded with url: /plugin/2055eaaf22d34b299ab1495e40b979a2/management/list?page=1&page_size=256 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f505ac28e00>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/api/services/plugin/plugin_migration.py", line 404, in install_plugins
installation = manager.list_plugins(fake_tenant_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/manager/plugin.py", line 30, in list_plugins
return self._request_with_plugin_daemon_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/manager/base.py", line 138, in _request_with_plugin_daemon_response
response = self._request(method, path, headers, data, params, files)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/manager/base.py", line 68, in _request
raise PluginDaemonInnerError(code=-500, message="Request to Plugin Daemon Service failed")
core.plugin.entities.plugin_daemon.PluginDaemonInnerError
Install plugins completed.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
Hello, @AiharaMahiru! I'm here to assist you with any bugs, questions, or contributions while we wait for a human maintainer. Let's tackle this issue together!
It seems like you're encountering a "Connection refused" error when trying to install plugins in your self-hosted Dify setup. This issue might be related to the Plugin Daemon Service not being accessible at the specified host and port.
A similar issue was discussed in the Dify repository, where the solution involved changing the host in the configuration. You should try replacing 'localhost' with 'host.docker.internal' in your configuration. The full URL should be 'http://host.docker.internal:5002'. Additionally, if you have system proxy environment variables set, you may need to unset them using:
unset HTTP_PROXY
unset HTTPS_PROXY
This adjustment should help resolve the connection issues you're experiencing [1].
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
your plugin_daemon docker not run or err!
ok,just pull new docker_composer.yml😥
i got similar issues on my k8s cluster, i have deployed my own daemon plugin pod separately as i noticed it is not in the helm install. I have set the environment variable PLUGIN_DAEMON_HOST but no matter it is taking localhost as host.
Any solution reg this, seems like api is validating plugin as hardcoded localhost in 5002 and that is breaking k8s workflow