XYZliang / AutoZFBXiaoYuanFangYiSign

江西高校支付宝校园防疫小程序的自动打卡Python脚本+GitHub自动打卡+云函数自动打卡
GNU General Public License v3.0
75 stars 54 forks source link

Workflow run failed #25

Closed arnold117 closed 2 years ago

arnold117 commented 2 years ago

今日9时收到邮件Workflow run failed。

Run python sign.py
Traceback (most recent call last):
  File "/home/runner/work/AutoZFBXiaoYuanFangYiSign/AutoZFBXiaoYuanFangYiSign/sign.py", line 424, in <module>
2022-01-09 01:49:23.009217:19084127开始
    return_state = start(yourID)
  File "/home/runner/work/AutoZFBXiaoYuanFangYiSign/AutoZFBXiaoYuanFangYiSign/sign.py", line 286, in start
    verify_code = verify(cookie)
  File "/home/runner/work/AutoZFBXiaoYuanFangYiSign/AutoZFBXiaoYuanFangYiSign/sign.py", line 110, in verify
    res = opener.open(request)
  File "/opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/urllib/request.py", line 555, in error
    result = self._call_chain(*args)
  File "/opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/urllib/request.py", line 747, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/opt/hostedtoolcache/Python/3.9.9/x64/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
Error: Process completed with exit code 1.
1955782864 commented 2 years ago

今天校园防疫升级以后就这样了

XYZliang commented 2 years ago

目测是改接口了。放假了最近抽时间我修改一下

Barry04 commented 2 years ago

找到修改的接口了吗?关键是这个还会显示打卡成功。也不知道是咋回事

XYZliang commented 2 years ago
image image

我尝试几次后发现一切正常?是否能提供你的配置信息我看看什么情况

Barry04 commented 2 years ago

大佬看看我的仓库,我fork了你的。也出现上面的情况,我本地也不行。GitHub的action也不行

Barry04 commented 2 years ago
image image

我尝试几次后发现一切正常?是否能提供你的配置信息我看看什么情况

大佬可以弄一个交流群,交流起来比较方便些。

Barry04 commented 2 years ago

我好像知道问题所在了,他把国外的ip给拉黑了,我是先用vpn试了打卡不成功,用国内的ip发起请求就可以。可能是支付宝的问题。具体原因我不清楚。

XYZliang commented 2 years ago

我好像知道问题所在了,他把国外的ip给拉黑了,我是先用vpn试了打卡不成功,用国内的ip发起请求就可以。可能是支付宝的问题。具体原因我不清楚。

你的配置没问题,拉黑国外ip确实有很大可能。我看看怎么去利用腾讯云函数来执行。问题不是在支付宝上而是在这个系统的开发者那。估计是懒得改接口就直接禁ip来阻止云签到

image
YANGNIGHT commented 2 years ago

嘿嘿 坐等大佬出新教程

XYZliang commented 2 years ago

腾讯云的方案实现了国内用白嫖方法定时签到。新版本和教程已经更新。