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: TTS Error #2037

Closed intellij-translation-plugin-bot closed 2 years ago

intellij-translation-plugin-bot commented 2 years ago

:warning:[Auto Generated Report]-=D239CB8C00C0151E2736B1888DDA62FC=-

Description

TTS Error

Environments

Plugin version: 3.3.4+203u212

IntelliJ IDEA 2021.1.1 (Ultimate Edition) Build #IU-211.7142.45, built on April 30, 2021 Runtime version: 11.0.10+9-b1341.41 amd64 VM: Dynamic Code Evolution 64-Bit Server VM by JetBrains s.r.o. Operating system: Windows 10 10.0 Last action id: null

Stack Trace

javax.net.ssl.SSLException: Software caused connection abort: recv failed
    at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:349)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:292)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:287)
    at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:144)
    at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1409)
    at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1315)
    at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:440)
    at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:411)
    at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)
    at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:197)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
    at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
    at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:334)
    at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:620)
    at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:356)
    at com.intellij.util.io.HttpRequests$RequestImpl.getInputStream(HttpRequests.java:364)
    at com.intellij.util.io.HttpRequests$RequestImpl.doReadBytes(HttpRequests.java:424)
    at com.intellij.util.io.HttpRequests$RequestImpl.readBytes(HttpRequests.java:420)
    at com.intellij.util.io.RequestBuilder.lambda$readBytes$3(RequestBuilder.java:78)
    at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:531)
    at com.intellij.util.io.HttpRequests.process(HttpRequests.java:513)
    at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:332)
    at com.intellij.util.io.RequestBuilder.readBytes(RequestBuilder.java:78)
    at cn.yiiguxing.plugin.translate.tts.GoogleTTSPlayer.play(GoogleTTSPlayer.kt:146)
    at cn.yiiguxing.plugin.translate.tts.GoogleTTSPlayer.access$play(GoogleTTSPlayer.kt:36)
    at cn.yiiguxing.plugin.translate.tts.GoogleTTSPlayer$PlayTask.run(GoogleTTSPlayer.kt:86)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:998)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:497)
    at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:228)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
    at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:228)
    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
    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:834)
    Suppressed: java.net.SocketException: Software caused connection abort: socket write error
        at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110)
        at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
        at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:81)
        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:380)
        ... 43 more
Caused by: java.net.SocketException: Software caused connection abort: recv failed
    at java.base/java.net.SocketInputStream.socketRead0(Native Method)
    at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
    at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
    at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
    at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
    at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
    at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:110)
    ... 40 more
liuHongJie1217 commented 2 years ago

mac 同问

sth0409 commented 2 years ago

+1

lentilsKuo commented 2 years ago

+1

stateIs0 commented 2 years ago

+1

sth0409 commented 2 years ago

应该只是Google翻译出问题了,切换到百度翻译和阿里翻译能用了 百度翻译 阿里翻译有免费100'0000字符的额度

YiiGuxing commented 2 years ago

网络问题。。。