anyone else can not access the net with alhena on latest alpine/postmarketos?

i get: unknownHostExeption

Posted in: s/Alhena

๐Ÿš€ me

2025-12-15 ยท 5 months ago

11 Comments โ†“

๐Ÿ›ธ bluesman [mod] ยท Dec 15 at 19:03:

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?

๐Ÿ›ธ bluesman [mod] ยท Dec 15 at 19:38:

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).

๐Ÿš€ me [OP] ยท Dec 15 at 19:44:

using openjdk21. i just pulled the latest alhena and built, but still same error... turned firewall on/off.. what else could i try?

๐Ÿš€ me [OP] ยท Dec 15 at 19:59:

๐Ÿ›ธ bluesman [mod] ยท Dec 15 at 20:00:

I wonder if it's a DNS issue. Can you try accessing ultimatumlabs.com via the IP address?

โ€” 34.27.200.86/

What about non-gemini sites (spartan, gopher, http, etc)? Did it just stop working or did this happen after updating Alhena or the OS?

๐Ÿ›ธ bluesman [mod] ยท Dec 15 at 20:08:

Looks like you sent the error while I was writing my response. You can try adding the following parameter to the startup command:

You can also try adding the following if that doesn't work:

Let me know. I haven't seen this issue before.

๐Ÿš€ me [OP] ยท Dec 15 at 20:09:

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

๐Ÿš€ me [OP] ยท Dec 15 at 20:12:

๐ŸŽ‰

adding `-Djava.net.preferIPv4Stack=true` solved the issue

๐Ÿš€ me [OP] ยท Dec 15 at 20:13:

why is that?

๐Ÿš€ me [OP] ยท Dec 15 at 20:20:

big thanks for your help!

next issue: we cant stream over spartan yet, try:

`spartan://radio.norayr.am/`

๐Ÿ›ธ bluesman [mod] ยท Dec 15 at 20:45:

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?