BiglySoftware / BiglyBT

Feature-filled Bittorrent client based on the Azureus open source project
https://www.biglybt.com
GNU General Public License v2.0
1.55k stars 153 forks source link

Process already listening? #3333

Closed LuvBiglyBT closed 3 weeks ago

LuvBiglyBT commented 1 month ago

Can someone please explain how to deal with the error that I have been receiving for MONTHS when I try to download a magnet link from the net? I have followed the suggested link in the error message and the page cannot be found. Please see a screen shot of the error attached.

Thanks as always...

Java 1.8.0_202 (64 bit) Oracle Corporation c:\program files\biglybt\jre

SWT v4942r22, win32, zoom=100, dpi=96 Windows 10 v10.0, amd64 (64 bit) B3.4.0.0/4 az3

Bigly BT Screenshot 2024-07-12 122222

parg commented 1 month ago

https://github.com/BiglySoftware/BiglyBT/wiki/Command-Line-Options#changing-the-control-port

exists for me!

parg commented 1 month ago

(and that redirects from https://wiki.biglybt.com/w/Commandline_options#Changing_the_Control_Port )

LuvBiglyBT commented 1 month ago

Parg,

As always I appreciate your timely response. I have copied and pasted your example into both powershell and command prompt without success and many errors.

Primary: C:\Windows\System32>start /D "C:\Program Files\BiglyBT" javaw.exe -cp "BiglyBT.jar;commons-cli.jar;swt.jar" -Dazureus.instance.port=16889 com.biglybt.ui.Main The system cannot find the file javaw.exe.

I am not by any means adept a coding and I am sure I am making some mistakes. Can you help me out?

Thanks as always, LuvBiglyBT

Java 1.8.0_202 (64 bit) Oracle Corporation C:\Program Files\BiglyBT\jre

SWT v4942r22, win32, zoom=100, dpi=96 Windows 10 v10.0, amd64 (64 bit) B3.4.0.0/4 az3

parg commented 1 month ago

Yeah, problems problems!

The easiest fix is not to launch BiglyBT from a command prompt but to go to

%appdata%\BiglyBT

(for me that resolves to C:\Users\Paul\AppData\Roaming\BiglyBT ) and create a (or edit the existing) file in there called "java.vmoptions" for me the file is

C:\Users\Paul\AppData\Roaming\BiglyBT\java.vmoptions

Put a single line of text in that file -

-Dazureus.instance.port=16889

Then launch BiglyBT as usual via BiglyBT.exe

LuvBiglyBT commented 1 month ago

I succeeded at adding the line and it is now using the new port but I am getting the same error but now it is 16889 LOL! What I am trying to do is download a torrent from the internet as opposed to from a search inside BiglyBT. Does that affect the resultant error?

Thanks again.


From: parg @.> Sent: Wednesday, July 24, 2024 2:41 PM To: BiglySoftware/BiglyBT @.> Cc: LuvBiglyBT @.>; Author @.> Subject: Re: [BiglySoftware/BiglyBT] Process already listening? (Issue #3333)

Yeah, problems problems!

The easiest fix is not to launch BiglyBT from a command prompt but to go to

%appdata%\BiglyBT

(for me that resolves to C:\Users\Paul\AppData\Roaming\BiglyBT ) and create a (or edit the existing) file in there called "java.vmoptions" for me the file is

C:\Users\Paul\AppData\Roaming\BiglyBT\java.vmoptions

Put a single line of text in that file -

-Dazureus.instance.port=16889

Then launch BiglyBT as usual via BiglyBT.exe

— Reply to this email directly, view it on GitHubhttps://github.com/BiglySoftware/BiglyBT/issues/3333#issuecomment-2248676272, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIJ2F55K6TVWBDPVOG72GRLZN7YMTAVCNFSM6AAAAABLDLWYVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYGY3TMMRXGI. You are receiving this because you authored the thread.Message ID: @.***>

parg commented 1 month ago

Must be an antivirus program or firewall on your computer that is preventing the BiglyBT.exe from listening on ports (or "acting as a server as it is sometimes put) or interfering with the process. Do you get an alert when you start BiglyBT (yellow warning triangle bottom right) saying that it couldn't establish a listen?

When you click on a link in your browser the browser is configured to launch BiglyBT.exe with the link passed as a parameter. If BiglyBT isn't running this will start BiglyBT for you. If it is already running the the second BiglyBT.exe will simply pass the link to the existing BiglyBT.exe and exit - the first one receives the link and adds it to your library.

This is the process that isn't working - the second BiglyBT.exe isn't managing to pass the link.

If you can't figure out what is stopping this then the simplest solution is to copy the link in the browser and paste it into the search box at the top of BiglyBT - that should open the torrent. Failing that right-lick on the link in the browser and save the .torrent file to disk. Then drag+drop that only BiglyBT or open it via the File->Open menu.

NaPurHab commented 1 month ago

I've seen this issue. What your doing is allowing the browser to OPEN a Torrent or Magnet directly. This results in the Browser Call up a 2nd copy of BiglyBT. The solution is to SAVE Torrents to disk in a path that you configure under Options->Files->Torrents. Then setup Import Automatically and add a Path and Tag (or more if you want to group them, ie Movie, TV, Audio).

If you previously given permission to your browser to OPEN Torrents and Magnets. You will have to revoke the Automatic Permission. Then always Save Torrents to the preconfigured Import Path, or Copy Magnets (see next paragraph).

If your dealing with Magnets, the same, don't let the browser launch a new copy of BiglyBT. Instead, Right-Click the Magnet and Copy. Then your existing copy of BiglyBT will see it and load it. Again at the Bottom of Options->Files->Torrents set the option Monitor Clipboard, and then your golden.

LuvBiglyBT commented 1 month ago

Thank you, Parg And NaPurHag. When I Find the time to implement your suggestions, I will let you know the result.


From: NaPurHab @.> Sent: Thursday, August 1, 2024 3:31:42 PM To: BiglySoftware/BiglyBT @.> Cc: LuvBiglyBT @.>; Author @.> Subject: Re: [BiglySoftware/BiglyBT] Process already listening? (Issue #3333)

I've seen this issue. What your doing is allowing the browser to OPEN a Torrent or Magnet directly. This results in the Browser Call up a 2nd copy of BiglyBT. The solution is to SAVE Torrents to disk in a path that you configure under Options->Files->Torrents. Then setup Import Automatically and add a Path and Tag (or more if you want to group them, ie Movie, TV, Audio).

If you previously given permission to your browser to OPEN Torrents and Magnets. You will have to revoke the Automatic Permission. Then always Save Torrents to the preconfigured Import Path, or Copy Magnets (see next paragraph).

If your dealing with Magnets, the same, don't let the browser launch a new copy of BiglyBT. Instead, Right-Click the Magnet and Copy. Then your existing copy of BiglyBT will see it and load it. Again at the Bottom of Options->Files->Torrents set the option Monitor Clipboard, and then your golden.

— Reply to this email directly, view it on GitHubhttps://github.com/BiglySoftware/BiglyBT/issues/3333#issuecomment-2263817444, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIJ2F56CAZLWJ4HYOPZYV5DZPKEJ5AVCNFSM6AAAAABLDLWYVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRTHAYTONBUGQ. You are receiving this because you authored the thread.Message ID: @.***>

parg commented 3 weeks ago

Closing as not going to make any further progress