Skip to content

4.0 Binding errors unless using -Djava.net.preferIPv4Stack=true #3686

@jkister

Description

@jkister
  • OS and version
Java 21.0.9 (64 bit)
  Eclipse Adoptium
c:\program files\biglybt\jre

SWT v4968r13, win32, zoom=100, dpi=96
Windows 10 v10.0, amd64 (64 bit)
B4.0.0.1_B07/4 az3 en
  • BiglyBT Version Number
    4.0.0.0 and 4.0.0.1_B07
  • For *nix: Desktop Environment
    n/a

I get tracker and update errors when using interface binding with ProtonVPN:
Scrape Error: Cannot assign requested address: getsockopt
BiglyBT Core, Failed to check for core update, Cannot assign requested address: getsockopt

The checkboxes for Check bind IP Address/interfaces and Enforce IP bindings are checked.
I tried binding to the interface with ip address 10.2.0.2 and a regex like (WireGuard\sTunnel)

I am able to fix it by adding -Djava.net.preferIPv4Stack=true to %APPDATA%\BiglyBT\java.vmoptions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions