Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jellyfin android app disconnects on Movie Recognize due to tmdb.org block #1478

Open
3 tasks
Hunweibyn opened this issue Sep 5, 2024 · 0 comments
Open
3 tasks
Labels
bug Something isn't working

Comments

@Hunweibyn
Copy link

Hunweibyn commented Sep 5, 2024

Describe the bug

In my country, tmdb.org is blocked, resulting in a 403 error and a DNS response of 127.0.0.1. When I use the Jellyfin Android app on my cell phone connected to my personal local Wi-Fi network (which has open access to blocked sites through tunnels), the app works fine in all aspects, and I don't experience any disconnections.

However, when I disconnect from my local Wi-Fi and start using mobile data (which is a public network with restrictions on access to certain resources), the following problem occurs: If I try to recognize any movie in the library, the app shows a disconnection screen. Tapping on my Jellyfin server address immediately reconnects the app to the server.

While investigating this problem using a desktop browser on a public network with active restrictions, I got the following network information related to the blocking of tmdb.org: GET https://image.tmdb.org/t/p/original/k09zMRwIlQCKNsS6aPgDy9AWWqP.jpg net::ERR_CONNECTION_REFUSED

On the server side, there are no issues in the logs because it is in a local area network with access to tmdb.org and successfully downloads all covers and other images.

When I recognize a movie from a web browser on a public network, I get results but without pictures. It is still possible to choose a result from the recognition search, and the Jellyfin server successfully downloads all necessary movie metadata. If I do this from the local network, the results show with pictures.

It seems that when the app receives a response for a GET request to https://image.tmdb.org/*, it "thinks" it is disconnected from the Jellyfin server and reconnects whenever I try to recognize a movie, thinking there is a disconnection. Tapping on the server name on the disconnection screen immediately reconnects the app.

Is it possible to adjust this behavior so that the Jellyfin Android app can perform movie recognition with blocked access to *.tmdb.org and simply ignore the 403 response when it attempts to download pictures from tmdb on the client side?

Logs

No response

Application version

2.6.2

Where did you install the app from?

Google Play

Device information

Xiaomi Poco X3 Pro

Android version

Android 12 SKQ1.211006.001

Jellyfin server version

10.9.10

Which video player implementations does this bug apply to?

  • Web player (default)
  • Integrated player (ExoPlayer)
  • External player (VLC, mpv, MX Player)
@Hunweibyn Hunweibyn added the bug Something isn't working label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant