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

🐞 反馈问题:Unnecessay youdao request #627

Closed
5 of 6 tasks
ztlevi opened this issue Aug 1, 2024 · 3 comments
Closed
5 of 6 tasks

🐞 反馈问题:Unnecessay youdao request #627

ztlevi opened this issue Aug 1, 2024 · 3 comments
Assignees
Labels
bug Something isn't working fixed in next release The issue will be closed once next release is available

Comments

@ztlevi
Copy link

ztlevi commented Aug 1, 2024

请先确认以下事项:

  • 请务必查看 常见问题
  • 已仔细阅读了 README
  • issues 页面搜索过问题(包括已关闭的 issue),但未能找到解决方法
  • Easydict 已升级到 最新版本
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述

在关闭所有youdao的设置的情况下,还是回发送youdao的请求。因为公司防火墙把youdao给屏蔽了,导致经常会弹窗。

该问题是否可以稳定重现?

可重现

重现步骤

把 Service Settings下 mini window, fixed window, main window的youdao 都取消掉,Advanced下掉Default TTS Service也改成别的。然后在打开EasyDict时候还是会发送youdao的request。

截图

有一些youdao的request 被公司防火墙block了。贴了一些跟youdao相关的日志。

233 [2024-08-01 13:09:53.857 ● EZBaseQueryViewController ● 374 ● ℹ️] -[EZBaseQueryViewController startQueryText:actionType:] ● query actionType: auto_select_query                                                                                             2234 [2024-08-01 13:09:53.882 ● EZBaseQueryViewController ● 673 ● ℹ️] -[EZBaseQueryViewController queryCurrentModel] ● query text: viable                                                                                                                       2235 [2024-08-01 13:09:53.884 ● EZBaseQueryViewController ● 688 ● ℹ️] -[EZBaseQueryViewController queryAllSerives:] ● query: English --> Simplified-Chinese                                                                                                     2236 [2024-08-01 13:09:53.888 ● EZBaseQueryViewController ● 1542 ● ℹ️] -[EZBaseQueryViewController autoPlayEnglishWordAudio] ● Auto play English word audio: viable
2237 [2024-08-01 13:09:53.894 ● EZAudioPlayer ● 329 ● ℹ️] -[EZAudioPlayer playAudioURL:text:language:accent:serviceType:forceURL:] ● play remote audio url: https://dict.youdao.com/dictvoice?audio=viable&le=en    

2750 [2024-08-01 14:23:18.062 ● EZEventMonitor ● 518 ● ℹ️] -[EZEventMonitor getSelectedTextByAccessibility:] ● --> Accessibility getText success: /Library/Caches/com.izual.Easydict/MMLogs
2751 [2024-08-01 14:23:19.662 ● EZNetworkManager ● 49 ● ❌] -[EZNetworkManager requestCookieOfURL:cookieName:completion:]_block_invoke ● request cookie error: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKe     y=-2102, NSUnderlyingError=0x600002153090 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <66F76E09-F4F4-4286-8ACE-5     177079B202C>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
2752     "LocalDataTask <66F76E09-F4F4-4286-8ACE-5177079B202C>.<1>"
2753 ), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://fanyi.youdao.com/index.html#/, NSErrorFailingURLKey=https://fanyi.youdao.com/index.html#/, _kCFStreamErrorDomainKey=4}````

期望结果

当取消掉所有youdao的service的设置情况下,不要发送youdao请求

解决方案(可选)

No response

设备型号 && 系统版本

Apple M1 Pro, 14.5 (23F79)

是否愿意提交 PR 解决该问题?

  • 我愿意提交 PR
@ztlevi ztlevi added the bug Something isn't working label Aug 1, 2024
Copy link

github-actions bot commented Aug 1, 2024

Hello ztlevi, Thank you for your first issue contribution 🎉

@tisfeng tisfeng added the fixed in next release The issue will be closed once next release is available label Aug 2, 2024
@tisfeng
Copy link
Owner

tisfeng commented Aug 2, 2024

已知问题 #466 (comment) ,下个版本会修复。

@tisfeng tisfeng self-assigned this Aug 2, 2024
@tisfeng
Copy link
Owner

tisfeng commented Aug 12, 2024

2.8.0 版本已修复该问题。

@tisfeng tisfeng closed this as completed Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed in next release The issue will be closed once next release is available
Projects
None yet
Development

No branches or pull requests

2 participants