TeamAudio / reaspeech

Speech recognition for REAPER
GNU General Public License v3.0
11 stars 1 forks source link

[bug]: Endless retries when service is down #77

Open ramen opened 2 months ago

ramen commented 2 months ago

Operating System

Linux

Other Operating System

No response

Architecture

amd64

ReaSpeech Image

reaspeech (CPU)

What were you trying to do?

I stopped the Docker container while the ReaSpeech UI was open, and tried to start a new job. Since the service was down, requests failed with a repeated message in the debug log:

"Status not found in headers, trying again later"

What actually happened?

The job was stuck at 0%, and requests continuously failed this way even after starting the server back up. If I hit the Cancel button and started a new job, it succeeded.

Steps to Reproduce

  1. Start ReaSpeech
  2. Shut down Docker container
  3. Process an item in ReaSpeech (turn on debug logging in Advanced tab)
ramen commented 2 months ago

I'm not sure why it fails to parse the curl response. In any case, there should be a maximum number of retries. After that, the job should abort, and the user should be informed.