# Firefox only error - Missing rid

**URL:** <https://mediasoup.discourse.group/t/firefox-only-error-missing-rid/2107>\
**Category:** mediasoup libraries\
**Created:** [December 8, 2020, 8:49pm UTC](https://mediasoup.discourse.group/t/firefox-only-error-missing-rid/2107 "2020-12-08T20:49:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![xplatsolutions](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/xplatsolutions/32/939_2.png) [@xplatsolutions](https://mediasoup.discourse.group/u/xplatsolutions)\
**Post date:** [December 8, 2020, 8:49pm UTC](https://mediasoup.discourse.group/t/firefox-only-error-missing-rid/2107/1 "2020-12-08T20:49:08Z")

</div>

I don’t have enough information about this error yet but I only receive it in a deployed environment and just identified this week. I have no issues connecting to the localhost mediasoup server using Firefox.

The error message is pretty obvious **`missing rid`** but my lack of knowledge doesn’t ring any bell in how to fix it:)

It is failing in the below method.

```auto
this.videoProducer = await this.sendTransport.produce({
        track: videoTrack,
        encodings,
        codecOptions: {
          videoGoogleStartBitrate: 1000,
        },
        codec,
      })

```

The params passed are:

```auto
encodings:
[
  {
    "scaleResolutionDownBy": 4,
    "maxBitrate": 500000
  },
  {
    "scaleResolutionDownBy": 2,
    "maxBitrate": 1000000
  },
  {
    "scaleResolutionDownBy": 1,
    "maxBitrate": 5000000
  }
]

codecOptions: 
{
  videoGoogleStartBitrate: 1000,
}

codec: undefined

```

The `undefined` codec I pass won’t fall back to the first available codec e.g. VP8?

I am using `"mediasoup-client": "^3.6.12"` and Firefox latest version `83.0 (64-bit)`. Any ideas where to start debugging? Is that related to the client\<\>server RTP Parameters? To clarify I’ve tested it before (in the previous firefox version most probably) and worked fine.

Chrome and Safari are working properly (local and hosted environments).

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [December 8, 2020, 8:57pm UTC](https://mediasoup.discourse.group/t/firefox-only-error-missing-rid/2107/2 "2020-12-08T20:57:40Z")

</div>

Please upgrade to the latest version and open an issue in GitHub if it happens again.

---

<div class="post-metadata">

**Author:** ![xplatsolutions](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/xplatsolutions/32/939_2.png) [@xplatsolutions](https://mediasoup.discourse.group/u/xplatsolutions)\
**Post date:** [December 8, 2020, 9:00pm UTC](https://mediasoup.discourse.group/t/firefox-only-error-missing-rid/2107/3 "2020-12-08T21:00:47Z")

</div>

OK will do! Thanks for your prompt reply.  
To clarify, I will update client and server libs to the below latest npm versions.

```auto
mediasoup-client: 3.6.22
mediasoup: 3.6.28

```

---

<div class="post-metadata">

**Author:** ![xplatsolutions](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/xplatsolutions/32/939_2.png) [@xplatsolutions](https://mediasoup.discourse.group/u/xplatsolutions)\
**Post date:** [December 8, 2020, 9:18pm UTC](https://mediasoup.discourse.group/t/firefox-only-error-missing-rid/2107/4 "2020-12-08T21:18:45Z")

</div>

Updating to the latest versions caused the issue to reproduced in localhost environment too. I will open a Github issue with the information in this ticket.

---

<div class="post-metadata">

**Author:** ![xplatsolutions](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/xplatsolutions/32/939_2.png) [@xplatsolutions](https://mediasoup.discourse.group/u/xplatsolutions)\
**Post date:** [December 9, 2020, 11:11am UTC](https://mediasoup.discourse.group/t/firefox-only-error-missing-rid/2107/5 "2020-12-09T11:11:13Z")

</div>

The issue has been fixed in `mediasoup-client 3.6.23`. Reference [Github issue](https://github.com/versatica/mediasoup/issues/486).
