Ziggeo / android-sdk-demo

Ziggeo's Android Client SDK 2.0
Apache License 2.0
8 stars 5 forks source link

Playback problem of video that's uploaded from desktop #19

Closed objectorientedperson closed 6 years ago

objectorientedperson commented 6 years ago

Hi, when a video is uploaded from a desktop client, android sdk is unable to play it. I can see the thumbnail but preview function gives the following error:

05-02 21:14:03.668 27902-29257/com.myregistry E/HttpProxyCacheServer: HttpProxyCacheServer error com.danikula.videocache.ProxyCacheException: Error processing request. Version: 2.7.0 at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:241) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52) at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) Caused by: com.danikula.videocache.ProxyCacheException: Error using file /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-03.mp4 as disc cache. Version: 2.7.0 at com.danikula.videocache.file.FileCache.(FileCache.java:39) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83) at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49) at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39) at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: java.io.FileNotFoundException: /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-03.mp4.download: open failed: EACCES (Permission denied) at libcore.io.IoBridge.open(IoBridge.java:455) at java.io.RandomAccessFile.(RandomAccessFile.java:247) at com.danikula.videocache.file.FileCache.(FileCache.java:37) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:187) at libcore.io.IoBridge.open(IoBridge.java:441) at java.io.RandomAccessFile.(RandomAccessFile.java:247)  at com.danikula.videocache.file.FileCache.(FileCache.java:37)  at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  05-02 21:14:06.736 27902-29259/com.myregistry E/HttpProxyCacheServer: HttpProxyCacheServer error com.danikula.videocache.ProxyCacheException: Error processing request. Version: 2.7.0 at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:241) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52) at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) Caused by: com.danikula.videocache.ProxyCacheException: Error using file /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-06.mp4 as disc cache. Version: 2.7.0 at com.danikula.videocache.file.FileCache.(FileCache.java:39) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83) at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49) at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39) at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: java.io.FileNotFoundException: /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-06.mp4.download: open failed: EACCES (Permission denied) at libcore.io.IoBridge.open(IoBridge.java:455) at java.io.RandomAccessFile.(RandomAccessFile.java:247) at com.danikula.videocache.file.FileCache.(FileCache.java:37) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:187) at libcore.io.IoBridge.open(IoBridge.java:441) at java.io.RandomAccessFile.(RandomAccessFile.java:247)  at com.danikula.videocache.file.FileCache.(FileCache.java:37)  at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  05-02 21:14:09.782 27902-29275/com.myregistry E/HttpProxyCacheServer: HttpProxyCacheServer error com.danikula.videocache.ProxyCacheException: Error processing request. Version: 2.7.0 at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:241) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52) at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) Caused by: com.danikula.videocache.ProxyCacheException: Error using file /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-09.mp4 as disc cache. Version: 2.7.0 at com.danikula.videocache.file.FileCache.(FileCache.java:39) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83) at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49) at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39) at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: java.io.FileNotFoundException: /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-09.mp4.download: open failed: EACCES (Permission denied) at libcore.io.IoBridge.open(IoBridge.java:455) at java.io.RandomAccessFile.(RandomAccessFile.java:247) at com.danikula.videocache.file.FileCache.(FileCache.java:37) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:187) at libcore.io.IoBridge.open(IoBridge.java:441) at java.io.RandomAccessFile.(RandomAccessFile.java:247)  at com.danikula.videocache.file.FileCache.(FileCache.java:37)  at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  05-02 21:14:12.835 27902-29281/com.myregistry E/HttpProxyCacheServer: HttpProxyCacheServer error com.danikula.videocache.ProxyCacheException: Error processing request. Version: 2.7.0 at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:241) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52) at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) Caused by: com.danikula.videocache.ProxyCacheException: Error using file /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-12.mp4 as disc cache. Version: 2.7.0 at com.danikula.videocache.file.FileCache.(FileCache.java:39) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83) at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49) at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39) at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: java.io.FileNotFoundException: /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-12.mp4.download: open failed: EACCES (Permission denied) at libcore.io.IoBridge.open(IoBridge.java:455) at java.io.RandomAccessFile.(RandomAccessFile.java:247) at com.danikula.videocache.file.FileCache.(FileCache.java:37) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:187) at libcore.io.IoBridge.open(IoBridge.java:441) at java.io.RandomAccessFile.(RandomAccessFile.java:247)  at com.danikula.videocache.file.FileCache.(FileCache.java:37)  at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  05-02 21:14:15.891 27902-29345/com.myregistry E/HttpProxyCacheServer: HttpProxyCacheServer error com.danikula.videocache.ProxyCacheException: Error processing request. Version: 2.7.0 at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:241) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52) at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) Caused by: com.danikula.videocache.ProxyCacheException: Error using file /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-15.mp4 as disc cache. Version: 2.7.0 at com.danikula.videocache.file.FileCache.(FileCache.java:39) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83) at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49) at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39) at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: java.io.FileNotFoundException: /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-15.mp4.download: open failed: EACCES (Permission denied) at libcore.io.IoBridge.open(IoBridge.java:455) at java.io.RandomAccessFile.(RandomAccessFile.java:247) at com.danikula.videocache.file.FileCache.(FileCache.java:37) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:187) at libcore.io.IoBridge.open(IoBridge.java:441) at java.io.RandomAccessFile.(RandomAccessFile.java:247)  at com.danikula.videocache.file.FileCache.(FileCache.java:37)  at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  05-02 21:14:18.960 27902-29348/com.myregistry E/HttpProxyCacheServer: HttpProxyCacheServer error com.danikula.videocache.ProxyCacheException: Error processing request. Version: 2.7.0 at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:241) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52) at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) Caused by: com.danikula.videocache.ProxyCacheException: Error using file /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-18.mp4 as disc cache. Version: 2.7.0 at com.danikula.videocache.file.FileCache.(FileCache.java:39) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83) at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49) at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39) at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: java.io.FileNotFoundException: /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-18.mp4.download: open failed: EACCES (Permission denied) at libcore.io.IoBridge.open(IoBridge.java:455) at java.io.RandomAccessFile.(RandomAccessFile.java:247) at com.danikula.videocache.file.FileCache.(FileCache.java:37) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:187) at libcore.io.IoBridge.open(IoBridge.java:441) at java.io.RandomAccessFile.(RandomAccessFile.java:247)  at com.danikula.videocache.file.FileCache.(FileCache.java:37)  at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  05-02 21:14:22.015 27902-29253/com.myregistry E/HttpProxyCacheServer: HttpProxyCacheServer error com.danikula.videocache.ProxyCacheException: Error processing request. Version: 2.7.0 at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:241) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52) at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) Caused by: com.danikula.videocache.ProxyCacheException: Error using file /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-22.mp4 as disc cache. Version: 2.7.0 at com.danikula.videocache.file.FileCache.(FileCache.java:39) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83) at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49) at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39) at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: java.io.FileNotFoundException: /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-22.mp4.download: open failed: EACCES (Permission denied) at libcore.io.IoBridge.open(IoBridge.java:455) at java.io.RandomAccessFile.(RandomAccessFile.java:247) at com.danikula.videocache.file.FileCache.(FileCache.java:37) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:187) at libcore.io.IoBridge.open(IoBridge.java:441) at java.io.RandomAccessFile.(RandomAccessFile.java:247)  at com.danikula.videocache.file.FileCache.(FileCache.java:37)  at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  05-02 21:14:25.072 27902-29254/com.myregistry E/HttpProxyCacheServer: HttpProxyCacheServer error com.danikula.videocache.ProxyCacheException: Error processing request. Version: 2.7.0 at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:241) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52) at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) Caused by: com.danikula.videocache.ProxyCacheException: Error using file /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-25.mp4 as disc cache. Version: 2.7.0 at com.danikula.videocache.file.FileCache.(FileCache.java:39) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83) at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49) at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39) at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: java.io.FileNotFoundException: /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-25.mp4.download: open failed: EACCES (Permission denied) at libcore.io.IoBridge.open(IoBridge.java:455) at java.io.RandomAccessFile.(RandomAccessFile.java:247) at com.danikula.videocache.file.FileCache.(FileCache.java:37) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:187) at libcore.io.IoBridge.open(IoBridge.java:441) at java.io.RandomAccessFile.(RandomAccessFile.java:247)  at com.danikula.videocache.file.FileCache.(FileCache.java:37)  at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  05-02 21:14:28.116 27902-29257/com.myregistry E/HttpProxyCacheServer: HttpProxyCacheServer error com.danikula.videocache.ProxyCacheException: Error processing request. Version: 2.7.0 at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:241) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52) at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) Caused by: com.danikula.videocache.ProxyCacheException: Error using file /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-28.mp4 as disc cache. Version: 2.7.0 at com.danikula.videocache.file.FileCache.(FileCache.java:39) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83) at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49) at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39) at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: java.io.FileNotFoundException: /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-28.mp4.download: open failed: EACCES (Permission denied) at libcore.io.IoBridge.open(IoBridge.java:455) at java.io.RandomAccessFile.(RandomAccessFile.java:247) at com.danikula.videocache.file.FileCache.(FileCache.java:37) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:187) at libcore.io.IoBridge.open(IoBridge.java:441) at java.io.RandomAccessFile.(RandomAccessFile.java:247)  at com.danikula.videocache.file.FileCache.(FileCache.java:37)  at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  05-02 21:14:28.138 27902-29259/com.myregistry E/HttpProxyCacheServer: HttpProxyCacheServer error com.danikula.videocache.ProxyCacheException: Error processing request. Version: 2.7.0 at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:241) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52) at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) Caused by: com.danikula.videocache.ProxyCacheException: Error using file /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-28.mp4 as disc cache. Version: 2.7.0 at com.danikula.videocache.file.FileCache.(FileCache.java:39) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83) at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49) at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39) at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: java.io.FileNotFoundException: /storage/emulated/0/Ziggeo/Player/867d25dda59a46f87f3fab8d2fc4aad9_Z_VIDEO_02-05-2018_09-14-28.mp4.download: open failed: EACCES (Permission denied) at libcore.io.IoBridge.open(IoBridge.java:455) at java.io.RandomAccessFile.(RandomAccessFile.java:247) at com.danikula.videocache.file.FileCache.(FileCache.java:37) at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761)  Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:187) at libcore.io.IoBridge.open(IoBridge.java:441) at java.io.RandomAccessFile.(RandomAccessFile.java:247)  at com.danikula.videocache.file.FileCache.(FileCache.java:37)  at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)  at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)  at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:761) 

