Access Jellyfin from an Android app

What app is this about, and its version: Jellyfin 10.11.6~ynh1
What YunoHost version are you running: 12.1.39
What type of hardware are you using: Raspberry Pi 3, 4+

Describe your issue

Jellyfin is all set up an running rather fine.
It has its own subdomain (jellyfin[dot]mydomain[dot]com), and a let’s encrypt certificate.

It’s running fine from a web browser, from the local network as well as from a remote connection.
However, I cannot connect any Android app.

Note : I had to change the « remote http port » from 8096 to 8097 since it is used by Wireguard, but I’m not sure it’s used in this setup.

Share relevant logs or error messages

Mar 28 14:52:11 mpp[30518]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:11 mpp[30520]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:12 mpp[30521]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:12 mpp[30522]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:13 mpp[30524]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:13 mpp[30525]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:13 mpp[30526]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:13 mpp[30527]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:14 mpp[30528]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:14 mpp[30529]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:14 mpp[30530]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:15 mpp[30531]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:15 mpp[30532]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:15 mpp[30533]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:16 mpp[30534]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:16 mpp[30535]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:16 mpp[30536]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:16 mpp[30537]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:17 mpp[30538]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:17 mpp[30539]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:52:17 mpp[30540]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:53:06 mpp[30558]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837
Mar 28 14:53:07 mpp[30572]: mpp_platform: can not found match soc name: raspberrypi,3-model-b brcm,bcm2837

Hi @flov
Did you open the discovery ports (1900 and 7359) as shown in ynh>apps>jellyfin> admin panel ?

Yes I did, and by the way the Jellyfin app is able to show it as available on my network. I can click on it ([https]://jellyfin[dot]mydomain[dot]com), but then it fails to connect.

There is no detailed error message, but the app reports that it tried :

[https]://jellyfin[dot]mydomain[dot]com

[https]://jellyfin[dot]mydomain[dot]com:8096

[https]://jellyfin[dot]mydomain[dot]com:8920

I would expect only the first one to work though, because of the way yunohost is configuring nginx, right ?

Jellyfin is not installed on a path, right?

No, it’s at the root of its own subdomain.

Can you share gthe output of lsof -i :8097?

Nothing.

I’ve got an output for 8095 :

root@intra:~# lsof -i :8095
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
jellyfin 830 jellyfin 485u IPv4 19850 0t0 TCP localhost:8095 (LISTEN)
root@intra:~#

So this did not work, so…?

Maybe not, but at least it’s set in the network configuration :

<?xml version="1.0" encoding="utf-8"?>
<NetworkConfiguration […]>
  <BaseUrl />
  <EnableHttps>true</EnableHttps>
  <RequireHttps>false</RequireHttps>
  <CertificatePath>/etc/yunohost/certs/[my jellyfin subdomain]/crt.pem</CertificatePath>
  <InternalHttpPort>8095</InternalHttpPort>
  <InternalHttpsPort>8920</InternalHttpsPort>
  <PublicHttpPort>8097</PublicHttpPort>
  <PublicHttpsPort>8920</PublicHttpsPort>
  <AutoDiscovery>true</AutoDiscovery>
  <EnableIPv4>true</EnableIPv4>
  <EnableIPv6>false</EnableIPv6>
  <EnableRemoteAccess>true</EnableRemoteAccess>
  <LocalNetworkSubnets />
  <LocalNetworkAddresses>
    <string>127.0.0.1</string>
  </LocalNetworkAddresses>
  <KnownProxies>
    <string>127.0.0.1</string>
  </KnownProxies>
  <IgnoreVirtualInterfaces>true</IgnoreVirtualInterfaces>
  <VirtualInterfaceNames>
    <string>veth</string>
  </VirtualInterfaceNames>
  <EnablePublishedServerUriByRequest>false</EnablePublishedServerUriByRequest>
  <PublishedServerUriBySubnet />
  <RemoteIPFilter />
  <IsRemoteIPFilterBlacklist>false</IsRemoteIPFilterBlacklist>
</NetworkConfiguration>

Also, I wonder why it would work through a web browser but not the app. What’s the difference ? I though it could be related to the certificate, so I specified its path (see jellyfin’s network config in my previous post).

Did you try with 8095 ?

I just did try, it still fail.

My understanding is that the nginx reverse proxy is listening on port 443 and sending the trafic related to jellyfin[dot]mydomain[dot]com to port 8095 (jellyfin’s internal http port). Therefore, I should not care about jellyfin’s external http port (8096).

By the way, I did a fresh install on a Pi5, without Wireshark. Same result :

Connections are working well from a web browser, both from my local network and remotely, but the apps however are still unable to connect from anywhere.

I tried with a different app (JellyWath) that displayed this message :

Authentication error: Unexpected JSON token at offset O: Expected start of the object '{', but had '<' instead at path: $ JSON input: <!DOCTYPE html><html data-cap.....

This is a typical error when behind the sso. Is your Jellyfin instance accessible to visitors?

That was it !

I removed the default « visitors » authorized accounts right after the installation, it seemed safe.

I re-enabled it, now the app is working ! Thank you, and thanks @otm33 for the help too !

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