Coder Social home page Coder Social logo

脚本通知有概率丢失 about elecv2p HOT 15 CLOSED

elecv2 avatar elecv2 commented on August 18, 2024
脚本通知有概率丢失

from elecv2p.

Comments (15)

elecV2 avatar elecV2 commented on August 18, 2024

from elecv2p.

id77 avatar id77 commented on August 18, 2024

from elecv2p.

elecV2 avatar elecV2 commented on August 18, 2024

from elecv2p.

id77 avatar id77 commented on August 18, 2024

image
image

看一下 Rss 有没有吧,如果没有就是没有通知,有的话可能是和 BARK 之间的通信有问题,也有可能是 BARK 限制短时间内的通知次数。

BARK

查看过BARK推送历史,的确没有

在 2020年12月4日,下午2:47,elecV2 [email protected] 写道:



通知方式是 IFTTT?BARK?RSS?

如果是 IFTTT ,可以打开 IFTTT 软件看一下通知记录,是否都正常推送了。

IFTTT 如果没有 message 信息,而只有 title 默认会通知失败。可以在 message 那一栏加一些固定字符,比如通知时间,确保一定有内容触发通知。

多账号的脚本,有时候只能收到其中一个账号的通知。查看日志,丢失的账号通知,是正常的。

但是手机没有正确收到推送。

from elecv2p.

id77 avatar id77 commented on August 18, 2024

Feed 只能看到今天早上的记录。
我5点的双账号脚本通知不正常。

from elecv2p.

elecV2 avatar elecV2 commented on August 18, 2024

from elecv2p.

id77 avatar id77 commented on August 18, 2024

直接网页打开 rss 链接,应该可以看到全部记录,默认不清理。

如果不是很影响,就别管了,正常来说是不会丢通知的。

Feed 只能看到今天早上的记录。

我5点的双账号脚本通知不正常。

认真对比了,feed的记录有下午的,只不过时间晚几个点。记录也挺全。

怀疑是Bark这里有问题,我换回IFTTT用一天看看

其实还是有影响的,双账号如果那一个cookie过期会不知道。

from elecv2p.

id77 avatar id77 commented on August 18, 2024

你那个 elecv2/elecv2p:arm64 镜像,没添加 tzdata

environment:
      - TZ=Asia/Shanghai

这个不生效,所以我feed时间不对

from elecv2p.

id77 avatar id77 commented on August 18, 2024

换了IFTTT,还是丢通知

image
image

from elecv2p.

elecV2 avatar elecV2 commented on August 18, 2024

from elecv2p.

id77 avatar id77 commented on August 18, 2024

丢的是哪条?账号2的两条都丢了吗?

看一下 errors.log 有没有相关信息。

如果 rss 里有,而个别通知收不到,除了网络问题,暂时想不到其他原因。

换了IFTTT,还是丢通知

萌宠账号1没通知

只看到助力码api请求失败。但是日志都已经有账号1完整的通知信息了的,feed也有账号1的记录。

问题是在于推送这块。

[jd_pet.js error][2020/12/5 11:01:35]: $httpClient {"url":"http://api.turinglabs.net/api/v1/jd/pet/read/5/"} timeout of 5000ms exceeded
[jd_pet.js info][2020/12/5 11:01:35]: "request config error"

from elecv2p.

id77 avatar id77 commented on August 18, 2024

你看下,两个推送都开了,还能不一样。

image
image

from elecv2p.

elecV2 avatar elecV2 commented on August 18, 2024

from elecv2p.

id77 avatar id77 commented on August 18, 2024

docker logs elecv2p -f

查看日志,发现有些脚本没有具体log,只有[runJSFile notify][2020-12-07 00:00:00.002]: run xxxx.js from task

没有
[xxxx...js notify][2020-12-07 00:05:42.644]: 日志内容

已经更新过docker镜像了。我查看了京东签到,双账号一个通知都没发出,bark、ifttt均没有推送,但两账号签到都完成了。

from elecv2p.

elecV2 avatar elecV2 commented on August 18, 2024

from elecv2p.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.