YiiGuxing / TranslationPlugin

Translation plugin for IntelliJ based IDEs/Android Studio.
https://intellij-translation.yiiguxing.top
MIT License
11.31k stars 787 forks source link

[Auto Generated]Plugin error occurred: Failed to lookup dictionary #5976

Closed intellij-translation-plugin-bot closed 3 months ago

intellij-translation-plugin-bot commented 3 months ago

:warning:[Auto Generated Report]-=2553811F9DAA736FD14E83EACC9DC722=-

Description

Failed to lookup dictionary

Environments

Plugin version: 3.6.4

PyCharm 2021.3 (Professional Edition) Build #PY-213.5744.248, built on November 30, 2021 Runtime version: 11.0.13+7-b1751.19 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Operating system: Windows 11 10.0 Last action id: null

Stack Trace

cn.yiiguxing.plugin.translate.trans.microsoft.MicrosoftStatusException: 503 Service Unavailable - [503000] Service is temporarily unavailable. Please retry. If the error persists, report it with date/time of error, request identifier from response header X-RequestId, and client identifier from request header X-ClientTraceId.. Status=503, Url=https://api.cognitive.microsofttranslator.com/dictionary/lookup?api-version=3.0&from=en&to=zh-Hans
    at cn.yiiguxing.plugin.translate.trans.microsoft.MicrosoftHttp.throwStatusCodeException(MicrosoftHttp.kt:98)
    at cn.yiiguxing.plugin.translate.trans.microsoft.MicrosoftHttp.post(MicrosoftHttp.kt:85)
    at cn.yiiguxing.plugin.translate.trans.microsoft.MicrosoftHttp.post(MicrosoftHttp.kt:52)
    at cn.yiiguxing.plugin.translate.trans.microsoft.MicrosoftTranslatorService.dictionaryLookup(MicrosoftTranslatorService.kt:150)
    at cn.yiiguxing.plugin.translate.trans.microsoft.MicrosoftTranslator.getDictionaryLookup(MicrosoftTranslator.kt:70)
    at cn.yiiguxing.plugin.translate.trans.microsoft.MicrosoftTranslator.doTranslate(MicrosoftTranslator.kt:47)
    at cn.yiiguxing.plugin.translate.trans.AbstractTranslator.translate(AbstractTranslator.kt:22)
    at cn.yiiguxing.plugin.translate.trans.TranslateService$translate$$inlined$executeOnPooledThread$1.run(Applications.kt:166)
    at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:263)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
    at java.base/java.lang.Thread.run(Thread.java:829)
github-actions[bot] commented 3 months ago

This issue has been automatically closed because it is not an issue for this project. If you think there are something really wrong, please reply this issue. Thanks for your cooperation.