Wit.ai Dictation Request Timing Out
Hi,
I've been running into an issue with the Wit.ai dictation service in my Unity VR project and would really appreciate any help or pointers from people who've dealt with something similar.
The cofigurations that i'm using as follows:
- Device: Meta Quest Pro (standalone mode)
- Unity version: 2022.3.x LTS
- SDK: com.meta.xr.sdk.voice@69.0.0
What's happening:
The microphone starts fine, audio is captured and transmitted without any apparent issue, but the request consistently fails at the point where the server should return a transcription. Here is the error I'm seeing:
[VSDK] [SpeechService] [BaseSpeechService.cs:264] Request Failed
HTTP Error 503: System.Net.WebException: The remote server returned an error: (503) Service Unavailable.
at System.Net.HttpWebRequest.GetResponseFromData (System.Net.WebResponseStream stream, System.Threading.CancellationToken cancellationToken) [0x00146] in <36d5d97f0e39429283d80156f1c7f1fc>:0
at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <36d5d97f0e39429283d80156f1c7f1fc>:0
at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00020] in <36d5d97f0e39429283d80156f1c7f1fc>:0
at Meta.WitAi.WitRequest.HandleResponse (System.IAsyncResult asyncResult) [0x00034] in .\Library\PackageCache\com.meta.xr.sdk.voice@69.0.0\Lib\Wit.ai\Scripts\Runtime\WitRequest.cs:633
Request Id: 1777907594-580491d1-b43e-4335-8900-4001fba36b2d [1d5ec5c8-9c59-4de2-9c01-256ea3d2135a]
=== STACK TRACE ===
One thing worth mentioning: this service has been working reliably in my project for a long time with no code changes on my end. The issue started appearing on April 22nd out of nowhere, which makes me think something may have changed on the service side rather than in my setup.
Any suggestions would be much appreciated — thanks!
Tonglin
