Nextcloud desktop unable to connect to my server

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 33.x
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian/Stable
  • Web server and version (e.g, Apache 2.4.25):
    • Apache2.4.67
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    *
  • PHP version (e.g, 8.3):
    • 8.4
  • Is this the first time you’ve seen this error? (Yes / No):
    • first time trying client
  • When did this problem seem to first start?
    • immediately
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • bare metal
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

After installing the desktop client on my FLX1s phone, it refuses to connect to my server. I can connect to my server via a web browser on the phone, but not through the desktop client.

Steps to replicate it (hint: details matter!):

  1. enter the server address (e.g. nextcloud.)

  2. the client inserts https:// in front of the server address

  3. wait for a second or two.

  4. Client shows the error "Failed to connect to Nextcloud at http://https//nextcloud..:
    An unexpected error occurred…

The problem looks like the client is getting messing up the connection type, It correctly adds the https:// but then complains about not being able to connect to http://https// (note the missing colon), which is not a valid protocol.

Hi,

And what if you enter the full address?

https://your.server.address

I can enter the address with or without specifying the protocol, and it always takes me to the right address.

Fill all the replace me you failed to fill

Strangely, that worked.

I had tried removing the s from the https that the client inserted and that failed. It should have simply done the https redirect on the server.

It looks like the desktop client isn’t using the address that it displays in the dialogue box to actually make the connection.

Done, The dialogue contains so much extra stuff that it takes multiple screens to get through it all. I missed that part and only saw it after I submitted the post. It wasn’t really relevant either way because the problem has nothing to do with the server.