OwO-Network / DeepLX

Powerful Free DeepL API, No Token Required
https://ssa.sx/deeplx
MIT License
6.68k stars 534 forks source link

503 error on free endpoint #149

Open linakima opened 3 weeks ago

linakima commented 3 weeks ago

It always returns 503 Server Error.

url = "http://127.0.0.1:1188/translate"
    headers = {
        "Content-Type": "application/json",
        "Authorization": 123
    }
    payload = {
        "text": こんにちは,
        "source_lang": JA,
        "target_lang": EN
    }
bropines commented 3 weeks ago

Same error

missuo commented 3 weeks ago

Known bug, please wait for fix.

zhonghanwen commented 3 weeks ago

I'm having the same problem.

iwater commented 3 weeks ago

+1

missuo commented 3 weeks ago

I have recaptured and analyzed the data packets. It seems that DeepL has officially stopped the old API.

I am currently not sure if the new API can be utilized. If I have time, I will try to fix it. Please be patient.

Knomo-exe commented 2 weeks ago

+1

zhangyiming748 commented 2 weeks ago

Same error

missuo commented 2 weeks ago

Temporary fix for Free Endpoint, temporarily remove Pro Endpoint.

Reference: https://github.com/cnbeining/DeepLX-Python.

Many thanks to Ning Bei.

https://github.com/OwO-Network/DeepLX/releases/tag/v0.9.8.1

showgood163 commented 2 weeks ago

Temporary fix for Free Endpoint, temporarily remove Pro Endpoint.

Reference: https://github.com/cnbeining/DeepLX-Python.

Many thanks to Ning Bei.

https://github.com/OwO-Network/DeepLX/releases/tag/v0.9.8.1

For now it's working.

EDIT: Sometimes I cannot get the translation, although in logs all requests are returned with 200.

Patrosi73 commented 2 weeks ago

still returns 503 even with the new update. image

https://github.com/cnbeining/DeepLX-Python works but I get rate-limited after about 4 translations

missuo commented 2 weeks ago

I added Pro Endpoint, but it may not actually be functional (available, but no advantage like Free), still needs to be tested and verified.

showgood163 commented 2 weeks ago

I added Pro Endpoint, but it may not actually be functional (available, but no advantage like Free), still needs to be tested and verified.

Tested arm64 binary release from GitHub. Version 0.9.8.2 breaks the free api while version 0.9.8.1 works.

missuo commented 2 weeks ago

I added Pro Endpoint, but it may not actually be functional (available, but no advantage like Free), still needs to be tested and verified.

Tested arm64 binary release from GitHub. Version 0.9.8.2 breaks the free api while version 0.9.8.1 works.

Sorry, seems my bad. Already fixed in the next version. https://github.com/OwO-Network/DeepLX/releases/tag/v0.9.8.3

showgood163 commented 2 weeks ago

Sorry, seems my bad. Already fixed in the next version. https://github.com/OwO-Network/DeepLX/releases/tag/v0.9.8.3

The free endpoint in v0.9.8.3 works for now.

Owyn commented 2 weeks ago

[GIN] 2024/11/07 - 21:27:43 |←[97;41m 503 ←[0m| 480.7874ms | 127.0.0.1 |←[97;46m POST ←[0m "/translate"

same thing with both v0.9.8.3 and v0.9.8.1 win amd 64 - doesn't work