Skip to content
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

佬,脚本挂了 #3

Open
AinzLimuru opened this issue Aug 28, 2024 · 9 comments
Open

佬,脚本挂了 #3

AinzLimuru opened this issue Aug 28, 2024 · 9 comments

Comments

@AinzLimuru
Copy link

Run node main.js
🌀雷神加速器暂停助手 开始运行-------
(node:1552) UnhandledPromiseRejectionWarning: Error: Request failed with status code 418
    at createError (/home/runner/work/LeishenStop/LeishenStop/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/home/runner/work/LeishenStop/LeishenStop/node_modules/axios/lib/core/settle.js:1[7](https://github.com/AinzLimuru/LeishenStop/actions/runs/********#step:5:8):12)
    at IncomingMessage.handleStreamEnd (/home/runner/work/LeishenStop/LeishenStop/node_modules/axios/lib/adapters/http.js:260:11)
    at IncomingMessage.emit (events.js:203:15)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
(node:1552) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:1552) [DEP001[8](https://github.com/************#step:5:9)] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
@Seayon
Copy link

Seayon commented Sep 1, 2024

@AinzLimuru

#4
官网登录接口加签名了,我给他提了个 pr,或者先 fork 我 main 分支的使用
https://github.com/Seayon/LeishenAuto

@AinzLimuru
Copy link
Author

@AinzLimuru

#4 官网登录接口加签名了,我给他提了个 pr,或者先 fork 我 main 分支的使用 https://github.com/Seayon/LeishenAuto

@Seayon 佬,脚本又挂了,今天刚挂,热乎的,你自己的Action也有相同的日志

@luanche
Copy link

luanche commented Nov 8, 2024

感觉应该是雷神的api被服务器运营商墙了,雷神自己的官网也没办法用密码登陆了
image

@Seayon
Copy link

Seayon commented Nov 8, 2024

image

没错啊,官网自己都坏了

@luanche
Copy link

luanche commented Nov 14, 2024

现在又正常了,我的已经可以用了

@luanche
Copy link

luanche commented Dec 4, 2024

官网的登陆接口又没办法用了,可以试试改成移动端网站的登陆接口,我刚试了能用。拿到token之后其他接口可以不用变
https://www.leigod.com/m/mlogin.html?region_code=1&language=en&platform=0
https://webapi.leigod.com/wap/login/bind/v1

{
  "username": "",
  "password": "",
  "user_type": "0",
  "src_channel": "guanwang",
  "code": "",
  "country_code": 86,
  "lang": "en",
  "os_type": 5,
  "ts": "1733277420",
  "sign": ""
}

@tttwwy
Copy link

tttwwy commented Jan 21, 2025

又不能使用了,是否方便更新一下,非常感谢

@Seayon
Copy link

Seayon commented Jan 22, 2025

又不能使用了,是否方便更新一下,非常感谢

@tttwwy

官网登录接口增加了验证码,登录的路子不好走。
我切换成了手动登录拿 account_token 然后直接配置 account_token 的方法,不过没有验证 account_token 可以使用多久,在分支
https://github.com/Seayon/LeishenAuto/tree/feature/switch-wap-login 你可以合并尝试一下
等我验证好后会提交 pr。

@tttwwy
Copy link

tttwwy commented Jan 22, 2025

又不能使用了,是否方便更新一下,非常感谢

@tttwwy

官网登录接口增加了验证码,登录的路子不好走。 我切换成了手动登录拿 account_token 然后直接配置 account_token 的方法,不过没有验证 account_token 可以使用多久,在分支 https://github.com/Seayon/LeishenAuto/tree/feature/switch-wap-login 你可以合并尝试一下 等我验证好后会提交 pr。

非常感谢,我试一下看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants