Plexamp remote control cannot detect player installed on Chrome OS

I’ve looked around and the most relevant post is focused on Plexamp clients installed on AndroidTV.

We have two different model Chromebooks, one is a tablet which we use as a music hub. I would LOVE to be able to control it remotely, but the device does not appear among other available devices when attempting to use remote control (through “cast”).

I have toggled remote settings, restarted all devices, restarted PMS, without luck. What’s interesting is the Plexamp client running on the Chromebooks (Android) can remote control other android devices like my phone without issue.

Thoughts? What can I provide?

Sorry, so you’re running Plexamp on the Chromebook and it’s not showing up as a remote control target?

If so, please post the Plexamp logs from the Chromebook.

Sorry for the delay, was literally in the hospital and couldn’t access the device.

Chromebook logs:
Logs from Chromebook 930599884313098.zip (2.0 MB)

Logs from phone (just in case):
Logs from Pixel 3.zip (183.6 KB)

And the answer to the question is yes, I cannot detect the Chromebook from Plexamp running on any other device.

Plexamp on the Chromebook shows and connects with other non-Chromebook devices, so the other direction seems to function.

Sorry to hear you were in the hospital, hope you’re doing better.

The Chromebook looks like it’s registering properly:

Mar 16, 2022 21:47:42.929 [Javascript] INFO - Companion: Registering device at 100.115.92.14:52283.

However, the Pixel doesn’t seem to be able to connect to that address:

Mar 17, 2022 20:49:09.237 [0xd68d5cb0] DEBUG - Networking: Completed request 155: (GET http://100.115.92.14:52283/resources) with code -28 (have 0 bytes) in 5001 ms.

That code is CURLE_OPERATION_TIMEDOUT which means it never managed to connect. So I would check that (a) that is the correct address to be registering and (b) that you can reach it from whatever network the controllers are on.

Here is a screenshot of the network interfaces on the Chromebook from the logs. It seems they sandbox the Android apps with virtual IPs for security and don’t let IP calls through. See Jim Dantin’s long comment in here (couldn’t see a way to direct link on mobile): Chromebook Community

Not sure how to address the issue but there aren’t any related network configuration options in Chrome OS (unsurprisingly).

Random thought: hospitals, hotels and other public WiFi installations usually activate “client separation” on their networks.
Thus preventing different devices within the same network from contacting each other.

1 Like

I’m this case it’s a simple home network.

Something changed with the most recent update as I can now see the Chromebook listed in the cast devices from the phone. It still won’t allow sending a song…

…but it does allow stopping music which is already playing on the Chromebook.

So it’s starting to work with the Chromebook, but needs a bit more to be fully functional.

Logs
2022-03-27 From Chromebook.zip (1.8 MB)
2022-03-27 From phone.zip (158.3 KB)

The Chromecast claims to be listening:

INFO - Companion: Registering device at 100.115.92.14:52283.

The phone claims to be enable to reach it:

WARNING - DEVICE: Player connection http://100.115.92.14:52283 didn't work for Chromebook CM3: HTTP status -28

Perhaps they are on different subnets?

The reason you’re able to do basic remote control is because of a feature we added in v4.1 which allows some control via the cloud, which works around local network issues.

Only one subnet in use on my network. What else can I provide to make this work?

Pausing and skipping playing tracks using the cloud features is helpful, but ideally users could remote control the Chromebook similar to an Android device.

Can you hit the URL from the phone, e.g. in Safari?

http://100.115.92.14:52283/resources should give you something back.

We have to figure out what side is misbehaving to have any luck in solving it.

100.115.92.14 is in the shared RFC 6598 range.

Chrome OS puts Android apps in an isolated network, where they get these IPv4 addresses. Outbound traffic goes through a layer of NAT translation. Android apps on Chrome OS aren’t expected to be IPv4-reachable.

Start building apps for ChromeOS  |  Android Developers

IPv4 traffic will pass through an internal layer of network address translation (NAT), and IPv6 unicast traffic will be routed through an extra hop. Outbound unicast connections from an Android app to the internet should mostly work as-is; but in general, inbound connections are blocked.

There’s no point in Plexamp ever registering an RFC 6598 address as a controllable endpoint.

@allthesames - ask @elan for IPv6. :slight_smile:

TIL, thank you!

1 Like

IPv6 would work around the sandboxing?

What else is needed here? I’m currently using a workaround of casting music to the browser on the Chromebook via the main Plex app (which smartly opens within Plexamp, though no remote volume control through).

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.