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

Failed to translate 503 when use baidu translate #1221

Open
DhtIsCoding opened this issue Oct 23, 2024 · 0 comments
Open

Failed to translate 503 when use baidu translate #1221

DhtIsCoding opened this issue Oct 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DhtIsCoding
Copy link

Describe the bug
Translate with baidu in windows-11-23H2 WSL2 environment, and I setted user、remote、work space setting. I got some error when translate.

Extension Version
i18n Ally v2.12.0

Framework/i18n package you are using
react-i18next v15.1.0

To Reproduce
Steps to reproduce the behavior:

  1. Setting baidu Api Secret
  2. Setting baidu Appid
  3. Setting Translate: Engines baidu
  4. Translate form zh-CN to en
  5. Error happen

Device Infomation

  • OS: windows 11
  • Version: 23H2
  • VS Code Version: 1.94.2 (user setup)
  • 版本: 1.94.2 (user setup)
  • 提交: 384ff7382de624fb94dbaf6da11977bba1ecd427
  • 日期: 2024-10-09T16:08:44.566Z
  • Electron: 30.5.1
  • ElectronBuildId: 10262041
  • Chromium: 124.0.6367.243
  • Node.js: 20.16.0
  • V8: 12.4.254.20-electron.0
  • OS: Windows_NT x64 10.0.22631

Extension Log
🌍 Translating "team.team" (zh-CN->en)
🌎⚠️ Failed to translate "team.team" (zh-CN->en)
🐛 ERROR: Error: Request failed with status code 503
Error: Request failed with status code 503
at createError (/home/dht/.vscode-server/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:73241:15)
at settle (/home/dht/.vscode-server/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:73516:12)
at IncomingMessage.handleStreamEnd (/home/dht/.vscode-server/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:72591:11)
at IncomingMessage.emit (node:events:531:35)
at IncomingMessage.emit (node:domain:488:12)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[object Object]


**Screenshots**
![image](https://github.com/user-attachments/assets/7221cfe3-6f98-479b-89e8-7de8dfa0239c)
@DhtIsCoding DhtIsCoding added the bug Something isn't working label Oct 23, 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
Development

No branches or pull requests

1 participant