Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zeabur配置的mj_notify_hook不生效 #21

Open
1441853031 opened this issue Jun 24, 2023 · 8 comments
Open

zeabur配置的mj_notify_hook不生效 #21

1441853031 opened this issue Jun 24, 2023 · 8 comments

Comments

@1441853031
Copy link

环境变量填了,看了一下日志还是调用的localhost
image

`14:24:292023-06-24 14:24:29.527 WARN 1 --- [ TaskNotify-7] c.g.n.m.service.NotifyServiceImpl : 推送任务变更失败, 任务ID: 1941636824477357, 描述: I/O error on POST request for "http://localhost:4120/notify": Connection refused; nested exception is java.net.ConnectException: Connection refused

14:24:352023-06-24 14:24:35.618 DEBUG 1 --- [ ReadingThread] c.g.n.m.wss.user.UserMessageListener : UPDATE - Midjourney Bot: 小孩 --niji 5 - <@1021328692884021248> (31%) (fast)`

@ladypiapia
Copy link

我也遇到同样的问题,你这个mj_notify_hook是填的什么地址呀?是自己另外搭建了一个服务来接收请求吗?

@1441853031
Copy link
Author

是自己的服务器搭建的这个微信

@ladypiapia
Copy link

我刚才试了,你不用在zeabur上配置mj_notify_hook,只需要在你搭的wechat-midjourney服务里面配置mj_notify_hook就可以了,我的mj_notify_hook地址就写的:http://xx.xx.xx.xx:4120/notify,xx是我的服务器ip地址

@1441853031
Copy link
Author

我刚才试了,你不用在zeabur上配置mj_notify_hook,只需要在你搭的wechat-midjourney服务里面配置mj_notify_hook就可以了,我的mj_notify_hook地址就写的:http://xx.xx.xx.xx:4120/notify,xx是我的服务器ip地址

好了,现在就差http——proxy了,因为我用的国内服务器不显示图片,你那边怎么样

@ladypiapia
Copy link

我擦我现在也是卡在proxy这一步,在我的服务器搭建代理,搞了半天还没成功,我用的clash,但配置应该不对头,也是返回不了图片,你服务器用的什么代理

@1441853031
Copy link
Author

兄弟加个v awm8u8

@ladypiapia
Copy link

加你了,我微信OneCheat

@tomridder
Copy link

我刚才试了,你不用在zeabur上配置mj_notify_hook,只需要在你搭的wechat-midjourney服务里面配置mj_notify_hook就可以了,我的mj_notify_hook地址就写的:http://xx.xx.xx.xx:4120/notify,xx是我的服务器ip地址

我这边hook配置的也是 http://本地公网ip:4120/notify 但是依然 connect refused

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants