You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I received a log from an user with tons of errors like this:
2023-03-23 16:19:25 [WARN] [task.transcript.AbstractTranscriptTask] Unexpected exception while transcribing: XXXX/Celular/report_XXXXX.ufdr>>files/Audio/PTT-20211226-WA0059.opus
java.net.NoRouteToHostException: No route to host: connect
at java.net.PlainSocketImpl.connect0(Native Method) ~[?:?]
at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:101) ~[?:?]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) ~[?:?]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) ~[?:?]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) ~[?:?]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:?]
at java.net.Socket.connect(Socket.java:608) ~[?:?]
at java.net.Socket.connect(Socket.java:557) ~[?:?]
at java.net.Socket.<init>(Socket.java:453) ~[?:?]
at java.net.Socket.<init>(Socket.java:230) ~[?:?]
at iped.engine.task.transcript.RemoteWav2Vec2TranscriptTask.requestServers(RemoteWav2Vec2TranscriptTask.java:129) ~[iped-engine-4.1.1.jar:?]
at iped.engine.task.transcript.RemoteWav2Vec2TranscriptTask.requestServers(RemoteWav2Vec2TranscriptTask.java:159) ~[iped-engine-4.1.1.jar:?]
at iped.engine.task.transcript.RemoteWav2Vec2TranscriptTask.transcribeAudio(RemoteWav2Vec2TranscriptTask.java:203) ~[iped-engine-4.1.1.jar:?]
at iped.engine.task.transcript.AbstractTranscriptTask.process(AbstractTranscriptTask.java:391) [iped-engine-4.1.1.jar:?]
at iped.engine.task.transcript.AudioTranscriptTask.process(AudioTranscriptTask.java:41) [iped-engine-4.1.1.jar:?]
at iped.engine.task.AbstractTask.processMonitorTimeout(AbstractTask.java:277) [iped-engine-4.1.1.jar:?]
I thought before to log unexpected errors as [ERROR] instead of [WARN], but didn't change to don't bloat user console with unknown errors. That decision was wrong, unexpected errors shouldn't be logged silently and just skip audios.
Reading the NoRouteToHostException doc: Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the remote host cannot be reached because of an intervening firewall, or if an intermediate router is down.
I'll update the code to abort if it is thrown.
The text was updated successfully, but these errors were encountered:
lfcnassif
changed the title
NoRouteToHostException causing remote transcription to skip audios silently
NoRouteToHostException causing remote transcription to skip audios
Mar 24, 2023
Today I received a log from an user with tons of errors like this:
I thought before to log unexpected errors as [ERROR] instead of [WARN], but didn't change to don't bloat user console with unknown errors. That decision was wrong, unexpected errors shouldn't be logged silently and just skip audios.
Reading the NoRouteToHostException doc:
Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the remote host cannot be reached because of an intervening firewall, or if an intermediate router is down.
I'll update the code to abort if it is thrown.
The text was updated successfully, but these errors were encountered: