-
Notifications
You must be signed in to change notification settings - Fork 670
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
[SSL] Using public hotspots with registration portals might be a problem for oc client connection #3120
Comments
The question is: what do we want here?
Bonus points: Shibboleth opens a webview, and has the same problem. But that's for later. /cc @jancborchardt |
@danimo yeah, probably retry silently, and all the other things you say. Never show this popup. It’s not really our job to show a page of 192.168.0.1 so ppl can log in. |
Probably also related to #203 DNS caching issue. Hotspot most likely gives spoofed IP address for first lookup, if the client caches that IP it will fail to connect after the internet connection is properly established. |
As a first fix, in |
That would only work if there is only one host. With direct URL or redirection, there may be several host, specific to some files. In which case we might have another certificate for them to accept. Yet, it would not solve the problem. because the connectionvalidator will then run quickly after that and show this dialog. I don't really know what we can do. |
@ogoffart I didn't mean to check for any hosts or redirection. I had commented over one year ago so I don't remember in detail what I imagined. But I think it was something about NOT showing the scary dialog immediately if this account was connected before (in the same session) and the request is a regular request. |
how about a "retry" option in the "SSL certificate incorrect" dialog, which the user may click after login? |
This is also a problem when a nextcloud is behind a VPN. |
Open, public hotspots often require to first login to a portal. After login, a dns timeout occurs and normally internet is available.
But before the login on portal was done, oc client opens cert validation dialog. the shown cert is not the one of the server, but of the portal. I usually decline the dialog, because I will do the login and accepting this cert is then not required.
Problem: after login, when internet is available, I am not able to connect my oc client to server. Clicking login does not show any action. Nothing happens.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11241768-ssl-using-public-hotspots-with-registration-portals-might-be-a-problem-for-oc-client-connection?utm_campaign=plugin&utm_content=tracker%2F216457&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F216457&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: