Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Spaceinvader Nextcloud AIO - malformed server configuration Android app

Featured Replies

  • Hi all,

The error is stated in the title.

I have the Nextcloud AIO install working perfectly with Onlyoffice running in a cloudflare tunnel. If I connect through a web browser all is fine ... if I try to connect the android app I get the "malformed server configuration".

I have searched the forums and found nothing to help so am making a post. I don't fully understand this stuff so would appreciate a bit of help :)

Chat GPT summarises the error as,

The error “malformed server configuration” — especially when accessing Nextcloud AIO via a Cloudflare Tunnel on Android — generally points to a TLS or reverse proxy misconfiguration

  1. Incorrect overwrite.cli.url, overwriteprotocol, or trusted_proxies in config.php

  2. Incomplete or broken HTTPS forwarding (e.g., Cloudflared → HTTP backend)

  3. Missing or misconfigured headers via NGINX or Docker labels

  4. Self-signed certs or invalid TLS for Android clients

A few points

  • As per Spaceinvader's video and his install I connect to Nextcloud to the nextcloud-aio-apache container on port 11000.

  • I trusted my doman in config.php

  • Inside my Cloudflare tunnel I have to leave the public service connection setting as HTTP://XX.XX.XX.XX:11000. If I change it to HTTPS it fails.

  • Putting 2 and 2 together from the Chat GPT info and the cloudflare HTTP tunnel setting I'm guessing the failure lies in "Incomplete or broken HTTPS forwarding (e.g., Cloudflared → HTTP backend)"

  • I don't understand how to alter the AIO container settings ... perhaps if port 11000 was mapped to 443 it would be happy?

  • I don't fully understand where the apache stuff is in the install ... is it actually referring to NGINX in the nextcloud installation?

I'll leave it there. Maybe someone else solved this... and I also don't want to put too much information (can add more as needed).

Thank you in advance.

  • Author

I should have added that I recently had to move the server to a new location and a new IP address.

I am pretty sure that I went through everything and updated the IP addresses...

But I still get this error and so far am unable to fix it.

  • Your web server is not yet properly set up to allow file synchronization, because the WebDAV interface seems to be broken. To allow this check to run you have to make sure that your Web server can connect to itself. Therefore it must be able to resolve and connect to at least one of its trusted_domains or the overwrite.cli.url. This failure may be the result of a server-side DNS mismatch or outbound firewall rule.

  • Community Expert

Make sure your DNS entries are updated with the new IP, and that you've rebooted your android device to clear the DNS cache

  • Community Expert

Sounds like maybe the trusted domains and trusted proxy needs to be updated to the IP of your unraid machine if that changed if you got new ISP equipment if you're on a different subnet.

In the config.php file that is.

Edited by MowMdown

  • Author

thank you for the responses.

That was all very confusing! However I managed to get it working and resolve all the Nextcloud errors, log errors, and finally to get the android apps connected!

I really appreciate the responses.

  • 2 months later...
On 6/16/2025 at 9:24 AM, Moniker Lewinski said:

thank you for the responses.

That was all very confusing! However I managed to get it working and resolve all the Nextcloud errors, log errors, and finally to get the android apps connected!

I really appreciate the responses.

Any help with your solution? I'm still stuck over here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.