W01fw00d / text-to-voice

Transform text doc to voice audio file
GNU General Public License v3.0
0 stars 0 forks source link

Sometimes, voiceGenerator crashes #16

Open W01fw00d opened 3 years ago

W01fw00d commented 3 years ago

I believe it's caused by my poor internet connection (every call to the gtts library needs to connect to the gtts web I think), because it gets better when connecting with ethernet (more stable).

internal/streams/legacy.js:59
      throw er; // Unhandled stream error in pipe.
      ^

Error: connect ETIMEDOUT 172.217.25.110:443
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1129:14) {
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '172.217.25.110',
  port: 443
}