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

503 #152

Closed
AndreasMarin opened this issue Nov 3, 2024 · 1 comment
Closed

503 #152

AndreasMarin opened this issue Nov 3, 2024 · 1 comment

Comments

@AndreasMarin
Copy link

在使用deeplx_windows_amd64.exe时发现:

[GIN] 2024/11/03 - 12:59:18 | 503 |    3.0504768s |             ::1 | POST     "/translate"
[GIN] 2024/11/03 - 13:02:25 | 503 |    1.2166269s |             ::1 | POST     "/translate"

重复下载文件后问题仍然存在,以下是postman测试的raw和response:

{
    "text": "Hello World",
    "source_lang":"EN",
    "target_lang":"ZH"
}
{"code":503,"message":"Translation failed, API returns an empty result."}

最后尝试使用docker部署了一遍发现可以用,那么为什么使用exe返回503呢?

@missuo
Copy link
Member

missuo commented Nov 3, 2024

I do not have a Windows device for testing, but please note that the binary files for Windows are cross-compiled and generated by Go, so theoretically they should be the same.

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

2 participants