-
Notifications
You must be signed in to change notification settings - Fork 839
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
任务执行失败提示错误的时间戳请求 #95
Comments
docker 外环境测试是否正常 |
理论上docker环境是没有变的 |
这个问题我也出现过不下4次了 昨天和今天还是连续出现的 我设置的让云函数在gmt 16:00运行的 但是我重新设置了一个临时触发器运行就可以正常运行 跟这个有没有关系 edit: 连续三天出现这个错误了 |
只要使用内置定时器就会出问题,推送的是 |
和楼上一样换个时间试试? |
改成不是零点就好了🤥 |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
群晖6.2的docker容器
具体日志
2022-11-17 00:00:21 B站粉丝牌助手 bad timestamp request,timestamp:1668614356,watchtime:60
Traceback (most recent call last):
File "/app/fansMedalHelper/src/user.py", line 214, in start
await asyncio.gather(*tasks)
│ │ └ [<coroutine object BiliUser.asynclikeandShare at 0x7f0114f12f40>, <coroutine object BiliUser.sendDanmaku at 0x7f0114f12ec0>, ...
│ └ <function gather at 0x7f0116668f70>
└ <module 'asyncio' from '/usr/local/lib/python3.9/asyncio/init.py'>
File "/app/fansMedalHelper/src/user.py", line 272, in watchinglive
await asyncio.gather(*tasks)
│ │ └ [<coroutine object BiliApi.heartbeat at 0x7f0114683740>, <coroutine object BiliApi.heartbeat at 0x7f01146837c0>, <coroutine o...
│ └ <function gather at 0x7f0116668f70>
└ <module 'asyncio' from '/usr/local/lib/python3.9/asyncio/init.py'>
File "/app/fansMedalHelper/src/api.py", line 408, in heartbeat
return await self.__post(
└ <src.api.BiliApi object at 0x7f0115227610>
File "/app/fansMedalHelper/src/api.py", line 73, in wrapper
raise e
File "/app/fansMedalHelper/src/api.py", line 62, in wrapper
result = await func(*args, **kwargs)
│ │ └ {'data': {'access_key': 'Access_key', 'actionKey': 'appkey', 'appkey': '1d8b6e7d45233436', 'area_id': '...
│ └ (<src.api.BiliApi object at 0x7f0115227610>, 'https://live-trace.bilibili.com/xlive/data-interface/v1/heartbeat/mobileHeartBe...
└ <function BiliApi.__post at 0x7f01152c5e50>
File "/app/fansMedalHelper/src/api.py", line 135, in __post
return self.__check_response(await resp.json())
│ │ └ <function ClientResponse.json at 0x7f01153918b0>
│ └ <ClientResponse(https://live-trace.bilibili.com/xlive/data-interface/v1/heartbeat/mobileHeartBeat) [200 OK]>
│ <CIMultiDictProx...
└ <src.api.BiliApi object at 0x7f0115227610>
File "/app/fansMedalHelper/src/api.py", line 124, in __check_response
raise BiliApiError(resp['code'], resp['message'])
│ │ └ {'code': 1012003, 'message': 'bad timestamp request,timestamp:1668614356,watchtime:60', 'ttl': 1, 'data': None}
│ └ {'code': 1012003, 'message': 'bad timestamp request,timestamp:1668614356,watchtime:60', 'ttl': 1, 'data': None}
└ <class 'src.api.BiliApiError'>
src.api.BiliApiError: bad timestamp request,timestamp:1668614356,watchtime:60
The text was updated successfully, but these errors were encountered: