Closed germanattanasio closed 9 years ago
More information from a user trying to send a 12mb audio file to recognize()
I think this could be related to a timeout issue with requests
. See https://github.com/request/request#requestoptions-callback
I did some research and the problem was related to the load balancer and a glitch in the network.
The request never got to the service and that's why we got a 500: forwarding error
.
This is not related to the wrapper
When attempting to use the speech to text example included in the
watson-developer-cloud
npm package it returns an HTTP 500 error.The only changes I've made, barring including my authentication information, is to include a new audio file that is
audio/flac format
4.2MB and 46 seconds long, and to set the qs option ascontinuous
and thetransfer_encoding
as chunked.Other details that may or may not be relevant include that the audio was originally wav format and converted to flac using a command line tool, and that when I run the sample request with the example audio it returns successfully.