plexdrive icon indicating copy to clipboard operation
plexdrive copied to clipboard

Error 416 Requested range not satisfiable

Open syaifulnizamyahya opened this issue 7 years ago • 4 comments

Ive been getting this error a lot. I cant play my media in Kodi. I dont have this error if I play using windows(mpc). I received this when i use libreelec and windows kodi. Probably not plexdrive error, but i would like some insights. For windows, I use the latest stable. I already rebuilt my cache. My plexdrive version is 5.0.0

These are my mount options.

echo Mounting using Plexdrive 5 /usr/sbin/plexdrive mount
-c /mnt/user/Cloud/ijm/apps/plexdrive/config
--cache-file=/mnt/user/Cloud/ijm/apps/plexdrive/cache/cache.bolt
--gid=100
--uid=99
--verbosity=3
--umask=0777
-o allow_other
/mnt/user/Cloud/ijm/ijm

These are the errors that I get

[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Starting download 1YceIOH0pDyoDfoGAf2PFC0drLkhKIK7t:104857600 (preload: false) [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Deleted chunk 1YceIOH0pDyoDfoGAf2PFC0drLkhKIK7t:20971520 [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Starting download 1EfsGJCRzkkBaFq_448z9fASRDcOokjfl:10485760 (preload: true) [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Request &{GET https://www.googleapis.com/drive/v3/files/1YceIOH0pDyoDfoGAf2PFC0drLkhKIK7t?alt=media HTTP/1.1 1 1 map[Range:[bytes=104857600-115343360]] 0 [] false www.googleapis.com map[] map[] map[] } [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Response &{416 Requested Range Not Satisfiable 416 HTTP/2.0 2 0 map[Content-Type:[application/json; charset=UTF-8] Date:[Sun, 17 Dec 2017 16:38:14 GMT] Cache-Control:[private, max-age=0] Content-Length:[225] Server:[UploadServer] X-Guploader-Uploadid:[AEnB2Urc0O2PM92hX8sU6KCR6X4DQjSxgaZH5ehXSx6pbNiSKTcCiJAEdtnGRleyEJ_m0aNBYJHZtvxcO_zh3G0XtTeIfeZjyA] Content-Range:[bytes */104857600] Vary:[Origin X-Origin] Expires:[Sun, 17 Dec 2017 16:38:14 GMT] Alt-Svc:[hq=":443"; ma=2592000; quic=51303431; quic=51303339; quic=51303338; quic=51303337; quic=51303335,quic=":443"; ma=2592000; v="41,39,38,37,35"]] 0xc420226440 225 [] false false map[] 0xc42006c400 0xc4203e60b0} [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Starting download 1EfsGJCRzkkBaFq_448z9fASRDcOokjfl:20971520 (preload: true) [0m[33m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] WARNING: Wrong status code 416 for &{1YceIOH0pDyoDfoGAf2PFC0drLkhKIK7t ,8Wz6m7HMU7EBlkz20HVK3ZMtddvsvWExIFleplIFq-I89,o0hODDMypIpWmExy3rhO9DzErPZfmD89rrHlS3czcVW6FHUOG439 false 104857600 2017-11-08 05:05:41 +0000 UTC https://www.googleapis.com/drive/v3/files/1YceIOH0pDyoDfoGAf2PFC0drLkhKIK7t?alt=media [1dKlHYsDCzxpS-zUC1MmB5ZbWeZIHKRE3] true} [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Checking for changes [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Getting start page token from cache [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Last change id found, continuing getting changes (2956689) [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Deleted chunk 1YceIOH0pDyoDfoGAf2PFC0drLkhKIK7t:31457280 [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Starting download 1EfsGJCRzkkBaFq_448z9fASRDcOokjfl:0 (preload: false) [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Deleted chunk 1YceIOH0pDyoDfoGAf2PFC0drLkhKIK7t:0 [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Starting download 1EfsGJCRzkkBaFq_448z9fASRDcOokjfl:31457280 (preload: true) [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Storing page token 2956689 in cache [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Deleted chunk 1TaR7aA3HgrUZLkgF52icQat_729P2Zof:10485760 [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Starting download 1YceIOH0pDyoDfoGAf2PFC0drLkhKIK7t:104857600 (preload: false) [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Request &{GET https://www.googleapis.com/drive/v3/files/1YceIOH0pDyoDfoGAf2PFC0drLkhKIK7t?alt=media HTTP/1.1 1 1 map[Range:[bytes=104857600-115343360]] 0 [] false www.googleapis.com map[] map[] map[] } [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Response &{416 Requested Range Not Satisfiable 416 HTTP/2.0 2 0 map[Date:[Sun, 17 Dec 2017 16:38:21 GMT] X-Guploader-Uploadid:[AEnB2Up6-HgPwpO_9a8pRBsgne1dzWFxJTSu0oIjo9w_1Lruq0Dc2VA3zJz5fnqxRc1Qt_fbd7wSuGLnWfsOHnA6ZDBSn7Vyaw] Vary:[Origin X-Origin] Expires:[Sun, 17 Dec 2017 16:38:21 GMT] Cache-Control:[private, max-age=0] Content-Length:[225] Server:[UploadServer] Alt-Svc:[hq=":443"; ma=2592000; quic=51303431; quic=51303339; quic=51303338; quic=51303337; quic=51303335,quic=":443"; ma=2592000; v="41,39,38,37,35"] Content-Range:[bytes */104857600] Content-Type:[application/json; charset=UTF-8]] 0xc42025e960 225 [] false false map[] 0xc42000b000 0xc4203e60b0} [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Starting download 1EfsGJCRzkkBaFq_448z9fASRDcOokjfl:94371840 (preload: false) [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Deleted chunk 1TaR7aA3HgrUZLkgF52icQat_729P2Zof:0 [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Deleted chunk 1TaR7aA3HgrUZLkgF52icQat_729P2Zof:20971520 [0m[33m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] WARNING: Wrong status code 416 for &{1YceIOH0pDyoDfoGAf2PFC0drLkhKIK7t ,8Wz6m7HMU7EBlkz20HVK3ZMtddvsvWExIFleplIFq-I89,o0hODDMypIpWmExy3rhO9DzErPZfmD89rrHlS3czcVW6FHUOG439 false 104857600 2017-11-08 05:05:41 +0000 UTC https://www.googleapis.com/drive/v3/files/1YceIOH0pDyoDfoGAf2PFC0drLkhKIK7t?alt=media [1dKlHYsDCzxpS-zUC1MmB5ZbWeZIHKRE3] true} [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Starting download 1TaR7aA3HgrUZLkgF52icQat_729P2Zof:10485760 (preload: true) [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Starting download 1TaR7aA3HgrUZLkgF52icQat_729P2Zof:20971520 (preload: true) [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Deleted chunk 1YceIOH0pDyoDfoGAf2PFC0drLkhKIK7t:94371840 [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Starting download 1TaR7aA3HgrUZLkgF52icQat_729P2Zof:0 (preload: false) [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Deleted chunk 1TaR7aA3HgrUZLkgF52icQat_729P2Zof:73400320 [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Deleted chunk 1EfsGJCRzkkBaFq_448z9fASRDcOokjfl:10485760 [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Starting download 186nHs05SKXW7W7NkiA-A3HDRcAaVK504:10485760 (preload: true) [0m[34m[USR/SBIN/PLEXDRIVE] [2017-12-18 00:38] DEBUG : Starting download 186nHs05SKXW7W7NkiA-A3HDRcAaVK504:20971520

Probably not plexdrive issue, but can someone gives me a hint?

syaifulnizamyahya avatar Dec 17 '17 16:12 syaifulnizamyahya

Am I the only one getting this error?you guys all have no problem?

syaifulnizamyahya avatar Dec 19 '17 13:12 syaifulnizamyahya

@dweidenfeld I would like to try requesting the chunk using this, https://developers.google.com/apis-explorer/#p/drive/v3/

Would you kindly help me on which api call I should use? And what data I should put? If thats not much trouble to you.

syaifulnizamyahya avatar Dec 20 '17 14:12 syaifulnizamyahya

Well you cannot request chunks that way. You can retrieve a download URL by getting the metadata from the file. Use this download URL with the API token and you can send HTTP range requests to download chunks.

dweidenfeld avatar Dec 20 '17 15:12 dweidenfeld

I can confirm that the same file can be downloaded with rclone, but cannot be downloaded with plexdrive. Probably, the request made by plexdrive is wrong?

Anything I can do to help identify this problem?

syaifulnizamyahya avatar Jan 15 '18 13:01 syaifulnizamyahya