Coder Social home page Coder Social logo

Comments (3)

glharper avatar glharper commented on June 11, 2024 4

@matt-carbon, this is a separate issue that updating to v1.32 may fix. If you still see this after updating, please open a new issue.

from cognitive-services-speech-sdk-js.

glharper avatar glharper commented on June 11, 2024

@znwhite Thank you for using JS Speech SDK, and writing this issue up. I copied your sample code and was able to get a result with correct credentials. Can you tell me more about the Azure resource you're getting the key/region pair from? Is it a Speech Service, or is it another kind of Azure resource? For the Azure Speech SDK, you have to use keys specifically from a Speech Service.

from cognitive-services-speech-sdk-js.

matt-carbon avatar matt-carbon commented on June 11, 2024

I'm seeing the same issue with some cadence reported in our logging system (but I'm unable to reproduce on my own device). We're using eastus. We get the token just fine. Transcription works normally for most users. But every once in awhile we get errors. Here's one of the logs we have:

errorCode | 4
errorDetails | Unable to contact server. StatusCode: 0, undefined Reason:
origError | 0
sessionId | 1B262BF6100A49E09CBA075231C371FD

Which comes directly form our code that logs this error:

ApptAudioTranscriber.recognizer.canceled = (
        s: Recognizer,
        e: SpeechRecognitionCanceledEventArgs,
      ) => {
        logError(e.reason, "ApptAudioTranscriber canceled", {
          data: {
            errorDetails: e.errorDetails,
            errorCode: e.errorCode,
            sessionId: e.sessionId,
          },
        });
      };

Is there any other information we can debug to understand why it go canceled? We are seeing some other errors that get logged at different times but may be correlated. Specifically Another turn started before current completed. and The number of parallel requests exceeded the number of allowed concurrent transcriptions..

Happy to open separate issues if needed.

from cognitive-services-speech-sdk-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.