y2mp3: Unexpected end of input : Download Failed!!!

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to ‘Submit any YT link’
  2. Click on ‘download’
  3. Scroll down to ‘chose any format’
  4. See error

Add logs from DevTools

Please go to y2mp3 menu -> Toggle Developer Tools or hit <kbd>ctrl</kbd>+<kbd>Alt</kbd>+<kbd>j</kbd> (on windows) or <kbd>⌘</kbd>+<kbd>⌥</kbd>+<kbd>j</kbd> (on mac), if there are error messages please include them.

Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform
Content Security Policy of your site blocks the use of 'eval' in JavaScript`

image

Expected behavior

Download properly.

Screenshots If applicable, add screenshots to help explain your problem.

image

image

  • OS: Windows
  • Version: 10 Pro
  • App Version: 2.5.6

Additional context Add any other context about the problem here.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 29 (13 by maintainers)

Most upvoted comments

Just released v2.5.7 and verified that it’s working. Can you guys check if it’s working for you?

So I’m not sure what’s the impact of this error. The icon in the top bar is the only place I know that uses this image. Anyway, if you notice an unexpected user experience regarding this icon, please let me know

Thanks for letting me know. I see it in my console too but I’m not sure why. I think that the icon has been required for the notification icon, it’s the only one whose using the logo-128.png. I’d expect that the icon will be missing in the notification bubble but it’s not, it’s there.

Can you tell me if you are seeing the green logo of y2mp3 in the notification bubble?

Thanks for diving into this research, really appreciated.

Can you share with me a url you downloaded, what file format and quality and how much time it took to download?

I don’t know how this app was implemented therefore I don’t know if y2mp3 can adopt any of their improvements. Maybe they have their own server that stores and caches the resources from YouTube so if 2 people are asking for the same resource, the second user will get it faster. This is not how y2mp3 works. The app connects YouTube servers directly.

Are you sure that it’s not related to the general network speed? There is nothing between the app and YouTube server so I think that the app’s based on the local internet connection speed and YouTube responsiveness

A fix is on its way. Thanks for reporting (again)

You are welcome ☺️

Hi @rommansabbir can you try the latest version - https://github.com/moshfeu/y2mp3/releases/tag/v2.5.8 please?