riffusion/riffusion-app-hobby

error - DOMException [TimeoutError]: The operation was aborted due to timeout

AldenBraverman opened this issue · 2 comments

Hi! Very cool project - attempting to run the inference server and the web app locally. The application seems to timeout when its generating the audio file. I've attached screenshots of my logs below, I'm running Node 19.2 as recommended in other issues threads.

RIFFUSION-APP

image

RIFFUSION-INFERENCE

image

localhost:3000

image

good

Ah yes! There is a timeout parameter in https://github.com/riffusion/riffusion-app/blob/main/pages/api/server.js which is set to 15 seconds. It's timing out since your inference is slightly slower than that. Feel free to increase it on your end, but I will change the default to 60 seconds for you.