Repository navigation
Closed
Description
Steps to reproduce
- Enable external storage.
- Mount webdav external storage using login credentials stored on database, using https.
- Login using user which can access that server.
- See files view.
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
{"reqId":"Gw6Y2yfpFYOsmY6Y\/ci3","remoteAddr":"HIDED_IP","app":"files_external","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\StorageNotAvailableException\",\"Message\":\"Sabre\\\\HTTP\\\\ClientException: Empty reply from server\",\"Code\":0,\"Trace\":\"#0 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/files\\\/storage\\\/dav.php(555): OC\\\\Files\\\\Storage\\\\DAV->convertException(Object(Sabre\\\\HTTP\\\\ClientException), '')\\n#1 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/files\\\/storage\\\/common.php(435): OC\\\\Files\\\\Storage\\\\DAV->stat('')\\n#2 \\\/opt\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/config.php(232): OC\\\\Files\\\\Storage\\\\Common->test(false)\\n#3 \\\/opt\\\/owncloud\\\/apps\\\/files_external\\\/controller\\\/storagescontroller.php(244): OC_Mount_Config::getBackendStatus('\\\\OC\\\\Files\\\\Stora...', Array, false)\\n#4 \\\/opt\\\/owncloud\\\/apps\\\/files_external\\\/controller\\\/userglobalstoragescontroller.php(112): OCA\\\\Files_External\\\\Controller\\\\StoragesController->updateStorageStatus(Object(OCA\\\\Files_external\\\\Lib\\\\StorageConfig))\\n#5 [internal function]: OCA\\\\Files_External\\\\Controller\\\\UserGlobalStoragesController->show(7)\\n#6 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/appframework\\\/http\\\/dispatcher.php(159): call_user_func_array(Array, Array)\\n#7 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/appframework\\\/http\\\/dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OCA\\\\Files_External\\\\Controller\\\\UserGlobalStoragesController), 'show')\\n#8 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/appframework\\\/app.php(110): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files_External\\\\Controller\\\\UserGlobalStoragesController), 'show')\\n#9 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/appframework\\\/routing\\\/routeactionhandler.php(45): OC\\\\AppFramework\\\\App::main('UserGlobalStora...', 'show', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#10 [internal function]: OC\\\\AppFramework\\\\routing\\\\RouteActionHandler->__invoke(Array)\\n#11 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/route\\\/router.php(273): call_user_func(Object(OC\\\\AppFramework\\\\routing\\\\RouteActionHandler), Array)\\n#12 \\\/opt\\\/owncloud\\\/lib\\\/base.php(865): OC\\\\Route\\\\Router->match('\\\/apps\\\/files_ext...')\\n#13 \\\/opt\\\/owncloud\\\/index.php(39): OC::handleRequest()\\n#14 {main}\",\"File\":\"\\\/opt\\\/owncloud\\\/lib\\\/private\\\/files\\\/storage\\\/dav.php\",\"Line\":795}","level":3,"time":"2016-01-29T12:31:42+00:00"}
Client configuration
browser
Chrome
Activity
SergioBertolinSG commentedon Jan 29, 2016
cc @icewind1991
SergioBertolinSG commentedon Feb 1, 2016
Happening the same using owncloud as external storage.
PVince81 commentedon Feb 15, 2016
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 ?
PVince81 commentedon Feb 17, 2016
Any update, is this still happening ?
SergioBertolinSG commentedon Feb 17, 2016
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.
PVince81 commentedon Feb 17, 2016
Are the login credentials valid for this ext storage ? If not, then that dialog would appear.
PVince81 commentedon Feb 17, 2016
also, probably unrelated to SSL ?
SergioBertolinSG commentedon Feb 17, 2016
Yes, they are valid, but still doesn't connect.
SergioBertolinSG commentedon Feb 17, 2016
It is related, mounting it without SSL works fine.
PVince81 commentedon Feb 17, 2016
Ok, thanks for the info. Then there is indeed a bug with SSL + login credentials.
PVince81 commentedon Feb 23, 2016
@SergioBertolinSG did you manually add "https" in the host field or did you just use the format "host/owncloud/remote.php/webdav" ?
14 remaining items
SergioBertolinSG commentedon Mar 2, 2016
Still happening on 9.0.0rc1.
PVince81 commentedon Mar 2, 2016
@SergioBertolinSG please work with @LukasReschke so he get reproduce the issue.
LukasReschke commentedon Mar 2, 2016
Yes. Proper reproduction steps are required here. Server host etc. everything.
SergioBertolinSG commentedon Mar 2, 2016
Like the original steps,just more detailed
serverA is a oC 9.0.0rc1
serverB is a oC 9.0.0rc1 with trustworthy certificate
both servers have admin user with same password.
SergioBertolinSG commentedon Mar 2, 2016
OK, tested with a webdav server different than owncloud, using ssl. Working fine in 9.0rc1.
lock commentedon Aug 5, 2019
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.