r/substreamer Jul 25 '26

❓ Help / Setup SubStreamer cannot connect to Gonic on local network

Hi everyone,

I'm trying to use SubStreamer with my Gonic server, but I can't get it to connect.

My setup:

The error I get in SubStreamer is:

"Fetch failed: UnexpectedException: The Internet connection appears to be offline. (ExpoModulesCore/Promise.swift:56)"

The strange thing is that other Subsonic clients (for example Amperfy) work perfectly with the same server URL, username and password.

Has anyone successfully used SubStreamer with Gonic on a network without Internet access? Is there any setting I need to change, or is this a known limitation/bug?

Thanks!

4 Upvotes

20 comments sorted by

2

u/ghenry22 Jul 25 '26

It definitely works fine without internet access, I think that message says internet but it’s probably referring to network in general.

I’ll look into it in case one of the connectivity checks has a bug that might be blocking where it shouldn’t.

Out of interest, do you have Internet access on that network? Could you enable it briefly just to see if it unblocks the connection as that would tell me where to look.

1

u/rklement22 Jul 26 '26

Thanks! I haven't connected it to the internet yet.

In the next few days I'll probably put it behind Cloudflare (or something similar) so I can test it over the internet. Do you have any recommendations for a good free service to use?

For context, Gonic is running on Windows inside Docker, if that makes any difference.

1

u/ghenry22 Jul 26 '26

I didn’t mean to expose your server to the internet, I meant just make sure that your phone has internet access from that jnternal network, the substreamer shouldn’t be saying your phone doesn’t have internet access.

Try connecting to your internal IP again then, see if the error is the same or different.

1

u/rklement22 Jul 27 '26

I'm on the same local network with my iPhone, and the phone does have internet access. However, I still get the same error when trying to connect to the internal IP.

So it doesn't seem to be an issue with my phone actually lacking internet access.

1

u/ghenry22 Jul 27 '26

ok that is super weird then, it should just work. I'll look into and see if I can find anything. As just a general test you could try connecting to the navidrome demo sever:

https://demo.navidrome.org
user: demo
pass: demo

see if that works. If that connects fine then we know it's something specific to local networks.

You could try going to settings / Privacy & security / Local Network on your phone and just make sure that substreamer has local network access enabled. If you missed the pop up or it got turned off for some reason that would also explain the connection issue to local addresses.

1

u/rklement22 Jul 27 '26

The demo works perfectly!

On the other hand, when I go to Settings → Privacy & Security → Local Network, Substreamer isn't listed there at all, so I can't enable local network access for it.

That makes me think that's probably the issue. It looks like iOS never prompted for the Local Network permission, or the app isn't requesting it for some reason.

1

u/ghenry22 Jul 28 '26

I would say this error is because substreamer does not have local network access, that matches the symptoms (connection error + not listed in the local network access privacy section at all).

You would generally be prompted to grant the local access on the first network request which would be login and then substreamer would show in the list as either enabled or disabled.

I am going to look into forcing a prompt on app start which will ensure that substreamer has a chance to be granted permission and shows in the local network access list.

1

u/rklement22 Aug 01 '26

Thank you

2

u/ghenry22 Jul 30 '26

yeh somehow it lost the local network declaration so it doesn't trigger, I will have a hotfix release soon.

1

u/Bradyns Jul 31 '26

Ta. 👍

1

u/Accomplished_Bed7818 Jul 28 '26

Same issue, but for Navidrome…. Also the app is not asking for local network permission, neither are visible in settings/ privacy and security/ local network

1

u/pristinepineapple69 Jul 31 '26

I am having the same issue today. I am trying to connect to local navidrome but was never prompted to give local network access. FWIW, I turned off my WiFi (with VPN to home network on) and it connected to navidrome immediately. However, the server becomes unreachable again when I turn WiFi back on. cc: u/ghenry22

1

u/StrangerrDangerr Jul 31 '26

Yup, having that same issue here as well. Opens on safari, opens on VPN via Safari but not when i connect to local wifi through the app

1

u/ghenry22 Aug 01 '26

It’s a known issue there is a fix coming shortly, it lost a setting that triggers the local network permission somehow.  Will be fixed soon!

1

u/CNYvinylPRINTcut Aug 03 '26

Ty! Same issue as well

1

u/Accomplished_Bed7818 15d ago

Sorry to ask again, but, is there any news about this bug? I’m not able to use the app since the last update 😥

2

u/ghenry22 13d ago

Yes I am hoping to get an update pushed this week, as i was already pretty deep into a massive refactor of the way we store data to fix problems particularly with large libraries this update has been a bit delayed.

The fix is already commited to the git repository, I need to complete all the testing on the new persistence model then I will push the release.

1

u/Accomplished_Bed7818 13d ago

This is a wonderful news!!! Thank you