-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 connection doesn't happen when using login credentials with webdav external storage. #22016
Comments
cc @icewind1991 |
Happening the same using owncloud as external storage. |
I guess you probably used the SSL checkbox, I just saw this: #21978 (comment) The PR that fixes validation was fixed, can you try again with 9.0beta1 ? |
Any update, is this still happening ? |
Yes, now behaviour is a little different, red background appears, clicking on it appears a pop up saying: There was an error with message: Sabre\HTTP\ClientException: Empty reply from server. Do you want to review mount point config in admin settings page? Logs:
Tested with daily master {"installed":true,"maintenance":false,"version":"9.0.0.11","versionstring":"9.0 beta 1","edition":""} The https checkbox appears unchecked after going back to the admin page. |
Are the login credentials valid for this ext storage ? If not, then that dialog would appear. |
also, probably unrelated to SSL ? |
Yes, they are valid, but still doesn't connect. |
It is related, mounting it without SSL works fine. |
Ok, thanks for the info. Then there is indeed a bug with SSL + login credentials. |
@SergioBertolinSG did you manually add "https" in the host field or did you just use the format "host/owncloud/remote.php/webdav" ? |
I stumbled upon the bug while debugging https://github.com/owncloud/core/issues/22605 … this has a security impact as it disables the whole SSL verification 🙈 |
The current logic is checking whether: 1. The returned value is a boolen 2. The returned value is a string and then matches for "true" Since the config is now written to the database the data is now a string with the value "1" if HTTPS is set to true. Effectively this option was thus always disabled at the moment, falling back to plain HTTP. This change casts the data to a boolean if it is defined as boolean. Fixes #22605 Fixes #22016
Still happening on 9.0.0rc1. |
@SergioBertolinSG please work with @LukasReschke so he get reproduce the issue. |
Yes. Proper reproduction steps are required here. Server host etc. everything. |
Like the original steps,just more detailed serverA is a oC 9.0.0rc1
|
OK, tested with a webdav server different than owncloud, using ssl. Working fine in 9.0rc1. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
Expected behaviour
Folder is correctly mounted.
Actual behaviour
Folder is not mounted.
Tested with accepted certificates and self-signed. Both fails to connect (But doesn't shows red square).
Server configuration
Operating system:
Ubuntu 14.04
Web server:
Apache
Database:
MySQL
PHP version:
5.5.9
ownCloud version: (see ownCloud admin page)
Master branch
{"installed":true,"maintenance":false,"version":"9.0.0.6","versionstring":"9.0 pre alpha","edition":""}
Updated from an older ownCloud or fresh install:
Fresh
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
Yes webdav.
Are you using encryption:
No
Logs
Client configuration
browser
Chrome
The text was updated successfully, but these errors were encountered: