NewPipe icon indicating copy to clipboard operation
NewPipe copied to clipboard

com.squareup.picasso.NetworkRequestHandler$ResponseException: HTTP 404

Open homocomputeris opened this issue 3 years ago • 9 comments

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

  1. 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

homocomputeris avatar Nov 17 '21 18:11 homocomputeris

Is this still a problem in the latest version?

litetex avatar Feb 12 '22 15:02 litetex

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

BrightDV avatar Feb 12 '22 16:02 BrightDV

Hmm I think there is something broken on YT itself, because the thumbnail is also missing there: grafik

litetex avatar Feb 12 '22 16:02 litetex

crash log says HTTP 404. That's not our fault in this case

TobiGr avatar Feb 12 '22 17:02 TobiGr

But we should be able to handle it more gracefully?

opusforlife2 avatar Feb 12 '22 17:02 opusforlife2

Correct, we should detect that the exception is network related

TobiGr avatar Feb 12 '22 17:02 TobiGr

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)


homocomputeris avatar Feb 13 '22 10:02 homocomputeris

Opens fine on YouTube, including the thumbnail

homocomputeris avatar Feb 13 '22 10:02 homocomputeris

Funny: YT returns 404 - not found but actually delivers a not-found thumbnail:

litetex avatar Feb 13 '22 14:02 litetex

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.

AudricV avatar May 14 '23 09:05 AudricV