New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NextCloud client unable to connect to server #4
Comments
I seem to have the same problem. I can reach the status URL https://wolke.netzbegruenung.de/status.php just fine. We are using SAML auth, if that is of any importance. Edit: Also worth noting might be that the host is reachable both on IPv4 and IPv6, but the nextcloud service (AFAIK) is only listening on IPv4. |
FYI: I have no trouble using the ownclowd client on the same Mac with the same (nextcloud) server. |
Confirming marians, onwncloud client with nextcloud server fix it |
Confirming that this issue affects OSX machines as of client release 2.3.2 FYI: Issue has also been reported on nextcloud.com forums here |
Please try to add end slash ("/") to your urls |
(Disclaimer: I'm working with the same backend as @marians) I've tried with the new version and now I get at least to the user credential stage. But this fails for my normal user password and for the app password with the error down below. We have SAML enabled. The current version of ownCloud can login, but does not save the session :( |
Is there anything we can provide (debug messages) to fix this? |
Same problem here using MacOS and Version 2.3.3 (build 84) |
Are you still having this problem? |
Just checked with the current version 2.3.3.84. I now see a different error: Edit: which is the same problem @gerbsen reported in #4 (comment) |
I have the same problem with NextCloud 13 server and Ubuntu 18.04 snap NextCloud client (version 2.3.3.). Can't get past initial screen where it says it can't connect to status.php on server. |
I Have the same problem in my ubuntu 18.04 NextCloud client 2.3.3. and NextCloud 13 |
I have the same problem (can't even get to the credentials screen) in Ubuntu 16.04, NextCloud client 2.3.3 and NextCloud Server 13.0.2 |
I can connect on neither a Windows 7Pro x64 nor Windows 10Home computer using On both computers, I get the error; |
Same problem. Only does it on local network. Works fine from external. NAT problems? Mobile apps work when on mobile data but do not work when on local LAN WiFi. |
@jeremiah-s-putnam it doesn't seem like the same issue. |
Well, that's wired. This reply went to the wrong post. I don't know what happened. Ping is fine. The cloud is hosted on a local machine on my LAN. Seems like a redirect problem or something like that. |
@arthurvanzyl We've had this issue as well just now. The current nightly-build seems to work, though: https://download.nextcloud.com/desktop/daily/Mac/Installer/Nextcloud-qt5.9.2-2.5.0.20180710daily.pkg |
thanks @ciil |
running - version 2.5.0daily (build 20180710) ok seem sbetter but now I am getting: The server was unable to complete your request. Remote Address: 192.168.254.6 |
my problem was due to bruteforce protection. To fix it I had to remove the items from the oc_bruteforce_attempts table. You can find more here: https://help.nextcloud.com/t/solved-bruteforce-detection-blocking-my-ip-but-theres-no-oc-bruteforce-attempts-database/7652/2 |
Had the same problem. Root-Cause was IPv4/IPv6 hassle. |
I don't see the problem any more in the latest Nextcloud client for Mac. |
Had the same problem. Ping your server and see which IP it tries to reach. On my machine it tried to reach the IPv6 which was broken. I fixed my connection issues and voila it works from Linux in my local network. |
If your Nextcloud instance is behind a proxy you may need to set some config options. I required this in my config.php as I was using a reverse proxy to enforce https:
you may also need:
|
I had similar issue today, the problem was DNS v6. |
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
The release candidate for 2.6 has a new login flow: https://download.nextcloud.com/desktop/prereleases/Windows/nextcloud-2.6.0.5818-rc1-20190907.exe Could you try it? |
same exact issue with the latest client for macos, I have completely disabled ipv6, it loads fine in browser but throws the error in the client. Edit: Found the issue, for me it was mod_headers, I had to add the following: SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1 RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION |
Not sure what is going on, but I recently tried owncloud server again and the owncloud client and I'm not having this issue. So switching back to owncloud for now. |
Have you tried the latest 2.6.0 release, best with NC server 16 or up? The new Login Flow v2 works from NC 16 on and completely leaves the SAML authorization up to your NC server and standard browser. Linux: Mac: Windows: |
@misch7 Yes, I was on both the latest client and server. |
Hi, Could you try to run the most recent desktop client and server to check if you still have this issue? The latest version can be seen by checking https://nextcloud.com/install/#install-clients and https://nextcloud.com/install/#instructions-server respectively. And then if you still have this problem, could you please share the desktop client logs?
Thanks! |
Hey, I'm on Windows client 3.1.2 and having the same issue, see screenshot. I'm also using 3.1.2 on MacOS and getting the same error. Logs included for the windows version. Note I tried specifying a proxy server before changing it back to No Proxy, so there are logs there for that attempt. The oc_bruteforce_attempts db table is empty. My nextcloud instance is behind the nginx reverse proxy provided by a I can access the server with the Android app, and through the browser on the same devices as the desktop client. I can load Also maybe of note, my internal DNS server is a pihole which has a dns entry mapping the duckdns domain to my local nextcloud host. I just now, while writing this comment, discovered that if I connect my desktop to a mobile hotspot I can log in with the desktop client. Not sure what that means. |
What is the server version?
Could you share the logs too? |
Here's the debug archive after attempting login via hotspot: nc_via_hotspot.zip. It might be a bit noisy because I still have my account logged in to the client, so as soon as I connected to the hotspot it tried to reconnect to the nextcloud server with that account. At the same time I went to 'Add Account' and entered the server URL, which timed out (I assume because it was busy reconnecting). Once it had reconnected, I paused sync for the existing login and attempted adding another account again. It successfully reached the server and opened the browser login page, at which point I dumped the log. Server version is btw, I'm getting the same issue on the linux client (whatever the version on the fedora repository is at the moment, 3.1.1 I think?). I just tried going through the Add Account workflow on my Android client (v3.15.0, installed via play store), connected to the same LAN as the devices that are having this problem with the desktop client, and it worked. |
This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you! |
Hi, I did try to replace my owncloud by the sexiest nextcloud. I did it pretty easy on all my computer, except on my 2 macs. I got informed that it is not a valid url but and can not reach the status.php in https. Work fine with the web interface (status.php) on that computer, so...
The linux client is working fine and I dont have ant windows to check
Thank for help and considering fixing it
The text was updated successfully, but these errors were encountered: