Home

Audiobookshelf disconnects randomly (websocket issue) through cloudflare

$$9137
https://lemmy.world/u/DonutsRMeh posted on Mar 9, 2026 01:40

Hi all, I’m desperate. This has been draining my brain cells one a time. I know for a fact that it is not an ABS issue, because it runs flawlessly locally and it has never even hitched once. The shit starts when I connect through my cloudflare “.com” domain that I just bought last week thinking it’ll solve all my problems (nope).

Every now and then, the frontend client I use (it doesn’t matter which one I use) just disconnects from my ABS server and things just start spinning for a very long time. Just out of nowhere and half of my books are just ghosts because it can’t reach the sever.

Sometimes it comes back, and others I have to go into my Debian server and restart the cloudflared service I have for it, in order for the service to resume. I often go to the web interface and either get a red error message complaining about websocket something something. Then I’d refresh the page and either get thrown into the login screen and get stuck there or get the “oops couldn’t find library……..”.

I’ve literally disabled everything I can on cloudflare dashboard that now probably a child can hack me. lol . I even put my audiobooks server in its own tunnel.

I’m at a point that I’m just gonna give up and deactivate all of this cloudflare shit and go back to tailscale and switching servers between home and out of home.

I’m asking for any suggestions if you’ve ever been through something similar. Searching the internet lead me to doing many things that didn’t even fix it. Don’t even get me started on AI.

Thank you in advance. Let me know if you want any details: Debian Trixie and the latest ABS server. Your average .com cloudflare domain are the things I have.

https://lemmy.world/post/44019211
Reply
$$9146
https://lemmy.zip/u/justinthegeek posted on Mar 9, 2026 02:21
In reply to: https://lemmy.world/post/44019211

Sigh…

I hate to add to this by saying I also have the same issue and not provide anything helpful.

Things that made it better? 1. Dual zone DNS. When I’m in the house or on my VPN I don’t need to go out and back in. 2. Disable Cloudflare proxy, or whatever it’s called that hides the endpoint IP.

https://lemmy.zip/comment/25126357
Reply
$$9148
https://programming.dev/u/TrumpetX posted on Mar 9, 2026 02:30
In reply to: https://lemmy.world/post/44019211

What are you using for a reverse proxy? There’s some nginx websocket settings I had to do before things worked properly. I use cloudflare, but just for the DNS/cdn stuff, not their zero trust things.

https://programming.dev/comment/22608438
Reply
$$9155
https://fosstodon.org/users/LordChaos82 posted on Mar 9, 2026 02:57
In reply to: https://programming.dev/comment/22608438

@TrumpetX @DonutsRMeh I use Pangolin and it works great.

https://fosstodon.org/users/LordChaos82/statuses/116196970590088943
Reply
$$9171
https://lemmy.world/u/DonutsRMeh posted on Mar 9, 2026 03:56
In reply to: https://programming.dev/comment/22608438

I don’t use nginx for reverse proxy.

https://lemmy.world/comment/22555844
Reply
$$9173
https://lemmy.world/u/DonutsRMeh posted on Mar 9, 2026 04:01
In reply to: https://lemmy.zip/comment/25126357

Pointing my https cloudflare domain at my local through pihole was basically just like switching servers in the app, because it still required me to switch servers. Might as well just do that. Also, by cloudflare proxy you mean the little orange cloud they have on the records in the dashboard?

For now I have been using the Android app I built to switch between local and remote very quickly. I put the menu right in the home screen so it’s just two clicks and I’m off. I’m also going to add an option in the settings to switch servers automatically based on the connected network, so it’s seamless and I won’t have to fuss with it.

https://lemmy.world/comment/22555891
Reply
$$9176
https://lemmy.decronym.xyz/u/Decronym posted on Mar 9, 2026 04:10
In reply to: https://lemmy.world/post/44019211

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
HTTP Hypertext Transfer Protocol, the Web
IP Internet Protocol
NAS Network-Attached Storage
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)
nginx Popular HTTP server

[Thread #148 for this comm, first seen 9th Mar 2026, 04:10] [FAQ] [Full list] [Contact] [Source code]

https://lemmy.decronym.xyz/comment/16319
Reply
$$9187
https://lemmy.zip/u/justinthegeek posted on Mar 9, 2026 05:23
In reply to: https://lemmy.world/comment/22555891

Oh, then something is wrong with your DNS. You should have a forwarder setup, then you don’t need two ABS servers.

https://lemmy.zip/comment/25128248
Reply
$$9252
https://piefed.zeromedia.vip/u/fleem posted on Mar 9, 2026 09:58
In reply to: https://fosstodon.org/users/LordChaos82/statuses/116196970590088943

damn i do be loving how easy and robust pangolin is getting to be

https://piefed.zeromedia.vip/comment/1768838
Reply
$$9280
https://lemmy.world/u/DonutsRMeh posted on Mar 9, 2026 11:38
In reply to: https://lemmy.zip/comment/25128248

Please tell me more about this forwarder thing. Right now. I have a local server that is your usual regular 192.168…..:13378 then I have my books.mydomain.com and this goes through a cloudflare tunnel on its own, and is the one giving me trouble. Anymore details on the forwarder would be great

https://lemmy.world/comment/22559881
Reply