Still working on my podcast player variant.
There’s one interaction which may take a few second before my Jovo code is ready to respond. I am seeing
Local server did not return a valid JSON response:
undefined
in the console log before I have finished computing the answer and returned anything.
The only thing I can think of which might explain this would be if Jovo’s server had a time limit of only a few seconds, and was timing out before I was done.
Is there indeed a timeout? If so, can I adjust it, and if not what’s the alternative?
(Basically I need to search a few URIs to determine what the next one available will be. That isn’t blindingly fast.)
I found https://github.com/jovotech/jovo-framework/issues/118 which appears similar. But all other interactions are working fine; there’s no sign of a port conflict on them. It’s just this one, which is doing a sequence of XMLHttpRequests and checking status, incrementing until it finds a match, that is blowing up.