Skip to content

[Tracking] DLS: Using in Firefox put Web Socket in infinite reconnection loop #2672

Open

Description

This is a tracking bug.

Version

master, not on production yet.

Describe the bug

Firefox default language ID to en instead of en-US.

Since Cognitive Services do not support en, but en-US and en-GB, thus, it error-ed out.

Speech SDK keep reconnecting whenever their service return error.

Steps to reproduce

This can be reproduced on any browsers with unsupported language identifier.

  1. Open Firefox (or any browsers)
  2. Make sure the language is en, instead of en-US (Firefox default to en)
  3. Open dev tools, go to network tab
  4. Open 06.i.direct-line-speech sample

Expected behavior

It error out once or twice. Then stop.

Additional context

[Bug]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions