anyone else can not access the net with alhena on latest alpine/postmarketos?
i get: unknownHostExeption
Dec 15 · 2 days ago
11 Comments ↓
Hi. Are you saying it stopped working after you updated postmarketos? What version of Alhena? I assume you built from source? Are you using the Bellsoft Alpine musl-based JVM?
It's been a while but the latest is working on my Alpine VirtualBox instance using the Bellsoft 21.0.6 JVM. If you're using something else, let me know (check "Details" under "Help" menu).
using openjdk21. i just pulled the latest alhena and built, but still same error... turned firewall on/off.. what else could i try?
$ java -jar ./target/lib/alhena. jar Dec 15, 2025 9:57:56 P.M. io.netty.resolver.dns.DefaultDnsServerAddressStreamProviderWARNING: Default DNS servers: [/[2001:4860:4860:0:0:0:0:8888]:53, /[2001:4860:4860:0:0:0:0:8844]:53] (Google Public DNS as a fallback) Failed to connect: Failed to resolve 'bbs.geminispace.org' [A(1)] after 2 queries ~/alhena $
I wonder if it's a DNS issue. Can you try accessing ultimatumlabs.com via the IP address?
What about non-gemini sites (spartan, gopher, http, etc)? Did it just stop working or did this happen after updating Alhena or the OS?
Looks like you sent the error while I was writing my response. You can try adding the following parameter to the startup command:
java -Dvertx.disableDnsResolver=true -jar ./target/lib/alhena.jar
You can also try adding the following if that doesn't work:
-Djava.net.preferIPv4Stack=true
Let me know. I haven't seen this issue before.
from Alhena i cant access anything. it happend after updating the os. i can ```getent hosts 34.27.200.86``` so it must be something java specific
🎉
adding `-Djava.net.preferIPv4Stack=true` solved the issue
why is that?
big thanks for your help!
next issue: we cant stream over spartan yet, try:
`spartan://radio.norayr.am/`
At the moment I'm not sure why IPv6 isn't working for you but I'm glad there's a workaround.
As for Spartan streaming, it works here. Do you have streaming turned on in the Settings?