• Seroton_Karlbaey

    Endpoint: https://api.deeplx.org/<valid_token>/translate

    我已经确认 <valid_token> 是有效的,并且已经 rotate 过一次 token。

    本来接入 KISS Translator,报了 429,接着使用 curl 做测试。下方是 bash 脚本。```
    #!/usr/bin/bash
    deeplx_endpoint="https://api.deeplx.org/<valid_token>/translate&quot;

    curl -X POST -d '{
    "text": "Hello, I am Seroton!",
    "target_lang": "ZH-HANS"
    }' -H "Content-Type: application/json" -v $deeplx_endpoint -o dlx_response.txt
    ``标准输出(开了 --verbose):``
    Note: Unnecessary use of -X or --request, POST is already inferred.
    * Uses proxy env variable https_proxy == 'http://127.0.0.1:10808&#039;
    * Trying 127.0.0.1:10808...
    * CONNECT: no ALPN negotiated
    * Establishing HTTP proxy tunnel to api.deeplx.org:443

    CONNECT api.deeplx.org:443 HTTP/1.1
    Host: api.deeplx.org:443
    User-Agent: curl/8.21.0
    Proxy-Connection: Keep-Alive

    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 0< HTTP/1.1 200 Connection established
    <
    * CONNECT phase completed for HTTP proxy
    * CONNECT tunnel established, response 200
    * schannel: disabled automatic use of client certificate
    * ALPN: curl offers http/1.1
    * ALPN: server accepted http/1.1
    * Established connection to 127.0.0.1 (127.0.0.1 port 10808) from 127.0.0.1 port 7135
    0 0 0 0 0 0 0 0 0* using HTTP/1.x

    POST /you-wanna-hack-this-huh/translate HTTP/1.1
    Host: api.deeplx.org
    User-Agent: curl/8.21.0
    Accept: /
    Content-Type: application/json
    Content-Length: 60

    } [60 bytes data]
    * upload completely sent off: 60 bytes
    100 60 0 0 100 60 0 12 00:05 00:04 00:01 14* schannel: remote party requests renegotiation
    * schannel: renegotiating SSL/TLS connection
    * schannel: SSL/TLS connection renegotiated
    < HTTP/1.1 429 Too Many Requests
    < Date: Wed, 05 Aug 2026 14:43:05 GMT
    < Content-Type: application/json; charset=utf-8
    < Content-Length: 42
    < Connection: keep-alive
    < Server: cloudflare
    < x-server: deeplx/1.0.2
    < cf-cache-status: DYNAMIC
    < Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
    < Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
    < X-Content-Type-Options: nosniff
    < Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=balallabalala"}]}
    < CF-RAY: abcdefg-ORD
    <
    { [42 bytes data]
    100 102 100 42 100 60 7 10 00:06 00:05 00:01 19
    * Connection #0 to host api.deeplx.org:443 left intact
    ```dlx_response.txt:```
    {"code":429,"message":"too many requests"}

    主楼
  • GreenYoshi

    换个节点试试?通常就是"当前ip或key请求次数过多",触发了限速

    #1
  • 小坏

    我的也这样了 哎 不知道啥原因啊

    #2
  • happyness_hj

    我的也是,很久没有用了后面组会用来翻译论文的今晚正好就出问题了 ^-^

    #3
  • Seroton_Karlbaey

    换了十个来自不同地区的节点,看起来都不行。

    #4

发表回复

登录后回复