[Bug]: Failed to retrieve status server : 400 #2764

Closed
opened 2026-04-25 00:10:18 +02:00 by adam · 2 comments
Owner

Originally created by @olituks on GitHub (May 11, 2025).

What happened?

Hello,

Issue Description:

When I try to connect my Android app to my local ABS instance while on my local network, there are no issues. The same applies when using the web page.
If I try to connect the Android app from outside my local network (e.g., using 5G, or public Wi-Fi), the app fails to retrieve the server status and spins indefinitely.
If I delete the server configuration in the app and attempt to add a new one from outside the local network, I receive the error message: "Failed to retrieve status of server: 400".

My Setup:

The ABS instance and Android app is the latest version available via Docker.
My local network uses a Pi-hole DNS server which audits all internal and external requests. The Pi-hole logs do not show any blocked or failed requests related to this connection attempt.
The ABS application is exposed via a Cloudflare Tunnel. I have multiple other publicly available applications exposed through the same tunnel without any issues.

Extra Information:

If I access ABS from the same phone using a web browser (while outside the local network), I can connect to my server without any problems.

What did you expect to happen?

I would appreciate some guidance on reviewing my Cloudflare configuration, or any other relevant advice.

Steps to reproduce the issue

I have described the issue and the steps taken in the description.

Audiobookshelf version

on docker: 2.21.0 on android 0.9.79-beta

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs

Unfortunately, I can't see any connection logs on Cloudflare, or perhaps I'm not looking in the right place.

Additional Notes

I love this app and I wait with impatience the possibility to setup it on my iPhone.
I was too late for the beta.

Originally created by @olituks on GitHub (May 11, 2025). ### What happened? Hello, **Issue Description:** When I try to connect my Android app to my local ABS instance while on my local network, there are no issues. The same applies when using the web page. If I try to connect the Android app from outside my local network (e.g., using 5G, or public Wi-Fi), the app fails to retrieve the server status and spins indefinitely. If I delete the server configuration in the app and attempt to add a new one from outside the local network, I receive the error message: "Failed to retrieve status of server: 400". **My Setup:** The ABS instance and Android app is the latest version available via Docker. My local network uses a Pi-hole DNS server which audits all internal and external requests. The Pi-hole logs do not show any blocked or failed requests related to this connection attempt. The ABS application is exposed via a Cloudflare Tunnel. I have multiple other publicly available applications exposed through the same tunnel without any issues. **Extra Information:** If I access ABS from the same phone using a web browser (while outside the local network), I can connect to my server without any problems. ### What did you expect to happen? I would appreciate some guidance on reviewing my Cloudflare configuration, or any other relevant advice. ### Steps to reproduce the issue I have described the issue and the steps taken in the description. ### Audiobookshelf version on docker: 2.21.0 on android 0.9.79-beta ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs ```shell Unfortunately, I can't see any connection logs on Cloudflare, or perhaps I'm not looking in the right place. ``` ### Additional Notes I love this app and I wait with impatience the possibility to setup it on my iPhone. I was too late for the beta.
adam added the bug label 2026-04-25 00:10:18 +02:00
adam closed this issue 2026-04-25 00:10:18 +02:00
Author
Owner

@nichwall commented on GitHub (May 11, 2025):

The mobile apps do not support forward authentication, so if you have set that up with Cloudflare you will need to turn it off for ABS. You can use OIDC for authentication for ABS if you want SSO or MFA.

@nichwall commented on GitHub (May 11, 2025): The mobile apps do not support forward authentication, so if you have set that up with Cloudflare you will need to turn it off for ABS. You can use OIDC for authentication for ABS if you want SSO or MFA.
Author
Owner

@olituks commented on GitHub (May 11, 2025):

Thank you for this information, I will look at it.

@olituks commented on GitHub (May 11, 2025): Thank you for this information, I will look at it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2764