wit-ai / wit-ios

Wit.ai iOS client
Other
222 stars 71 forks source link

[Wit] error: The request timed out. (code: -1001) #50

Closed tielur closed 5 years ago

tielur commented 9 years ago

I'm getting this error when using the SDK. It seems to be related to the length of the recording ( about ~ 15 seconds ). I've set the vadTimeout to 15000.

[Wit sharedInstance].vadTimeout = 15000;

The error is happening here The localizedDescription is:

Got connection error: The request timed out.

Has anyone seen anything like this? I'm not sure what's going on. I've reached out to Wit support as well.

l5t commented 9 years ago

Hi Tyler, Thanks for reporting, with long audio, we have experienced for the last couple of week an increased response time. It is very likely that the time out comes from there... We hope to have more info on the timing to decrease the response time in the next 2 weeks Sorry for the inconvenience

theiosdevguy commented 7 years ago

I am facing the exact issue. With audio of about 15 seconds its working fine. But when audio is more than 15 seconds, the api returns timeout. Please suggest a way around.