zzsj0928 / luci-app-pushbot

PushBot running on openwrt
343 stars 59 forks source link

luci-app-pushbot 钉钉推送使用过程中 遇到的错误 及解决办法 #64

Open Qifcn opened 2 years ago

Qifcn commented 2 years ago

1 推送不成功日志显示 【!!!!】当前网络不通!停止检测! 1.2 检查openwrt是否正常拨号成功 1.3 检查curl插件是否安装,我遇到就是curl插件有问题重新安装解决的

2定时任务不运行 在luci-app-pushbot插件界面设置定时任务后保存观察 系统计划任务内是否有/usr/bin/pushbot/pushbot 的定时计划 , 2.2 没有任务的话在ssh登录openwrt运行一下 /usr/bin/pushbot/pushbot send 很玄学,后面保存定时任务就正常保存。

3 注意安装相关依赖插件 依赖 iputils-arping + curl 命令,安装前请 opkg update,小内存路由谨慎安装 如果无的话运行相关命令 。wrtbwmon是检测流量相关的依赖 ,没有安装在日志里有提示。

opkg update & opkg install iputils-arping & curl & wrtbwmon

4 关于钉钉机器人推送频率的疑问 以下是官方文档说明 https://open.dingtalk.com/document/orgapp-server/invocation-frequency-limit 自定义机器人发送消息频率限制 每个机器人每分钟最多发送20条。 如果超过20条,会限流10分钟

5 放一个x86的插件仓库 注意每次在web界面上传安装插件得运行opkg update 才能安装 https://op.dllkids.xyz/packages/x86_64/

alan636 commented 2 years ago

2022-04-01 23:07:03 【!!!】无法正确获取接口信息,请确认插件是否正常运行 这种是什么意思?哪个接口异常?

Falld0wn18 commented 2 years ago

还有一个要检查的地方,钉钉的Bot如果有设置关键词,推送内容需要补充关键词,不然会收不到推送。