启动worker的时候,不会读取.env文件中的REDIS_HOST参数 #151

Open
opened 2026-02-16 11:19:53 -05:00 by yindo · 0 comments
Owner

Originally created by @hjklong55 on GitHub (Apr 28, 2025).

1。.evn文件如下:

REDIS_HOST=10.238.116.60

2.启动的时候还是去的localhost。
2025-04-28 10:40:01,498 ERROR [consumer.py:493] consumer: Cannot connect to redis://:**@localhost:17000/1: Error 111 connecting to localhost:17000. Connection refused..
Trying again in 2.00 seconds... (1/100)

请问怎么解决

Originally created by @hjklong55 on GitHub (Apr 28, 2025). 1。.evn文件如下: REDIS_HOST=10.238.116.60 2.启动的时候还是去的localhost。 2025-04-28 10:40:01,498 ERROR [consumer.py:493] consumer: Cannot connect to redis://:**@localhost:17000/1: Error 111 connecting to localhost:17000. Connection refused.. Trying again in 2.00 seconds... (1/100) 请问怎么解决
yindo added the bug label 2026-02-16 11:19:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-docs-archived#151