Video playback is broken when using MTLS #4034

Closed
opened 2026-02-05 09:37:33 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @piotrszlenk on GitHub (Aug 7, 2024).

The bug

It seems that video playback is broken when using mTLS with Cloudflare. Apparently ExoPlayer on Android mobile app does not perform mTLS with Cloudflare, hence Cloudflare blocks such request.

The OS that Immich Server is running on

Ubuntu 22

Version of Immich Server

v1.111.0

Version of Immich Mobile App

v1.111.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

n/a

Your .env content

n/a

Reproduction steps

1. Setup mTLS on Cloudflare and issue a certificate
2. Download certificate and import to the mobile app during and perform login process
3. Enable custom rule on Cloudflare and reject calls without mTLS
4. Try to play a video via immich mobile app

Relevant log output

No response

Additional information

No response

Originally created by @piotrszlenk on GitHub (Aug 7, 2024). ### The bug It seems that video playback is broken when using mTLS with Cloudflare. Apparently ExoPlayer on Android mobile app does not perform mTLS with Cloudflare, hence Cloudflare blocks such request. ### The OS that Immich Server is running on Ubuntu 22 ### Version of Immich Server v1.111.0 ### Version of Immich Mobile App v1.111.0 ### Platform with the issue - [ ] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML n/a ``` ### Your .env content ```Shell n/a ``` ### Reproduction steps ```bash 1. Setup mTLS on Cloudflare and issue a certificate 2. Download certificate and import to the mobile app during and perform login process 3. Enable custom rule on Cloudflare and reject calls without mTLS 4. Try to play a video via immich mobile app ``` ### Relevant log output _No response_ ### Additional information _No response_
Author
Owner

@bo0tzz commented on GitHub (Aug 7, 2024):

#5553

@bo0tzz commented on GitHub (Aug 7, 2024): #5553
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#4034