You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the 2.0, the load balancer serves media files itseft, but Plex tokens aren't checked, it could be nice to check token if provided and use a generated unique token when the laod balancer generate download links
The text was updated successfully, but these errors were encountered:
@Maxou44 , what do you think about the below proposal?
Current process flow by loadbalancer for download urls
if CUSTOM_DOWNLOAD_FORWARD,
redirect 307 to transcoder
else loadbalancer
process the download
Current process flow by transcoder for download urls
process the download
Propose process flow by loadbalancer for download urls
if CUSTOM_DOWNLOAD_FORWARD,
redirect 307 to transcoder. token is not check here. token will be check at transcoder end
else loadbalancer
check if token is valid
if valid, process the download
Propose process flow by transcoder for download urls
check if token is valid
if valid, process the download
Now the checking of token can only be done by making a http request to plex media server
With the original download request, we need to re-create either a HEAD request or GET request with byte range of 1024 bytes to plex media server and check the response. We do not want to forward the original download request to PMS.
A 401 response means invalid token.
Since the 2.0, the load balancer serves media files itseft, but Plex tokens aren't checked, it could be nice to check token if provided and use a generated unique token when the laod balancer generate download links
The text was updated successfully, but these errors were encountered: