Bug#730210: owncloud-client: Connection wizard doesn't proceed beyong server discovery
Hi. Olivier Berger olivier.ber...@telecom-sudparis.eu writes: Olivier Berger olivier.ber...@telecom-sudparis.eu writes: Note that this doesn't fix the issue with the wizard, but only helps working with a manually established config file. Hope this helps, though. AFAIU, this is a common problem with some loadbalancer devices performing the SSL negociation. Since libneon27/mirall are linked to GnuTLS, this boils down to what was diagnosed in #683160 :-/ Note that the situation isn't improving with OpenSSL linked either, from local compilation tests I've made, as it also exhibits the same issue (which is already reported in #683159 btw). I couldn't spot an env-var allowing to dynamically change the default prototocols to use (which exists in GLIB, but not in Qt AFAICT) :-/ The solution is then to ask admins to update their devices, or to wait for a patch upstream, I'm afraid. Hope this helps. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#730210: owncloud-client: Connection wizard doesn't proceed beyong server discovery
On Fri, Nov 22, 2013 at 06:00:58PM +0100, Olivier Berger wrote: On Fri, Nov 22, 2013 at 05:54:47PM +0100, Olivier Berger wrote: The turning wheel keeps turning and nothing more happens. FYI, the server at https://our.owncloud.server/status.php (address changed) reports : {installed:true,version:5.0.17,versionstring:5.0.10,edition:} Oh, it seems I hadn't waited long enough, as I finally received the following message : Failed to connect to ownCloud: Connection closed The logs contain : 11-22 17:53:41:958 ownCloudInfo Network Error 2 : Connection closed 11-22 17:53:41:961 status.php returns: 2 Reply: QNetworkReplyImpl(0xb849dc70) 11-22 17:53:41:961 No proper answer on https://our.owncloud.server/status.php; 11-22 17:53:41:962 Object::disconnect: No such slot Mirall::OwncloudSetupWizard::slotOwnCloudFound(QString,QString,QString,QString) 11-22 17:53:41:962 Object::disconnect: No such slot Mirall::OwncloudSetupWizard::slotNoOwnCloudFound(QNetworkReply*) 11-22 17:53:41:972 QString Mirall::MirallConfigFile::configFile() const OO Custom config file in use: /home/olivier/.local/share/data//ownCloud/owncloud.cfg_112213175041 I think I managed to find the problem. It seems that our server only supports SSLv3... but AFAICT, using curl, only curl -3 would succesfully access https://our.owncloud.server/status.php So I figured out that the same was true for the owncloud code. Investigating a bit, it seems that I managed to patch it to work with SSLv3 : --- owncloud-client-1.4.2+dfsg.orig/src/creds/httpcredentials.cpp +++ owncloud-client-1.4.2+dfsg/src/creds/httpcredentials.cpp @@ -76,6 +76,11 @@ protected: QByteArray credHash = QByteArray(_cred-user().toUtf8()+:+_cred-password().toUtf8()).toBase64(); QNetworkRequest req(request); req.setRawHeader(QByteArray(Authorization), QByteArray(Basic ) + credHash); + + QSslConfiguration sslConfig = req.sslConfiguration(); + sslConfig.setProtocol(QSsl::SslV3); + req.setSslConfiguration(sslConfig); + return MirallAccessManager::createRequest(op, req, outgoingData);\ } private: Hope this helps. Best regards, -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#730210: owncloud-client: Connection wizard doesn't proceed beyong server discovery
Olivier Berger olivier.ber...@telecom-sudparis.eu writes: Investigating a bit, it seems that I managed to patch it to work with SSLv3 : --- owncloud-client-1.4.2+dfsg.orig/src/creds/httpcredentials.cpp +++ owncloud-client-1.4.2+dfsg/src/creds/httpcredentials.cpp @@ -76,6 +76,11 @@ protected: QByteArray credHash = QByteArray(_cred-user().toUtf8()+:+_cred-password().toUtf8()).toBase64(); QNetworkRequest req(request); req.setRawHeader(QByteArray(Authorization), QByteArray(Basic ) + credHash); + + QSslConfiguration sslConfig = req.sslConfiguration(); + sslConfig.setProtocol(QSsl::SslV3); + req.setSslConfiguration(sslConfig); + return MirallAccessManager::createRequest(op, req, outgoingData);\ } private: Note that this doesn't fix the issue with the wizard, but only helps working with a manually established config file. Hope this helps, though. -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#730210: owncloud-client: Connection wizard doesn't proceed beyong server discovery
Package: owncloud-client Version: 1.4.2+dfsg-2 Severity: normal Hi. I'm trying to setup the server URL but the process doesn't seem to detect the server. Here's the contents of the logs, launching with : $ LANG=C owncloud --logwindow 11-22 17:50:32:664 ## ownCloud C () 1.4.2 11-22 17:50:32:704 * Setup folders from /home/olivier/.local/share/data//ownCloud/folders 11-22 17:50:32:710 Network Location: 11-22 17:50:32:711 No configured folders yet, starting setup wizard 11-22 17:50:32:730 Current Wizard page changed to 0 11-22 17:50:32:730 Pending request: QObject(0x0) 11-22 17:50:41:894 Connect to url: https://our.owncloud.server/; 11-22 17:50:41:895 Setup-Log: Trying to connect to ownCloud at https://our.owncloud.server/ to determine authentication type... 11-22 17:50:41:895 QString Mirall::MirallConfigFile::configFile() const OO Custom config file in use: /home/olivier/.local/share/data//ownCloud/owncloud.cfg_112213175041 11-22 17:50:41:896 QString Mirall::MirallConfigFile::configFile() const OO Custom config file in use: /home/olivier/.local/share/data//ownCloud/owncloud.cfg_112213175041 11-22 17:50:41:897 Loading config: /home/olivier/.local/share/data//ownCloud/owncloud.cfg_112213175041 11-22 17:50:41:897 Getting credentials of typefor 112213175041 11-22 17:50:41:898 QString Mirall::MirallConfigFile::configFile() const OO Custom config file in use: /home/olivier/.local/share/data//ownCloud/owncloud.cfg_112213175041 11-22 17:50:41:898 *** writing mirall config to /home/olivier/.local/share/data//ownCloud/owncloud.cfg_112213175041 11-22 17:50:41:898 QString Mirall::MirallConfigFile::configFile() const OO Custom config file in use: /home/olivier/.local/share/data//ownCloud/owncloud.cfg_112213175041 11-22 17:50:41:900 QString Mirall::MirallConfigFile::configFile() const OO Custom config file in use: /home/olivier/.local/share/data//ownCloud/owncloud.cfg_112213175041 11-22 17:50:41:900 QString Mirall::MirallConfigFile::configFile() const OO Custom config file in use: /home/olivier/.local/share/data//ownCloud/owncloud.cfg_112213175041 11-22 17:50:41:901 QString Mirall::MirallConfigFile::configFile() const OO Custom config file in use: /home/olivier/.local/share/data//ownCloud/owncloud.cfg_112213175041 11-22 17:50:41:901 Get Request to QUrl( https://our.owncloud.server/status.php; ) 11-22 17:50:41:902 Setting up host header: our.owncloud.server 11-22 17:50:41:903 Setting config handle 112213175041 The turning wheel keeps turning and nothing more happens. FYI, the server at https://our.owncloud.server/status.php (address changed) reports : {installed:true,version:5.0.17,versionstring:5.0.10,edition:} Thanks in advance. Best regards, -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (900, 'testing') Architecture: i386 (i686) Kernel: Linux 3.11-2-686-pae (SMP w/2 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages owncloud-client depends on: ii libc6 2.17-93 ii libgcc11:4.8.2-1 ii libocsync-plugin-owncloud 0.90.4-1 ii libocsync0 0.90.4-1 ii libowncloudsync0 1.4.2+dfsg-2 ii libqt4-dbus4:4.8.5+git121-g2a9ea11+dfsg1-2 ii libqt4-network 4:4.8.5+git121-g2a9ea11+dfsg1-2 ii libqt4-test4:4.8.5+git121-g2a9ea11+dfsg1-2 ii libqt4-xml 4:4.8.5+git121-g2a9ea11+dfsg1-2 ii libqt4-xmlpatterns 4:4.8.5+git121-g2a9ea11+dfsg1-2 ii libqtcore4 4:4.8.5+git121-g2a9ea11+dfsg1-2 ii libqtgui4 4:4.8.5+git121-g2a9ea11+dfsg1-2 ii libqtkeychain0 0.1.0-2 ii libqtwebkit4 2.2.1-7 ii libstdc++6 4.8.2-1 ii owncloud-client-l10n 1.4.2+dfsg-2 owncloud-client recommends no packages. owncloud-client suggests no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#730210: owncloud-client: Connection wizard doesn't proceed beyong server discovery
On Fri, Nov 22, 2013 at 05:54:47PM +0100, Olivier Berger wrote: The turning wheel keeps turning and nothing more happens. FYI, the server at https://our.owncloud.server/status.php (address changed) reports : {installed:true,version:5.0.17,versionstring:5.0.10,edition:} Oh, it seems I hadn't waited long enough, as I finally received the following message : Failed to connect to ownCloud: Connection closed The logs contain : 11-22 17:53:41:958 ownCloudInfo Network Error 2 : Connection closed 11-22 17:53:41:961 status.php returns: 2 Reply: QNetworkReplyImpl(0xb849dc70) 11-22 17:53:41:961 No proper answer on https://our.owncloud.server/status.php; 11-22 17:53:41:962 Object::disconnect: No such slot Mirall::OwncloudSetupWizard::slotOwnCloudFound(QString,QString,QString,QString) 11-22 17:53:41:962 Object::disconnect: No such slot Mirall::OwncloudSetupWizard::slotNoOwnCloudFound(QNetworkReply*) 11-22 17:53:41:972 QString Mirall::MirallConfigFile::configFile() const OO Custom config file in use: /home/olivier/.local/share/data//ownCloud/owncloud.cfg_112213175041 Thansk in advance. -- Olivier BERGER http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org