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

提取几分钟后就出现异常,所有游戏都有这个问题,报错如下: #176

Open
GithubTezuka opened this issue Aug 21, 2022 · 7 comments

Comments

@GithubTezuka
Copy link

图片
请问是我哪里设置不对,还是缺少什么运行库

@mokurin000
Copy link
Contributor

看样子接口调用寄了
但不知道是请求格式改了还是你token寄了

@GithubTezuka
Copy link
Author

GithubTezuka commented Aug 21, 2022 via email

@mokurin000
Copy link
Contributor

我是不是应该把那一排排代码发出来才能进一步确定问题,我重下了yuki,关闭了安全软件,重启电脑还是一样的报错。

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2022年08月22日 03:57 | | 收件人 | @.> | | 抄送至 | @.@.> | | 主题 | Re: [project-yuki/YUKI] 提取几分钟后就出现异常,所有游戏都有这个问题,报错如下: (Issue #176) | 看样子接口调用寄了 但不知道是请求格式改了还是你token寄了 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

啊这 你这一说我才发现你把自己token截出来了……
如果你根据安装时的教程自己获取token后仍然有相同错误 就是调用寄
否则应该是你的token寄了/你没有改默认token

@Yamiqu
Copy link

Yamiqu commented Aug 22, 2022

emmm,看了下,也就最近一个星期,百度翻译的api调用新增了Acs-Token这个header参数。
如果不携带参数有时会出现上面的errno:1022错误。
测试了下接口,在不带这个参数的时候也可以请求成功,隔会儿测就抛1022,很玄学的判定。
然后如果写死的话,多查询几次可能也会出错。

目前想到可解方案有:写个随机函数,请求的时候概率带个acs-token的请求头 😂。

可能先得要扒一下它的加密逻辑。

@GithubTezuka
Copy link
Author

GithubTezuka commented Aug 22, 2022 via email

@zzxdt
Copy link

zzxdt commented Aug 24, 2022

目前的api只有百度能好用一些,但是百度还经常报错

@zzxdt
Copy link

zzxdt commented May 7, 2024

图片 请问是我哪里设置不对,还是缺少什么运行库

项目太老了,看这个:https://github.com/zzxdt/YuKiGalGamePro

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