Bane-D commented 6 years ago

Hi,

It seems to be complaining about the file permissions. By the errors it seems as if the video files are created within the cache and when they are tried to be played from there, they can not be accessed by the app.

Can you please tell us if you might have changed the cache defaults?

Also if you grab the demo app and try to use it to play back the same videos, would it complain in the same manner? (just to rule out any customization causing this).

Thank you. Bane

objectorientedperson commented 6 years ago

@Bane-D hi,

I haven't changed cache settings. And also as per your request I tried to play the video with demo app and gives the same result.

Thanks, -ali

Bane-D commented 6 years ago

Hi Ali,

Thank you for the info.

We are looking into this. Just for reference what API or Android system you are using where this is happening?

Regards, Bane

3akat commented 6 years ago

@objectorientedperson Hi Ali,

Wasn't able to reproduce the issue, but I've added an additional permission check for the player. If the issue will still exist we at least will be sure that the reason is not in permissions. So, please take a look at v0.73.5.

Thanks, Alex

objectorientedperson commented 6 years ago

Hi @3akat I've upgraded to v0.73.5 but I got a new error:

05-08 14:10:56.949 17524-17524/com.myregistry W/MediaPlayer: Couldn't open https://embed.ziggeo.com/v1/applications/ade44df8727ba9433c799769a0254857/videos/ad207ca9806c7d51c6b45ec28bb6c425/video.mp4: java.io.FileNotFoundException: No content provider: https://embed.ziggeo.com/v1/applications/ade44df8727ba9433c799769a0254857/videos/ad207ca9806c7d51c6b45ec28bb6c425/video.mp4 05-08 14:10:56.949 17524-17524/com.myregistry V/MediaHTTPService: MediaHTTPService(android.media.MediaHTTPService@ac887d7): Cookies: null 05-08 14:10:56.956 17524-17581/com.myregistry V/MediaHTTPService: makeHTTPConnection: CookieManager(java.net.CookieManager@ceb93ae) exists. makeHTTPConnection(android.media.MediaHTTPService@ac887d7): cookieManager: java.net.CookieManager@ceb93ae Cookies: null

3akat commented 6 years ago

Hi @objectorientedperson, A few questions.

  1. Can you please specify the device and the version you've tested on?
  2. Was everything good before version 0.73.0? For example on 0.72.7?

Thanks!

3akat commented 6 years ago

@objectorientedperson closing the issue. Please, let us know if you need any additional help.