Bug 1629982 Comment 11 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I confirmed that the right libs are being loaded by setting the error and returning NULL at the very start of that function, then rebuilding:

```
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: NssError { name: "SEC_ERROR_NO_TOKEN", code: -8127, desc: "The security card or token does not exist, needs to be initialized, or has been removed." }', src/libcore/result.rs:1188:5
```

Without that modification (i.e. with a fresh copy of NSS_3_52_RTM), everything works for me: 
```
H3 Client connecting: V6([2601:1c2:4c80:570:3850:a692:ff2b:fb72]:63613) -> V6([2606:4700:10::6816:826]:443)
READ HEADERS[0]: Ok(([(":status", "200"), ("date", "Fri, 01 May 2020 21:32:55 GMT"), ("content-type", "text/html"), ("content-length", "106072"), ("set-cookie", "__cfduid=dbad89ce516362dad7b443fa89c69a9ee1588368775; expires=Sun, 31-May-20 21:32:55 GMT; path=/; domain=.cloudflare-quic.com; HttpOnly; SameSite=Lax; Secure"), ("expect-ct", "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""), ("server", "cloudflare"), ("cf-ray", "58cc9e2bda4e8cdf-PDX"), ("alt-svc", "h3-27=\":443\"; ma=86400, h3-25=\":443\"; ma=86400, h3-24=\":443\"; ma=86400, h3-23=\":443\"; ma=86400"), ("cf-request-id", "0273c12f6a00008cdf0d011200000001")], false))
READ[0]: 763 bytes
...
```
I confirmed that the right libs are being loaded by setting the error and returning NULL at the very start of that function, then rebuilding:

```
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: NssError { name: "SEC_ERROR_NO_TOKEN", code: -8127, desc: "The security card or token does not exist, needs to be initialized, or has been removed." }', src/libcore/result.rs:1188:5
```

Without that modification (i.e. with a fresh copy of NSS_3_52_RTM), everything works for me: 
```
H3 Client connecting: V6([2601:1c2:4c80:570:3850:a692:ff2b:fb72]:63613) -> V6([2606:4700:10::6816:826]:443)
READ HEADERS[0]: Ok(([(":status", "200"), ("date", "Fri, 01 May 2020 21:32:55 GMT"), ("content-type", "text/html"), ("content-length", "106072"), ("set-cookie", "__cfduid=dbad89ce516362dad7b443fa89c69a9ee1588368775; expires=Sun, 31-May-20 21:32:55 GMT; path=/; domain=.cloudflare-quic.com; HttpOnly; SameSite=Lax; Secure"), ("expect-ct", "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""), ("server", "cloudflare"), ("cf-ray", "58cc9e2bda4e8cdf-PDX"), ("alt-svc", "h3-27=\":443\"; ma=86400, h3-25=\":443\"; ma=86400, h3-24=\":443\"; ma=86400, h3-23=\":443\"; ma=86400"), ("cf-request-id", "0273c12f6a00008cdf0d011200000001")], false))
READ[0]: 763 bytes
...
```

Edit: Also can't reproduce on Ubuntu 18.04.

Back to Bug 1629982 Comment 11