Skip to content

关于 企业微信应用 消息的推送问题 #201

@Sakuralnc

Description

@Sakuralnc

大佬你好,很喜欢你这个模板,里面带的天气新闻那些特别实用

但是在使用模板时,我发现 企业微信应用 消息的推送里面,没有 企业微信反向代理 这个配置参数,导致推送消息时,提示非可信IP,从而推送失败。
我觉得天气新闻那些消息的推送,最适合的方式就是文本消息,点进消息框就能直接看到,而不是像 server酱 这种将消息折叠的,要再手动点进去才能看到推送的具体内容。
希望可以麻烦大佬修改下企业微信应用的推送吗?将推送的消息,通过反代ip连接企业微信的服务器。

ps:不设置通知配置,使用青龙自带的消息,也没办法成功推送,可能是识别不了企业微信反向代理的这个参数。青龙自带的推送,或者其他脚本,是可以通过企业微信应用正常推送的。

报错日志:
企业微信推送失败!错误信息:not allow to access from your ip, hint: [1736516947317912522870115], from ip: 124.90.xxx.xxx, more info at https://open.work.weixin.qq.com/devtool/query?e=60020

执行结束... 2025-01-10 21:49:07 耗时 1 秒   

(注:原报错日志里面,IP地址是正常显示的,是我客户端的ip地址,这里我手动隐藏了)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions