UlionTse / translators

🌏🌍🌎Translators🌎🌍🌏 is a library that aims to bring free, multiple, enjoyable translations to individuals and students in Python. Translators是一个旨在用Python为个人和学生带来免费、多样、愉快翻译的库。
https://pypi.org/project/translators/
GNU General Public License v3.0
1.64k stars 190 forks source link

[Bug]: 504 Server Error: Gateway Time-out for url: https://aidemo.youdao.com/trans #156

Closed FunnySaltyFish closed 6 months ago

FunnySaltyFish commented 6 months ago

Debug Tips

What happened?

https://aidemo.youdao.com/trans, Youdao has closed this website.

APP Version

5.9.0

Python Version

3.10

Runtime Environment

Windows 10

Country/Region

China

Relevant log output

No response

Screenshots

![DESCRIPTION](LINK.png)

Code of Conduct

UlionTse commented 6 months ago

@FunnySaltyFish Nope, bro. This url is api_url, not host_url. You know, api_url needs post+payload to request usually.

translators_issue_156
FunnySaltyFish commented 6 months ago

Thanks for replying.

This url is api_url, not host_url. Yeah, I know it. The error message is copied directly from my server's log. At the time I submitted this issue, the website displayed '502 Error' only and the youdao engine didn't work anymore, neither on the server nor on my local computer.

It looks like that was Youdao's issue at that time. The code works fine in my computer as well, now. I will run it on server and continue to observe its work status. I'll close the issue now.