Anyone get audiobookshelf to work?

indivision

Guru
Joined
Jan 4, 2013
Messages
806
I'm trying to get the audiobookshelf chart to work. It installs and runs fine locally.

The problem is that when you try to connect the mobile app counterpart it fails with "Unknown Error".

I found what looks like a direct description of this on the git page:

Traefik Reverse Proxy

Middleware relating to CORS will cause the app to report Unknown Error when logging in. To prevent this don't apply any of the following headers to the router for this site:
  • accessControlAllowMethods
  • accessControlAllowOriginList
  • accessControlMaxAge
From @Dondochaka and @BeastleeUK

I'm not 100% sure what headers or router they are referring to. Within Traefik, I see references to the Middleware and Router. But, as far as I can tell, there isn't a way to edit any "headers" in the GUI.

Has anyone else figured this out and got it working?
 
Last edited:

ksimm1

Dabbler
Joined
Dec 7, 2020
Messages
42
Has anyone else figured this out and got it working?

there is pre-defined middleware for the truecharts traefik implementation that has good secure defaults. in most scenarios you can leave them as-is. you can see the various predefined middleware here:

On the app config, you can uncheck the default middleware, and set a less restrictive chain in the config traefik middlewares section. The following worked for me with the audiobookshelf android app:

ab_middlewares.png
 
Last edited:
Top