Git-HandClup / plugin_midjourney

一个Midjourneyd插件,支持imagine、upscale、variation、blend、describe五个基本命令
25 stars 5 forks source link

报了redis的错误,请问大佬如何解决呢 #4

Open caijun199702 opened 1 year ago

caijun199702 commented 1 year ago

redis.exceptions.ConnectionError: Error 11001 connecting to xxxxxx:6379. getaddrinfo failed.

caijun199702 commented 1 year ago

这个问题解决了,新出了一个问题: - [WX] sendMsg=Reply(type=TEXT, content=调用mj超时,请检查指令或者描 述是否有误。) 麻烦大佬看看

Git-HandClup commented 1 year ago

在本地服务器上搭建一个redis服务,将代码中关于redis的配置都改成本地redis的服务配置,并且检查一下midjourney-proxy这个项目是否搭建成功,以及回调接口地址中是否能够正常将返回结果保存进redis。

Git-HandClup commented 1 year ago

redis.exceptions.ConnectionError: Error 11001 connecting to xxxxxx:6379. getaddrinfo failed.

当前已将插件更新至最终版本,丢弃了回调地址以及redis依赖,只需要将midjourney-proxy的服务地址改到配置文件中即可直接使用。