brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.94k stars 2.35k forks source link

Follow up of #19818 - Downloading multiple torrent files in a single browser session fails to download the torrent files. #20298

Open GeetaSarvadnya opened 2 years ago

GeetaSarvadnya commented 2 years ago

Description

Found while testing https://github.com/brave/brave-browser/issues/19818 Downloading multiple torrent files in a single browser session fails to download the torrent files.

Steps to Reproduce

  1. Clean profile 1.34.77
  2. Open https://webtorrent.io/free-torrents
  3. Click on the torrent/magnet link in Cosmos Laundromat (torrent file) (magnet link)
  4. Click on Start Torrent
  5. Torrent files loads and works as expected
  6. Click on torrent/magnet link in Big Buck Bunny (torrent file) (magnet link)
  7. Click on Start torrent
  8. Torrent file doesn't load

Actual result:

Downloading multiple torrent files in a single browser session fails to download the torrent files. webtorrent issue

[1616:17068:0103/175536.346:INFO:CONSOLE(25)] "warning:  [object Object] Error: Unsupported tracker protocol: wss://tracker.btorrent.xyz", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)
[1616:17068:0103/175536.346:INFO:CONSOLE(25)] "warning:  [object Object] Error: Unsupported tracker protocol: wss://tracker.openwebtorrent.com", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)
[1616:17068:0103/175536.349:INFO:CONSOLE(25)] "warning:  [object Object] Error: Unsupported tracker protocol: wss://tracker.fastcast.nz", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)
[1616:17068:0103/175536.413:INFO:CONSOLE(25)] "error:  [object Object] Error: Socket 13 failed to bind. net::ERR_ADDRESS_IN_USE", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)
[1616:17068:0103/175536.423:ERROR:CONSOLE(10)] "Unknown server socket id: 3", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (10)
[1616:17068:0103/175538.378:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data for tabId: 7.  Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
[1616:17068:0103/175538.380:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data for tabId: 7.  Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
[1616:17068:0103/175538.679:ERROR:interface_endpoint_client.cc(658)] Message 0 rejected by interface blink.mojom.WidgetHost
[1616:17068:0103/175546.796:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data for tabId: 8.  Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
[1616:17068:0103/175546.796:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data for tabId: 8.  Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
[1616:17068:0103/175547.247:INFO:CONSOLE(25)] "warning:  [object Object] Error: Piece 546 failed verification", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)
[1616:17068:0103/175547.908:INFO:CONSOLE(25)] "warning:  [object Object] Error: Piece 660 failed verification", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)
[1616:17068:0103/175549.056:INFO:CONSOLE(25)] "warning:  [object Object] Error: Piece 660 failed verification", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)
[1616:17068:0103/175558.298:INFO:CONSOLE(25)] "warning:  [object Object] Error: Piece 1052 failed verification", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)
[1616:17068:0103/175558.988:INFO:CONSOLE(25)] "warning:  [object Object] Error: Unsupported tracker protocol: wss://tracker.btorrent.xyz", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)
[1616:17068:0103/175558.988:INFO:CONSOLE(25)] "warning:  [object Object] Error: Unsupported tracker protocol: wss://tracker.openwebtorrent.com", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)
[1616:17068:0103/175558.990:INFO:CONSOLE(25)] "warning:  [object Object] Error: Unsupported tracker protocol: wss://tracker.fastcast.nz", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)
[1616:17068:0103/175559.048:INFO:CONSOLE(25)] "error:  [object Object] Error: Socket 24 failed to bind. net::ERR_ADDRESS_IN_USE", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)
[1616:17068:0103/175559.052:ERROR:CONSOLE(10)] "Unknown server socket id: 4", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (10)
[1616:17068:0103/175600.387:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data for tabId: 10.  Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
[1616:17068:0103/175600.387:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data for tabId: 10.  Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
[1616:17068:0103/175600.669:ERROR:interface_endpoint_client.cc(658)] Message 0 rejected by interface blink.mojom.WidgetHost
[1616:17068:0103/175608.041:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data for tabId: 11.  Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
[1616:17068:0103/175608.043:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data for tabId: 11.  Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
[1616:17068:0103/175608.272:WARNING:CONSOLE(1)] "Could not find style data in module named null", source: chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js (1)
[9844:16892:0103/175613.430:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is disabled, ANGLE is
[1616:17068:0103/175614.039:INFO:CONSOLE(25)] "warning:  [object Object] Error: tracker request timed out (completed) (udp://tracker.leechers-paradise.org:6969)", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)
[1616:17068:0103/175614.039:INFO:CONSOLE(25)] "warning:  [object Object] Error: tracker request timed out (completed) (udp://tracker.coppersurfer.tk:6969)", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)
[1616:17068:0103/175614.042:INFO:CONSOLE(25)] "warning:  [object Object] Error: tracker request timed out (completed) (udp://tracker.empire-js.us:1337)", source: chrome-extension://lgjmpdmojkpocjcopdikifhejkkjglho/extension/out/brave_webtorrent_background.bundle.js (25)

Expected result:

Able to download multiple torrent files at a time in a single browser session

Reproduces how often:

Easy

Brave version (brave://version info)

Brave | 1.34.77 Chromium: 97.0.4692.56 (Official Build) (64-bit) -- | -- Revision | 04da6c66398ca50e603cc236a07dc7dfd3bbc750-refs/branch-heads/4692@{#990} OS | Windows 10 Version 21H2 (Build 19044.1415)

Version/Channel Information:

Other Additional Information:

Miscellaneous Information:

cc: @spylogsster @brave/legacy_qa @rebron

rebron commented 2 years ago

cc: @yrliou Can you take a look?

Kromasm commented 2 years ago

Hi !

Any news on this bug ? I'm experiencing the same problems (Brave 1.38.111). Thank you for your work ! :)

mikich commented 2 years ago

I reported this about general torrent capabilities - Brave WebTorrent is stuck in Loading the torrent file list

Hmm, it is looks like the bug is still in place and not fixed... Running the latest (for now: Jun 2 2022):

Version 1.39.111 Chromium: 102.0.5005.61 (Official Build) (x86_64)](https://brave.com/latest/) on Mac: mcOS Catalina (10.15.7)

mihaiplesa commented 2 years ago

In the meanwhile one workaround is to disable WebTorrent in Brave while this gets fixed.

thiagomgd commented 2 years ago

Same happening here: Version 1.44.105 MacOs 12.6

trilin6 commented 1 year ago

Same issue

saurabhgupta050890 commented 1 year ago

Same issue

Mikeatalol commented 1 year ago

Kinda bs if you ask me, still happening in 2023 on Version 1.51.110 Chromium: 113.0.5672.77 (Official Build) (64-bit) wich i JUST updated to...

harrymmmm commented 4 months ago

and here we are in 2024/7 ... This worked well several years agfo for me in Brave-beta (on ubuntu), but then even the first torrent failed every time. It hasn't worked since then, multiple OS version, multiple Brave-beta versions, numerous reboots etc ...

HandsomeTopKhi commented 1 month ago

I don't think this will ever be solved. I'm just going to stop using Brave due to this issue.

Vahtera commented 1 week ago

Almost three years and this same issue still persists? What is going on?