-
Notifications
You must be signed in to change notification settings - Fork 816
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
Webflow Login Stuck on "Redirecting" #279
Comments
I'm having the same problem. At first I thought it was due to a corrupted nssdb because my logging kept on throwing things like
I created a new $HOME/.pki/nssdb folder and reinitialized it using It creates the auth in Nextcloud itself, but never seems to get the token back from the webkit view. Some log output:
I'm using the following clients on the server running Beta channel 13.0.2:
|
Is this still happening? I had the same issues with the appimage but those got solved. Maybe you are missing some dependencies? |
I have the same problem with nextcloud-client-appimage-daily from Arch User Repo. When I want to use App-Token I can't even get to the redirect page. The button "Grant access" does nothing. I tested also nextcloud-desktop-git from AUR and had the same problem. Server log from nextcloud-client-appimage-daily: Server log from Android App: |
Can any of you provide me with a test account on your system? |
Thanks. I changed the password (just to be sure). I'll see if I can reproduce thnx. |
Could you post your webserver config? It is weird. A 401 is returned but for some reason the correct Qt signal (authentication required) is never emitted. |
Here is the config of the reverse-proxy (nginx) |
@rullzer Still having this issue. Here's a testing/demo account you can use: |
same problem here. don't know what to do. |
@bitdegree67 yeah seems to only happen in with nginx powered servers. |
same problem with kubernetes reverse proxy and with nginx reverse proxy (in traefik) |
@tabp0le I didn't had any problems using your demo app. Maybe you should try it in inkognito window and you have a cached redirect or sth???? |
@alwinmarkcf it only doesn't work with the loginflow using the built in qtweb in the desktop client. It works with Android app using new flow even. Just not desktop client. |
I have the same problem but I don't use a proxy I only use apache. I did set logging to debug and found:
|
nothing new ? |
Same issue here. |
@bitdegree67 i doubt you will see a fix soon. They will have to collaborate probably with the nextcloud server developer too regarding this. If you are compiling yourself, you can use this commit to force legacy auth: SpryServers/sprycloud-desktop@b18c3ce |
@rullzer any update on this? we're seeing the same thing, and no idea how to work around this... we're stuck unable to add the nextcloud files on one of our machines (tested with the latest linux appimage and latest ubuntu PPA version) |
@Jonast if you are able to compile yourself, I listed a work-around in my previous comment. |
Hi! Could any of you test this build - please make sure to have a clean configuration - https://download.nextcloud.com/desktop/daily/Windows/Nextcloud-2.5.0.61352-daily-20180904.exe? |
I just installed 2.5.0-20180904.004725~xenial1 from the PPA and it was able to migrate my existing config from 2.3.3. I also tried to start from scratch by renaming the config directories and deleting the sync'd directory but that resulted in a crash on start. Mint 18.3 (Ubuntu 16.04) |
I'll give it a shot when I get into the office. I do not think it's related to SSL though. I think it's more related to a misinterpreted http response code. |
Nope, still broken |
@dj-hedgehog please do. thanks! |
Looks similar to my problem (#960) |
Hey all! I'm also being affected by similar behaviour. Trying to log in with nextcloud-client on Ubuntu results in endless login loop when trying to 'Grant Access'. I've tried both the latest nextcloud-client from the official PPA and the latest appImage from the website. Here are some details from the logs. This is the "normal login" loop that I got into: I have tried connecting to both http:// and https:// with no avail. Afterwards, using the app token results in the client telling: The issue to me seems to be, that the full URL "http://koma-server/nextcloud" has become "http://koma-server" which surely doesn't respond. The forgetting seems be happening straight after giving the access token: Find attached the full log-file. |
Same issue here. It does not only affect the sync client, but also sync of caldav or cardav with kdepim. Is there a workaround for the failed SAML authentication? |
I've identified the exact error that needs to be added into the code touched in #758 to fix this problem for cert issues. Also, you should enable logging of the error number somehow. To capture something that users can report to you. See qwebengine error info This is a showstoppper for anyone relying on direct private IP access to a publicly accessible service. And yes, it is a showstopper. |
I have the same problem. I can see that the problem has been solved, but the next release hasn't been published, does it? The problem should be fixed in version 2.5.2. Am I right? When is it going to be released? |
Hey community! |
For me it was solved by using app passwords. |
I'm pretty sure that I am hit by the issue with spaces in the user name. See #1001, which is not yet released. |
Our usernames don't have spaces in the names but we use ldap. We solved it by downgrading to a previous version. |
Are you referring to App Tokens? If so, I tried it but somehow the login flow seemed to forget the server URL in the process and thus the connection wasn't successful. (See my earlier post from Jan 9th for more details)
Yep, no spaces here neither. Haven't tried downgrading to an earlier version though! Which version did you fall back to? Thanks for the posts everyone! |
Ah, nevermind. Seems Ubuntu 18.04 Bionic only has one version available which is the one I have.. I guess downgrading is also not an option! Back to square one.. |
Me too, username with spaces caused the trouble. On my Ubuntu desktop, the beta version of the Nextcloud Client from the offcial beta ppa fixed this bug. The current version number is 2.5.2git. On Android, I am using stable 3.50 from the F-Droid store and it works as well. Dunno about the Windows client, though. |
I elected to install the snap that is available of 2.3.3. It works ok, except it refuses to launch at login. |
This issue can be closed as the new 2.5.2 solved the issue and it has been deployed to the ppa as well. |
Hey hey! So, all in all, still stuck.. :/ |
@01tot10 try to upgrade your nextcloud. It seems you are still on 13.0.4 |
Thanks for the reply! Hmm, I think I should be on the latest ver! My nextcloud client is installed from ppa:nextcloud-devs/client for Ubuntu 18.04 nextcloud-client: nextcloud --version returns Nextcloud version 2.5.2git As far as I'm concerned this should be the newest version! |
The path returned from the server encodes a space in the username with `+` and if the username contains a `+` sign it is encoded as `%2B` (cf. https://www.php.net/manual/function.urlencode.php). Fix: Don't (double) decode the URL path and then replace `+` with space (introduced in issue nextcloud#279 resp. commit 9ec61a8). Instead first replace `+` with space, then decode percent encoding. Tested with a username containing a space, a username containing a `+`sign and a username containing just A-Za-z0-9- (with Nextcloud 16). (fixes issue nextcloud#1266) Signed-off-by: Sven Strickroth <[email protected]>
Hey, we've just released 2.6.1 RC1 which is built with Qt 5.12.5 and OpenSSL 1.1.1d on all platforms, so it features TLS 1.3 :-) You may give it a try: Login (and client SSL certificates support) was fixed in the 2.6.0 release - but not with the WebView component, shown own your screenshots. Sadly the Qt webview has a lot of issues. That's why we implemented the new Login Flow v2 in v2.6.0 which is supported from NC server 16.x and up. |
Closing this because of inactivity while the issue should by solved by using client version 2.6 in conjunction with a more recent Nextcloud server version 16 or higher (security!) ;-) |
No, it is not in relation with nextcloud client maybe. It does happen also on web ui. It is nextcloud server. As long as no one find the solution, it is useless to close an issue not resolved. |
@jerome-diver If I get your comment right: In this case you should open a server issue: https://github.com/nextcloud/server/issues |
Details
Logs/Stacktrace
Steps to reproduce
The text was updated successfully, but these errors were encountered: