NewPipe
NewPipe copied to clipboard
com.squareup.picasso.NetworkRequestHandler$ResponseException: HTTP 404
Checklist
- [x] I am using the latest version - x.xx.x
- [x] I checked, but didn't find any duplicates (open OR closed) of this issue in the repo.
- [x] I have read the contribution guidelines given at https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md.
- [x] This issue contains only one bug. I will open one issue for every bug report I want to file.
Steps to reproduce the bug
- Open https://www.youtube.com/watch?v=fk32u6__sRM
Actual behavior
An error message appears at the bottom of the screen
Expected behavior
No error
Screenshots/Screen recordings
Logs
Exception
- User Action: load image
- Request: https://i.ytimg.com/vi_webp/fk32u6__sRM/maxresdefault.webp
- Content Country: RU
- Content Language: ru-RU
- App Language: ru_RU
- Service: YouTube
- Version: 0.21.13
- OS: Linux Android 11 - 30
Crash log
com.squareup.picasso.NetworkRequestHandler$ResponseException: HTTP 404 at com.squareup.picasso.NetworkRequestHandler.load(NetworkRequestHandler.java:51) at com.squareup.picasso.BitmapHunter.hunt(BitmapHunter.java:219) at com.squareup.picasso.BitmapHunter.run(BitmapHunter.java:175) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:923) at com.squareup.picasso.Utils$PicassoThread.run(Utils.java:354)
Device info
- Android version/Custom ROM version: LineageOS 18.1
- Device model: OnePlus 6
Is this still a problem in the latest version?
Is this still a problem in the latest version?
I tried with 0.21.16 and the bug is still there, it is the thumbnail which is causing the problem
Hmm I think there is something broken on YT itself, because the thumbnail is also missing there:
crash log says HTTP 404
. That's not our fault in this case
But we should be able to handle it more gracefully?
Correct, we should detect that the exception is network related
Exception
- User Action: load image
- Request: https://i.ytimg.com/vi_webp/fk32u6__sRM/maxresdefault.webp
- Content Country: RU
- Content Language: ru-RU
- App Language: ru_RU
- Service: YouTube
- Version: 0.21.16
- OS: Linux Android 11 - 30
Crash log
com.squareup.picasso.NetworkRequestHandler$ResponseException: HTTP 404
at com.squareup.picasso.NetworkRequestHandler.load(NetworkRequestHandler.java:51)
at com.squareup.picasso.BitmapHunter.hunt(BitmapHunter.java:219)
at com.squareup.picasso.BitmapHunter.run(BitmapHunter.java:175)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
at com.squareup.picasso.Utils$PicassoThread.run(Utils.java:354)
Opens fine on YouTube, including the thumbnail
Funny:
YT returns 404 - not found but actually delivers a not-found thumbnail:
Like said before, such issues are from the services itself (I got the same issue for a PeerTube video recently) and there is nothing we can do, except not logging such issues: that's done with #10066.