icb4dc0de@programming.dev 3 weeks ago
Maybe a really stupid question these days but…what upload speed do you have? Depending on the encoding of the music (e.g. FLAC) it might just be too much for your internet connection 😅
It would help to know how you setup the Netbird ports to be available on the internet too.
You could - for debugging - use the Netbird SaaS server (I believe there’s a free tier and Netbird being a German startup, I would at least assume, data privacy for the debugging shouldn’t be a big concern 😅 Germans don’t tell their granny their own name if they’re not legally allowed to 😂).
Well1@lemmy.world 2 weeks ago
Yesterday I checked and the best I got was: “Ping: 152.186 ms Download: 9.35 Mbit/s Upload: 18.69 Mbit/s”
It’s weird because with this connection (that seems to me it is heavily slow) I can easily stream FLAC files, some of them with sizes like 140.000 KB instantly, even faster than the music streaming apps I have used for quite some time (Spotify and now Tidal). All this obviously when being inside my home network, no VPNs.
When you say “use the Netbird SaaS server” I understand you are suggesting I try using NetBird servers instead of using my own selfhosted NetBird system to see if there’s any difference, am I right?
Thanks!! :D
Flatfire@lemmy.ca 2 weeks ago
Seeing as you’re running this from a laptop, was this speed test performed on a wired connection?
For self-hosting services you want to access remotely, you may find this to be exceptionally limiting. It may not be too bad if you live alone, and you’re sure no one else is using your network when you’re gone, but other devices performing routine updates may be enough to disrupt your outgoing connection. Additionally, that ping would indicate the speed test is being run from somewhere quite far from you. Latency that bad isn’t a great time for applications that might expect a consistent response time.
As for streaming those FLACs from your server while at home: You’re not going to struggle loading these files, because your local network is likely running at least at gigabit speeds. That speed test isn’t representative of your network as a whole, but just your internet connection.
icb4dc0de@programming.dev 2 weeks ago
Generally speaking, ~19Mbit/s should be enough for a FLAC stream. But as the mathematicians like to joke “assuming, chickens are spherical and live in a vacuum” 😅😂 as others mentioned, there’s likely much more going on than only this upload so the upload / download rates might be an issue.
I would try to eliminate possible issues by isolating them as good as possible and then verifying if they are actually a problem or not.
That could mean:
If the speeds look alright you’d have to check for protocol issues, STUN problems, Wireguard issues, port forwarding limitations (?) we’d need some more details for better advice here.
And yes, I meant trying the official Netbird servers instead your local one. Same idea, basically, if everything works fine with their server, it might be some weird problem between your external device and your Netbird server for instance 🤷♂️
Let us know how it goes and have fun 😁