Closed Bug 1849102 Opened 1 year ago Closed 1 year ago

app.plex.tv - Plex website cannot communicate with local Plex media server with DNS-over-HTTPS due to CORS blocking when plex.direct resolves to local IP address.

Categories

(Core :: Networking: DNS, defect)

Firefox 116
Desktop
Linux
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox116 --- wontfix

People

(Reporter: rbucata, Unassigned)

References

(Blocks 1 open bug, )

Details

From github: https://github.com/webcompat/web-bugs/issues/125909.

<!-- @browser: Firefox 116.0 -->
<!-- @ua_header: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0 -->
<!-- @reported_with: unknown -->

URL: https://app.plex.tv

Browser / Version: Firefox 116.0
Operating System: Linux
Tested Another Browser: Yes Chrome

Problem type: Something else
Description: CORS
Steps to Reproduce:
Plex website cannot communicate with local Plex media server due to CORS blocking.
<details>
<summary>View the screenshot</summary>
<img alt="Screenshot" src="https://webcompat.com/uploads/2023/8/0299a919-63aa-4207-b747-56c5805525bb.jpg">
</details>

<details>
<summary>Browser Configuration</summary>
<ul>
<li>None</li>
</ul>
</details>

From webcompat.com with ❤️

Change performed by the Move to Bugzilla add-on.

OS: Android → Linux
Hardware: Unspecified → Desktop
Version: unspecified → Firefox 116

The issue was reported via the webcompat.com reporter. Since DNS over HTTPS is a browser feature, we have moved the issue. Please feel free to move the issue to the relevant project and component.

Looking at how the plex.direct thing is implemented, I found this article: https://words.filippo.io/how-plex-is-doing-https-for-all-its-users/
It seems attempting to resolve 192-168-10-2.844cb447b90941e896bda2777b4b0832.plex.direct will return 192.168.10.2
However, by default DoH ignores local IP addresses. This can be changed by flipping the network.trr.allow-rfc1918 pref to true.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
Summary: app.plex.tv - Plex website cannot communicate with local Plex media server with DNS-over-HTTPS due to CORS blocking → app.plex.tv - Plex website cannot communicate with local Plex media server with DNS-over-HTTPS due to CORS blocking when plex.direct resolves to local IP address.
You need to log in before you can comment on or make changes to this bug.