question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unsupported address error when running linux machine

See original GitHub issue

I am trying to run this project on a linux machine but I got this error. Should I enable ipv6 or something?

❯ mvnd-0.7.0-linux-amd64/bin/mvnd clean install
Exception in thread "main" java.lang.IllegalArgumentException: Unsupported address: inet:/[0:0:0:0:0:0:0:1]:34269
        at org.mvndaemon.mvnd.common.SocketFamily.fromString(SocketFamily.java:95)
	at org.mvndaemon.mvnd.client.DaemonConnector.connect(DaemonConnector.java:482)
	at org.mvndaemon.mvnd.client.DaemonConnector.connectToDaemon(DaemonConnector.java:452)
	at org.mvndaemon.mvnd.client.DaemonConnector.connectToDaemonWithId(DaemonConnector.java:438)
	at org.mvndaemon.mvnd.client.DaemonConnector.startDaemon(DaemonConnector.java:288)
	at org.mvndaemon.mvnd.client.DaemonConnector.connect(DaemonConnector.java:122)
	at org.mvndaemon.mvnd.client.DefaultClient.execute(DefaultClient.java:269)
	at org.mvndaemon.mvnd.client.DefaultClient.main(DefaultClient.java:117)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
yliu224commented, Nov 5, 2021

I see where my issue is. I have a environment parameter set up like this

-Xmx8192m -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true
0reactions
yliu224commented, Dec 21, 2021

Found the work around. Just unset the environment parameter first then pass the parameter in the command line.

  1. ❯ unset JAVA_TOOL_OPTIONS
  2. ❯ mvnd -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true -v
Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix The Unsupported SFP+ Issue in Linux
Fix the issue permanently · 1. [root@xyz ~]# vi /etc/default/grub · 2. GRUB_CMDLINE_LINUX=”ixgbe.allow_unsupported_sfp=1″ [adding the parameter to ...
Read more >
Unsupported address method 'v4tunnel' - Server Fault
The operating system is Ubuntu 18.04.3 . (I've tried to search this error but it seems nobody ever has it. But I've tried...
Read more >
Unsupported architecture: Linux · Issue #1808 - GitHub
I have a weird problem, VSCode reports Unsupported architecture: Linux when I try to connect to a Debian Server (running on a Intel...
Read more >
Only PCI device addresses with function=0 are supported with ...
Getting error as unsupported configuration: Only PCI device addresses with function=0 are supported with this QEMU binary while starting the VM.
Read more >
Installation of agent fails due to unsupported Linux Kernel ...
During Deep Security Agent (DSA) installation on Linux environment, you get the following error. Event 1008: Kernel Unsupported
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found