core icon indicating copy to clipboard operation
core copied to clipboard

Owncloud desktop client Csyns error, 400 bad request

Open theclansmen opened this issue 12 years ago • 29 comments

Steps to reproduce

  1. My dekstop client could not sync with my server on MAC and PC 2. 3.

Server configuration

Operating system: Win 7 / Mac OS

Web server:

Database:

PHP version:

ownCloud version: (see ownCloud admin page) 6.0.4

Updated from an older ownCloud or fresh install: fresh install

List of activated apps:

The content of config/config.php:

<?php
$CONFIG = array (
  'instanceid' => 'oca2091aec74',
  'passwordsalt' => '*** Removed for security reasons',
  'trusted_domains' => 
  array (
    0 => 'cloud.theclansmen.fr',
   'check_for_working_webdav' => true,
  ),
  'datadirectory' => '/home/theclans/cloud/data',
  'dbtype' => 'sqlite3',
  'version' => '6.0.4.1',
  'installed' => true,
  'maxZipInputSize' => 0,
  'allowZipDownload' => true,
  'forcessl' => true,
);

Are you using external storage, if yes which one: local/smb/sftp/... NO

Are you using encryption: No

Client configuration

Browser: Firefox 30.0

Operating system: Win 7 / Mac OS

Logs

Web server error log

Fatal   index   Symfony\Component\Routing\Exception\RouteNotFoundException: Route "contacts_index" does not exist.  2014-07-17T10:11:25+00:00
Error   search_lucene   Cross-reference streams are not supported yet. Trace:\n#0 /home/theclans/cloud/apps/search_lucene/3rdparty/Zend/Pdf/Parser.php(460): Zend_Pdf_Parser->_loadXRefTable('116') #1 /home/theclans/cloud/apps/search_lucene/3rdparty/Zend/Pdf.php(318): Zend_Pdf_Parser->__construct('%PDF-1.5\r%\xE2\xE3\xCF\xD3\r...', Object(Zend_Pdf_ElementFactory_Proxy), false) #2 /home/theclans/cloud/apps/search_lucene/3rdparty/Zend/Pdf.php(255): Zend_Pdf->__construct('%PDF-1.5\r%\xE2\xE3\xCF\xD3\r...', NULL) #3 /home/theclans/cloud/apps/search_lucene/document/Pdf.php(21): Zend_Pdf::parse('%PDF-1.5\r%\xE2\xE3\xCF\xD3\r...') #4 /home/theclans/cloud/apps/search_lucene/document/Pdf.php(69): OCA\Search_Lucene\Document\Pdf->__construct('%PDF-1.5\r%\xE2\xE3\xCF\xD3\r...', false, false) #5 /home/theclans/cloud/apps/search_lucene/lib/indexer.php(94): OCA\Search_Lucene\Document\Pdf::loadPdf('%PDF-1.5\r%\xE2\xE3\xCF\xD3\r...') #6 /home/theclans/cloud/apps/search_lucene/lib/hooks.php(79): OCA\Search_Lucene\Indexer::indexFile('/Juin 2014.pdf', 'leclouddesamour...') #7 [internal function]: OCA\Search_Lucene\Hooks::doIndexFile('{"path":"\\/Juin...') #8 /home/theclans/cloud/lib/private/backgroundjob/legacy/queuedjob.php(16): call_user_func(Array, '{"path":"\\/Juin...') #9 /home/theclans/cloud/lib/private/backgroundjob/job.php(34): OC\BackgroundJob\Legacy\QueuedJob->run(Array) #10 /home/theclans/cloud/lib/private/backgroundjob/queuedjob.php(27): OC\BackgroundJob\Job->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log)) #11 /home/theclans/cloud/cron.php(114): OC\BackgroundJob\QueuedJob->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log)) #12 {main}    2014-07-17T07:42:05+00:00
Warning     core    isWebDAVWorking: NO - Reason: [CURL] Error while making request: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (error code: 35) (Sabre_DAV_Exception)     2014-07-17T07:42:03+00:00 

ownCloud log (data/owncloud.log)

{"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (error code: 35) (Sabre_DAV_Exception)","level":2,"time":"2014-07-16T22:55:26+00:00"}
{"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (error code: 35) (Sabre_DAV_Exception)","level":2,"time":"2014-07-16T22:57:25+00:00"}
{"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (error code: 35) (Sabre_DAV_Exception)","level":2,"time":"2014-07-16T22:57:27+00:00"}
{"app":"OC_USER_WEBDAVAUTH","message":"Invalid Url: \"\" ","level":3,"time":"2014-07-16T22:57:36+00:00"}
{"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (error code: 35) (Sabre_DAV_Exception)","level":2,"time":"2014-07-16T23:00:06+00:00"}
{"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (error code: 35) (Sabre_DAV_Exception)","level":2,"time":"2014-07-16T23:00:12+00:00"}
{"app":"search_lucene","message":"Cross-reference streams are not supported yet. Trace:\\n#0 \/home\/theclans\/cloud\/apps\/search_lucene\/3rdparty\/Zend\/Pdf\/Parser.php(460): Zend_Pdf_Parser->_loadXRefTable('116')\n#1 \/home\/theclans\/cloud\/apps\/search_lucene\/3rdparty\/Zend\/Pdf.php(318): Zend_Pdf_Parser->__construct('%PDF-1.5\\r%\\xE2\\xE3\\xCF\\xD3\\r...', Object(Zend_Pdf_ElementFactory_Proxy), false)\n#2 \/home\/theclans\/cloud\/apps\/search_lucene\/3rdparty\/Zend\/Pdf.php(255): Zend_Pdf->__construct('%PDF-1.5\\r%\\xE2\\xE3\\xCF\\xD3\\r...', NULL)\n#3 \/home\/theclans\/cloud\/apps\/search_lucene\/document\/Pdf.php(21): Zend_Pdf::parse('%PDF-1.5\\r%\\xE2\\xE3\\xCF\\xD3\\r...')\n#4 \/home\/theclans\/cloud\/apps\/search_lucene\/document\/Pdf.php(69): OCA\\Search_Lucene\\Document\\Pdf->__construct('%PDF-1.5\\r%\\xE2\\xE3\\xCF\\xD3\\r...', false, false)\n#5 \/home\/theclans\/cloud\/apps\/search_lucene\/lib\/indexer.php(94): OCA\\Search_Lucene\\Document\\Pdf::loadPdf('%PDF-1.5\\r%\\xE2\\xE3\\xCF\\xD3\\r...')\n#6 \/home\/theclans\/cloud\/apps\/search_lucene\/lib\/hooks.php(79): OCA\\Search_Lucene\\Indexer::indexFile('\/Juin 2014.pdf', 'leclouddesamour...')\n#7 [internal function]: OCA\\Search_Lucene\\Hooks::doIndexFile('{\"path\":\"\\\\\/Juin...')\n#8 \/home\/theclans\/cloud\/lib\/private\/backgroundjob\/legacy\/queuedjob.php(16): call_user_func(Array, '{\"path\":\"\\\\\/Juin...')\n#9 \/home\/theclans\/cloud\/lib\/private\/backgroundjob\/job.php(34): OC\\BackgroundJob\\Legacy\\QueuedJob->run(Array)\n#10 \/home\/theclans\/cloud\/lib\/private\/backgroundjob\/queuedjob.php(27): OC\\BackgroundJob\\Job->execute(Object(OC\\BackgroundJob\\JobList), Object(OC\\Log))\n#11 \/home\/theclans\/cloud\/cron.php(114): OC\\BackgroundJob\\QueuedJob->execute(Object(OC\\BackgroundJob\\JobList), Object(OC\\Log))\n#12 {main}","level":3,"time":"2014-07-16T23:34:49+00:00"}
{"app":"Encryption library","message":"Could not get migration status for leclouddesamoureux, no record found","level":3,"time":"2014-07-16T23:35:03+00:00"}
{"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (error code: 35) (Sabre_DAV_Exception)","level":2,"time":"2014-07-16T23:35:46+00:00"}
{"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (error code: 35) (Sabre_DAV_Exception)","level":2,"time":"2014-07-16T23:42:54+00:00"}
{"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (error code: 35) (Sabre_DAV_Exception)","level":2,"time":"2014-07-16T23:45:00+00:00"}
{"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (error code: 35) (Sabre_DAV_Exception)","level":2,"time":"2014-07-17T07:42:03+00:00"}
{"app":"search_lucene","message":"Cross-reference streams are not supported yet. Trace:\\n#0 \/home\/theclans\/cloud\/apps\/search_lucene\/3rdparty\/Zend\/Pdf\/Parser.php(460): Zend_Pdf_Parser->_loadXRefTable('116')\n#1 \/home\/theclans\/cloud\/apps\/search_lucene\/3rdparty\/Zend\/Pdf.php(318): Zend_Pdf_Parser->__construct('%PDF-1.5\\r%\\xE2\\xE3\\xCF\\xD3\\r...', Object(Zend_Pdf_ElementFactory_Proxy), false)\n#2 \/home\/theclans\/cloud\/apps\/search_lucene\/3rdparty\/Zend\/Pdf.php(255): Zend_Pdf->__construct('%PDF-1.5\\r%\\xE2\\xE3\\xCF\\xD3\\r...', NULL)\n#3 \/home\/theclans\/cloud\/apps\/search_lucene\/document\/Pdf.php(21): Zend_Pdf::parse('%PDF-1.5\\r%\\xE2\\xE3\\xCF\\xD3\\r...')\n#4 \/home\/theclans\/cloud\/apps\/search_lucene\/document\/Pdf.php(69): OCA\\Search_Lucene\\Document\\Pdf->__construct('%PDF-1.5\\r%\\xE2\\xE3\\xCF\\xD3\\r...', false, false)\n#5 \/home\/theclans\/cloud\/apps\/search_lucene\/lib\/indexer.php(94): OCA\\Search_Lucene\\Document\\Pdf::loadPdf('%PDF-1.5\\r%\\xE2\\xE3\\xCF\\xD3\\r...')\n#6 \/home\/theclans\/cloud\/apps\/search_lucene\/lib\/hooks.php(79): OCA\\Search_Lucene\\Indexer::indexFile('\/Juin 2014.pdf', 'leclouddesamour...')\n#7 [internal function]: OCA\\Search_Lucene\\Hooks::doIndexFile('{\"path\":\"\\\\\/Juin...')\n#8 \/home\/theclans\/cloud\/lib\/private\/backgroundjob\/legacy\/queuedjob.php(16): call_user_func(Array, '{\"path\":\"\\\\\/Juin...')\n#9 \/home\/theclans\/cloud\/lib\/private\/backgroundjob\/job.php(34): OC\\BackgroundJob\\Legacy\\QueuedJob->run(Array)\n#10 \/home\/theclans\/cloud\/lib\/private\/backgroundjob\/queuedjob.php(27): OC\\BackgroundJob\\Job->execute(Object(OC\\BackgroundJob\\JobList), Object(OC\\Log))\n#11 \/home\/theclans\/cloud\/cron.php(114): OC\\BackgroundJob\\QueuedJob->execute(Object(OC\\BackgroundJob\\JobList), Object(OC\\Log))\n#12 {main}","level":3,"time":"2014-07-17T07:42:05+00:00"}
{"app":"index","message":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException: Route \"contacts_index\" does not exist.","level":4,"time":"2014-07-17T10:11:25+00:00"}

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

i can't get my desktop client to work. i can upload files to my owncloud using the web page but nothing can be done with the client. Client version is the last one.

please help me solving this.

theclansmen avatar Jul 17 '14 10:07 theclansmen

Hi,

not really sure if this has anything to do with your problem but just a note to this:

{"app":"OC_USER_WEBDAVAUTH","message":"Invalid Url: \"\" ","level":3,"time":"2014-07-16T22:57:36+00:00"}

If you don't authenticate your users against an external WebDAV server disable the "WebDAV user backend" app as this is not needed for the normal WebDAV access to your ownCloud installation.

ghost avatar Jul 17 '14 10:07 ghost

thanks for you answer. this is already disabled. here are my running apps : Activity, Deleted files, documents, full text search, PDF viewer, pictures, Text editor, versions.

theclansmen avatar Jul 17 '14 12:07 theclansmen

Same problem here. Web interface is working fine, Android client (1.5.7 from F-Droid) too, but Windows client (1.6.3 on Win8.1 x64) fails with CSync error 400.

I can provide some logs if needed, and test if Linux client is working or not. I have to check, but as far as I remember, it's OK for my Linux laptop.

maxauvy avatar Jul 17 '14 13:07 maxauvy

Hi,

if other clients are working you might want to report this to the client issue tracker:

https://github.com/owncloud/mirall/issues

using the issue template provided here:

https://raw.github.com/owncloud/mirall/master/issue_template.md

ghost avatar Jul 17 '14 13:07 ghost

i did it. it's very frustrating cause it was working pretty well since a few weeks back

theclansmen avatar Jul 17 '14 16:07 theclansmen

The WebDAV check fails due to SSL. Note that sync clients also use WebDAV. Are you able to connect using a regular DAV client like cadaver ?

These SSL issues are strange. Did your certificate expire somehow ?

PVince81 avatar Jul 17 '14 16:07 PVince81

i don't really know how cadaver work. i'm really new to all of this.

theclansmen avatar Jul 17 '14 16:07 theclansmen

You could use another client. You can try mounting it in Windows as network drive over WebDAV, or in Linux many file managers can mount WebDAV links.

See http://doc.owncloud.org/server/6.0/user_manual/files/files.html#windows

It would help find out if the problem is the client or the server.

PVince81 avatar Jul 17 '14 16:07 PVince81

This FAQ could also help to identify if this is a client or server problem:

https://forum.owncloud.org/viewtopic.php?f=17&t=7536

If this was working some times ago you should also check if you have changed anything at you server as such SSL errors normally just happen without changes.

ghost avatar Jul 17 '14 16:07 ghost

i do not change anything but maybe my provider did it i don't know.

i tried your link PVince81 but i'm very bad at this, i don't know what to do...

theclansmen avatar Jul 17 '14 16:07 theclansmen

i can access webdav with .../remote.php/webdav. everything is fine by this.

theclansmen avatar Jul 17 '14 16:07 theclansmen

Hi,

your SSL config is broken: https://www.ssllabs.com/ssltest/analyze.html?d=cloud.theclansmen.fr&ignoreMismatch=on

Fix it and it should work again. Also fix your trusted_domains config which is also incorrect.

ghost avatar Jul 17 '14 17:07 ghost

How can i fix all of this?

theclansmen avatar Jul 17 '14 17:07 theclansmen

Hi,

you should note that this issue tracker is not a support forum. Either read the documentation hints shown at your ssllabs report or ask for support at http://forum.owncloud.org

ghost avatar Jul 17 '14 17:07 ghost

Sorry, I did ask him to raise a bug report because it wasn't clear at that time that it was an env issue.

PVince81 avatar Jul 17 '14 19:07 PVince81

@PVince81 Its still not clear if this is an env issue but i think the first step is to have a correct SSL setup before searching for an issue in ownCloud. :-)

ghost avatar Jul 18 '14 05:07 ghost

Hi, I have the same problem with my owncloud running on OVH shared hosting since 15th July. Neither client nor server was updated in weeks before.

Client:

  • tested on several win workstations
  • Win 8.1 and 7
  • ownCloud 1.6.1 (build 3267)

Server:

  • OVH shared hosting running on debian 6
  • PHP 5.3
  • MySQL
  • SSL: over ssl14.ovh.net
  • ownCloud 7.0.0 (stable) (the same problem with 6.0.2, 6.0.3 and 6.0.4)
  • Encryption enabled

LOG:

07-23 23:30:43:216 socketapi.cpp:55 SocketApi:  can't start server "\\.\pipe\" 
07-23 23:30:43:220 networkjobs.cpp:191 !!! Mirall::CheckServerJob created for  QUrl( "https://owncloud.domain.com" )  querying "status.php" 
07-23 23:30:43:295 account.cpp:338 SSL-Errors happened for url  "https://owncloud.domain.com/status.php" 
07-23 23:30:43:295 account.cpp:340  Error in  QSslCertificate( "3" , "11:21:2e:37:78:5c:a8:93:12:1d:ae:23:ec:df:87:9f:a9:98" , "BkSlwykSkEoFFhNiprLeOw==" , ("AlphaSSL") , () , QMap((1, "ssl14.ovh.net")) , QDateTime("2013-05-08 15:47:16.000 UTC Qt::UTC") , QDateTime("2016-05-08 15:47:16.000 UTC Qt::UTC") ) : "The host name did not match any of the valid hosts for this certificate" ( "The host name did not match any of the valid hosts for this certificate" ) 
07-23 23:30:43:296 account.cpp:358 Certs are already known and trusted, Errors are not valid. 
07-23 23:30:43:392 networkjobs.cpp:417 status.php returns:  QMap(("edition", QVariant(QString, "") ) ( "installed" ,  QVariant(QString, "true") ) ( "version" ,  QVariant(QString, "6.0.4.1") ) ( "versionstring" ,  QVariant(QString, "6.0.4") ) )    0  Reply:  QNetworkReplyHttpImpl(0x6f7a338) 
07-23 23:30:43:393 connectionvalidator.cpp:99 ** Application: ownCloud found:   QUrl( "https://owncloud.domain.com/status.php" )   with version  "6.0.4" ( "6.0.4.1" ) 
07-23 23:30:43:394 networkjobs.cpp:191 !!! Mirall::PropfindJob created for  QUrl( "https://owncloud.domain.com" )  querying "/" 
07-23 23:30:43:394 connectionvalidator.cpp:146 # checking for authentication settings. 
07-23 23:30:43:583 networkjobs.cpp:191 !!! Mirall::CheckQuotaJob created for  QUrl( "https://owncloud.domain.com" )  querying "/" 
07-23 23:30:43:681 owncloudgui.cpp:209 Folder in overallStatus Message:  Mirall::Folder(0x61adf58)  with name  "ownCloud" 
07-23 23:30:43:682 folderman.cpp:400 Schedule folder  "ownCloud"  to sync! 
07-23 23:30:43:682 folderman.cpp:415  II> Sync for folder  "ownCloud"  already scheduled, do not enqueue! 
07-23 23:30:43:682 application.cpp:292 Connection Validator Result:  "Connected" 
07-23 23:30:43:682 application.cpp:297 ######## Connection and Credentials are ok! 
07-23 23:30:43:682 folderman.cpp:400 Schedule folder  "ownCloud"  to sync! 
07-23 23:30:43:682 folderman.cpp:415  II> Sync for folder  "ownCloud"  already scheduled, do not enqueue! 
07-23 23:30:43:682 owncloudgui.cpp:157 ######## connected to ownCloud Server! 
07-23 23:30:43:731 folderman.cpp:453 XX slotScheduleFolderSync: folderQueue size:  1 
07-23 23:30:43:733 folder.cpp:537 ==== added system ignore list to csync: "C:/Program Files (x86)/ownCloud/sync-exclude.lst" 
07-23 23:30:43:733 csync_exclude_load: Adding entry: *.filepart
07-23 23:30:43:733 csync_exclude_load: Adding entry: *~
07-23 23:30:43:733 csync_exclude_load: Adding entry: *.part
07-23 23:30:43:734 csync_exclude_load: Adding entry: *.crdownload
07-23 23:30:43:734 csync_exclude_load: Adding entry: *.unison*
07-23 23:30:43:734 csync_exclude_load: Adding entry: *csync_timedif.ctmp*
07-23 23:30:43:734 csync_exclude_load: Adding entry: .csync_journal.db
07-23 23:30:43:734 csync_exclude_load: Adding entry: .csync_journal.db.ctmp
07-23 23:30:43:735 csync_exclude_load: Adding entry: .owncloudsync.log
07-23 23:30:43:735 csync_exclude_load: Adding entry: .*.sw?
07-23 23:30:43:735 csync_exclude_load: Adding entry: .*.*sw?
07-23 23:30:43:735 csync_exclude_load: Adding entry: ].csync-progressdatabase
07-23 23:30:43:735 csync_exclude_load: Adding entry: ].DS_Store
07-23 23:30:43:735 csync_exclude_load: Adding entry: ].ds_store
07-23 23:30:43:736 csync_exclude_load: Adding entry: ._*
07-23 23:30:43:736 csync_exclude_load: Adding entry: ]Thumbs.db
07-23 23:30:43:736 csync_exclude_load: Adding entry: desktop.ini
07-23 23:30:43:736 csync_exclude_load: Adding entry: *.kate-swp
07-23 23:30:43:736 csync_exclude_load: Adding entry: *_conflict-*
07-23 23:30:43:737 csync_exclude_load: Adding entry: ]*.~*
07-23 23:30:43:737 csync_exclude_load: Adding entry: ].TemporaryItems
07-23 23:30:43:737 csync_exclude_load: Adding entry: ].Trashes
07-23 23:30:43:737 csync_exclude_load: Adding entry: ].DocumentRevisions-V100
07-23 23:30:43:737 csync_exclude_load: Adding entry: .fseventd
07-23 23:30:43:738 csync_exclude_load: Adding entry: .apdisk
07-23 23:30:43:738 csync_exclude_load: Adding entry: .htaccess
07-23 23:30:43:738 csync_exclude_load: Adding entry: ]Icon\r*
07-23 23:30:43:738 csync_exclude_load: Adding entry: ~$*
07-23 23:30:43:738 csync_exclude_load: Adding entry: .~lock.*
07-23 23:30:43:738 csync_exclude_load: Adding entry: ~*.tmp
07-23 23:30:43:739 folder.cpp:542 ==== added user defined ignore list to csync: "C:/Users/Alexander/AppData/Local/ownCloud/sync-exclude.lst" 
07-23 23:30:43:739 clientproxy.cpp:106 Passing NO proxy to csync for "https://owncloud.domain.com" 
07-23 23:30:43:791 owncloudgui.cpp:209 Folder in overallStatus Message:  Mirall::Folder(0x61adf58)  with name  "ownCloud" 
07-23 23:30:43:792 owncloudgui.cpp:124 Sync state changed for folder  "ownCloud" :  "SyncPrepare" 
07-23 23:30:43:792 socketapi.cpp:131 SocketApi:  Broadcasting to 0 listeners:  "UPDATE_VIEW" 
07-23 23:30:43:792 folder.cpp:589 *** Start syncing 
07-23 23:30:43:793 folder.cpp:537 ==== added system ignore list to csync: "C:/Program Files (x86)/ownCloud/sync-exclude.lst" 
07-23 23:30:43:793 csync_exclude_load: Adding entry: *.filepart
07-23 23:30:43:793 csync_exclude_load: Adding entry: *~
07-23 23:30:43:793 csync_exclude_load: Adding entry: *.part
07-23 23:30:43:794 csync_exclude_load: Adding entry: *.crdownload
07-23 23:30:43:794 csync_exclude_load: Adding entry: *.unison*
07-23 23:30:43:794 csync_exclude_load: Adding entry: *csync_timedif.ctmp*
07-23 23:30:43:794 csync_exclude_load: Adding entry: .csync_journal.db
07-23 23:30:43:794 csync_exclude_load: Adding entry: .csync_journal.db.ctmp
07-23 23:30:43:795 csync_exclude_load: Adding entry: .owncloudsync.log
07-23 23:30:43:795 csync_exclude_load: Adding entry: .*.sw?
07-23 23:30:43:795 csync_exclude_load: Adding entry: .*.*sw?
07-23 23:30:43:795 csync_exclude_load: Adding entry: ].csync-progressdatabase
07-23 23:30:43:795 csync_exclude_load: Adding entry: ].DS_Store
07-23 23:30:43:795 csync_exclude_load: Adding entry: ].ds_store
07-23 23:30:43:796 csync_exclude_load: Adding entry: ._*
07-23 23:30:43:796 csync_exclude_load: Adding entry: ]Thumbs.db
07-23 23:30:43:796 csync_exclude_load: Adding entry: desktop.ini
07-23 23:30:43:796 csync_exclude_load: Adding entry: *.kate-swp
07-23 23:30:43:796 csync_exclude_load: Adding entry: *_conflict-*
07-23 23:30:43:797 csync_exclude_load: Adding entry: ]*.~*
07-23 23:30:43:797 csync_exclude_load: Adding entry: ].TemporaryItems
07-23 23:30:43:797 csync_exclude_load: Adding entry: ].Trashes
07-23 23:30:43:797 csync_exclude_load: Adding entry: ].DocumentRevisions-V100
07-23 23:30:43:797 csync_exclude_load: Adding entry: .fseventd
07-23 23:30:43:798 csync_exclude_load: Adding entry: .apdisk
07-23 23:30:43:798 csync_exclude_load: Adding entry: .htaccess
07-23 23:30:43:798 csync_exclude_load: Adding entry: ]Icon\r*
07-23 23:30:43:798 csync_exclude_load: Adding entry: ~$*
07-23 23:30:43:798 csync_exclude_load: Adding entry: .~lock.*
07-23 23:30:43:798 csync_exclude_load: Adding entry: ~*.tmp
07-23 23:30:43:799 folder.cpp:542 ==== added user defined ignore list to csync: "C:/Users/Alexander/AppData/Local/ownCloud/sync-exclude.lst" 
07-23 23:30:43:799 folderman.cpp:469 >===================================== sync started for  "ownCloud" 
07-23 23:30:43:806 syncjournaldb.cpp:870 Transaction Start  "checkConnect" 
07-23 23:30:43:866 syncjournaldb.cpp:346 Columns in the current journal:  ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid") 
07-23 23:30:43:867 syncengine.cpp:462 =====sync with existing DB 
07-23 23:30:43:867 syncengine.cpp:505 #### Update start #################################################### >> 
07-23 23:30:43:867 account.cpp:338 SSL-Errors happened for url  "https://owncloud.domain.com/remote.php/webdav/" 
07-23 23:30:43:867 account.cpp:340  Error in  QSslCertificate( "3" , "11:21:2e:37:78:5c:a8:93:12:1d:ae:23:ec:df:87:9f:a9:98" , "BkSlwykSkEoFFhNiprLeOw==" , ("AlphaSSL") , () , QMap((1, "ssl14.ovh.net")) , QDateTime("2013-05-08 15:47:16.000 UTC Qt::UTC") , QDateTime("2016-05-08 15:47:16.000 UTC Qt::UTC") ) : "The host name did not match any of the valid hosts for this certificate" ( "The host name did not match any of the valid hosts for this certificate" ) 
07-23 23:30:43:868 account.cpp:358 Certs are already known and trusted, Errors are not valid. 
07-23 23:30:43:870 folderwatcher.cpp:154 detected changes in folders: QSet("D:\owncloud/") 
07-23 23:30:43:870 folderman.cpp:397  the current folder is currently syncing. 
07-23 23:30:43:867 csync_update: Journal: D:\owncloud/.csync_journal.db
07-23 23:30:43:870 csync_walker: file: D:\owncloud/.owncloudsync.log [file_id=]
07-23 23:30:43:870 _csync_detect_update: .owncloudsync.log excluded  (1)
07-23 23:30:43:870 csync_ftw: Uniq ID from Database: Cloud -> 534248bb9e94c
07-23 23:30:43:870 csync_walker: directory: D:\owncloud/Cloud [file_id=]
07-23 23:30:43:870 _csync_detect_update: Database entry found, compare: 1396286245 <-> 1396852919, etag: 534248bb9e94c <-> 534248bb9e94c, inode: 116233 <-> 116233
07-23 23:30:43:870 _csync_detect_update: file: Cloud, instruction: INSTRUCTION_EVAL <<=
07-23 23:30:43:870 csync_ftw: Uniq ID from Database: Cloud/Docs -> 534248bb9dcf3
07-23 23:30:43:870 csync_walker: directory: D:\owncloud/Cloud/Docs [file_id=]
07-23 23:30:43:870 _csync_detect_update: Database entry found, compare: 1396816298 <-> 1396852919, etag: 534248bb9dcf3 <-> 534248bb9dcf3, inode: 116234 <-> 116234
07-23 23:30:43:870 _csync_detect_update: file: Cloud/Docs, instruction: INSTRUCTION_EVAL <<=
07-23 23:30:43:871 csync_ftw: Uniq ID from Database: Cloud/Docs/Ebay -> 532067174351b
07-23 23:30:43:871 csync_walker: directory: D:\owncloud/Cloud/Docs/Ebay [file_id=]
07-23 23:30:43:871 _csync_detect_update: Database entry found, compare: 1395350525 <-> 1394632456, etag: 532067174351b <-> 532067174351b, inode: 116235 <-> 116235
07-23 23:30:43:871 _csync_detect_update: file: Cloud/Docs/Ebay, instruction: INSTRUCTION_EVAL <<=

[...]

07-23 23:30:44:153 csync_ftw:  <= Closing walk for D:\owncloud/SofortUpload with read_from_db 0
07-23 23:30:44:153 csync_ftw:  <= Closing walk for D:\owncloud with read_from_db 0
07-23 23:30:44:153 csync_update: Update detection for local replica took 0.28 seconds walking 881 files.
07-23 23:30:44:153 oc_module: opendir method called on ownclouds://owncloud.domain.com/remote.php/webdav
07-23 23:30:44:153 oc_module: * scheme ownclouds
07-23 23:30:44:153 oc_module: * host owncloud.domain.com
07-23 23:30:44:153 oc_module: * port 0
07-23 23:30:44:153 oc_module: * path /remote.php/webdav
07-23 23:30:44:153 oc_module: * user 
07-23 23:30:44:153 oc_module: Timeout set to 300 seconds
07-23 23:30:44:153 oc_module: No proxy configured.
07-23 23:30:44:637 folderman.cpp:444 Currently folder  "ownCloud"  is running, wait for finish! 
07-23 23:30:44:637 folderman.cpp:444 Currently folder  "ownCloud"  is running, wait for finish! 
07-23 23:30:44:226 oc_module: Call the csync callback for SSL problems
07-23 23:30:44:226 credentialscommon.cpp:58 SSL Fingerprint from neon:  "35:64:b6:33:64:5b:a4:83:f5:93:7b:15:81:87:12:c6:ad:be:2d:9e"  compared to verified:  "35:64:b6:33:64:5b:a4:83:f5:93:7b:15:81:87:12:c6:ad:be:2d:9e" 
07-23 23:30:44:226 oc_module: ## VERIFY_SSL CERT: 0
07-23 23:30:44:391 oc_module: Authentication required 
07-23 23:30:44:391 oc_module: Call the csync callback for ownCloud
07-23 23:30:44:415 oc_module: Neon error code was 1
07-23 23:30:44:415 oc_module: Neon error code was 1
07-23 23:30:44:415 oc_module: WRN: propfind named failed with 1, request error: 400 Bad Request
07-23 23:30:44:415 oc_module: Errno set to 22
07-23 23:30:44:415 csync_ftw: opendir failed for ownclouds://owncloud.domain.com/remote.php/webdav - errno 22
07-23 23:30:44:649 syncengine.cpp:412  #### ERROR during  csync_update :  "CSync fatal parameter error. 400 Bad Request" 
07-23 23:30:44:651 syncengine.cpp:675 CSync run took  784 
07-23 23:30:44:658 folder.cpp:644 -> CSync Finished slot with error  true warn count 0 
07-23 23:30:44:659 folder.cpp:385 Processing result list and logging took  0  Milliseconds. 
07-23 23:30:44:659 folder.cpp:403 OO folder slotSyncFinished: result:  2 
07-23 23:30:44:659 folder.cpp:656   ** error Strings:  ("CSync fatal parameter error. 400 Bad Request") 
07-23 23:30:44:660 folder.cpp:658     * owncloud csync thread finished with error 
07-23 23:30:44:708 owncloudgui.cpp:209 Folder in overallStatus Message:  Mirall::Folder(0x61adf58)  with name  "ownCloud" 
07-23 23:30:44:710 owncloudgui.cpp:124 Sync state changed for folder  "ownCloud" :  "Error" 
07-23 23:30:44:710 socketapi.cpp:131 SocketApi:  Broadcasting to 0 listeners:  "UPDATE_VIEW" 
07-23 23:30:44:911 folderman.cpp:478 <===================================== sync finished for  "ownCloud" 
07-23 23:30:45:111 folderman.cpp:453 XX slotScheduleFolderSync: folderQueue size:  0 
07-23 23:30:46:732 ocupdater.cpp:211 Client is on latest version! 

Client on android and ios works fine.

kenroud avatar Jul 23 '14 23:07 kenroud

I think I heard that people were having trouble with SSL or something with OVH recently. Can you check your server log whether you have entries like "Expected filesize X got Y" ?

PVince81 avatar Jul 24 '14 08:07 PVince81

@PVince81 no there is no similar message in the server owncloud.log.

The only error I can see:

{"reqId":"53d0da06d739a","app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (error code: 35) (Sabre\\DAV\\Exception)","level":2,"time":"2014-07-24T10:03:50+00:00","method":"GET","url":"\/index.php\/settings\/admin"}

But the first error message is from 2014-03-06T15:12:46+00:00, long before I have upgraded to the owncloud 6.

I also temporally set Enforce HTTPS off, but there was still the same behavior on client side.

kenroud avatar Jul 24 '14 10:07 kenroud

Some news about this problem. Might be interesting, so if you need further testing, please let me know.

I'm now using ownCloud 7.0.1 with the Windows client 1.6.2.3. When I'm at home, sync fails with CSync 400 error, "as usual". But when I'm at work... there's absolutely no problem ! The main difference is that the Internet provider is not the same (OVH ADSL at home, RENATER/Telemus at work)... Quite weird, actually. Maybe the SSL cert that is served to the client is not the same depending on the route used... I dunno.

maxauvy avatar Aug 18 '14 19:08 maxauvy