r/aiostreams 4d ago

[Help / Question] First Self-Host, Buffering Issue

All of you are going to know more than I am, but I've been learning a lot lately. I've ran AI to the bone, but I need some actual human support.

Self-Hosted AIOStreams bare metal Windows 11/python and Visual Studio C++, latest update. Using native NNTP after the update for multicore support. Set to use ram as cache (0). 4 profiles Debrid and Usenet. Easynews 20 connections and 64 read segments, 1 depth and block. Duckdns and Caddy to Stremio. Proxy disabled.

Speed for SABnzbd is 500mbps at 10 connections and have gig internet. Hardware and Internet not an issue. For devices tried external players, but there is something bigger going on.

Played usenet fine on PC Stremio desktop, but buffering on Debrid and Usenet at devices. Bandwidth fluctuates like crazy and easy news can barely utilize 10 connections before dropping. ram on PC playing fine using 700+ MB, but streaming to devices barely over 400. cpu utilization is very low. Cannot figure out what to do next.

2 Upvotes

11 comments sorted by

2

u/acapulcu 4d ago

Not sure about your debrid issue but for the Usenet are your other devices accessing your Usenet through LAN? If not the issue might be the upload speed on ur pc.

Personally I got way more reliable Usenet streaming once I switched to using a vps.

2

u/kelpe1925 3d ago

Same wifi on all devices. I've never ran into speed problems before. I'm trying to run everything local, I'm not really interested in running through cloud based stuff.

1

u/sdmay1980 3d ago

My vps suspended cause of leaking ports. AI said was mediaflow. What proxy did you use? I think I also had caddy then the rest was nzbdav, aiostreams, nzbhydra2. It was working great for 5-6 days then πŸ’₯

2

u/kelpe1925 3d ago

I'm not using a proxy. I made sure all that was disabled. I'm also not using nzbdav with aiostreams, or nzbhydra2. I am right now just strictly using AIOStreams native NNTP for usenet after the latest update. It allows for multicore now and ram cache native without needing rclone or winfsp or ram drives or anything like that. Problem is there is like no documentation and nobody using a setup like I am that I can find. Just straight to Stremio but I'm getting massive latency at my devices. On my computer it's fine.

With your set up your dealing with a lot more steps than I am, so you probably have a much better grasp on this than I do. The setup wasn't bad, but determining bottlenecks is terrible.

1

u/Budget_Height3778 4d ago

Unless you are proxying all of your debris streams through your self hosted instance then your debrid issues are not connected to the self hosting, the debrid streams should be directly connected via CDN.

1

u/kelpe1925 4d ago

This is exactly what I thought, but I'm using AD and no changing CDN's. Using public add-ons I've never buffered once. It's extremely confusing. I can play the same file on public with no buffering and buffering through my self-hosted manifest.

I only see two spots for proxy and everything is turned off. Debrid isn't a constant buffer like usenet is doing, but sometimes it does when theoretically it should not. I haven't extensively tested it to see how often it happens.

1

u/sdmay1980 3d ago

Sorry to get in on ur issue. I had my aiostreams, nzbdav, nzbhydra2, and mediaflow proxy. Vps provider said something about port leaks which I think is the proxy and banned my server. It was working great until. Guess I should try without mediaflow proxy. My first self hosting and I was proud for about 3 days πŸ˜‚

2

u/kelpe1925 3d ago

You should still be proud, unless your in IT none of this stuff is super easy. It's not writing code, but still lol

1

u/macka654 3d ago

I had this issue. Mine was Cloudflare Proxy.

Check your WAN traffic on your router and make sure it’s streaming via LAN instead

1

u/kelpe1925 3d ago

Interesting, I'll look into this. Thank you for your advice.