{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/25362","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/25362/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/25362/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/25362/events","html_url":"https://github.com/owncloud/core/issues/25362","id":163825424,"number":25362,"title":"Cannot trust servers with Federation app in oC 9.1 RC1 version","user":{"login":"davitol","id":10596560,"avatar_url":"https://avatars.githubusercontent.com/u/10596560?v=3","gravatar_id":"","url":"https://api.github.com/users/davitol","html_url":"https://github.com/davitol","followers_url":"https://api.github.com/users/davitol/followers","following_url":"https://api.github.com/users/davitol/following{/other_user}","gists_url":"https://api.github.com/users/davitol/gists{/gist_id}","starred_url":"https://api.github.com/users/davitol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davitol/subscriptions","organizations_url":"https://api.github.com/users/davitol/orgs","repos_url":"https://api.github.com/users/davitol/repos","events_url":"https://api.github.com/users/davitol/events{/privacy}","received_events_url":"https://api.github.com/users/davitol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:federation","name":"app:federation","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/regression","name":"regression","color":"e11d21"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev1-critical","name":"sev1-critical","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/62","html_url":"https://github.com/owncloud/core/milestones/9.1","labels_url":"https://api.github.com/repos/owncloud/core/milestones/62/labels","id":1322460,"number":62,"title":"9.1","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":71,"closed_issues":1233,"state":"open","created_at":"2015-09-24T16:30:14Z","updated_at":"2016-07-05T11:05:10Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-07-05T11:05:09Z","updated_at":"2016-07-05T12:26:21Z","closed_at":null,"body":"### Steps to reproduce\r\n\r\n1. Configure two certified oC servers server1 and server2\r\n2. In both servers, modify in /opt/owncloud/config.php the following line\r\ne.g 'overwrite.cli.url' => 'https://server1' and 'https://server2' respectively\r\n3. In admin menu, in Federation section, we write down the url of the other server\r\n4. Back to the CLI, we run the following commands in /opt/owncloud:\r\n```\r\nsudo -u www-data php cron.php (on server1, server2, server1, server2)\r\nsudo -u www-data ./occ dav:sync-system-addressbook (on server1 a server2) \r\nsudo -u www-data ./occ federation:sync-addressbooks (on server1, server2)\r\n```\r\n\r\n\r\n\r\n### Expected behaviour\r\n\r\nAfter that the address books should be synced and auto complete should work. Trusted server gauge in webUI coloured in green\r\n\r\n### Actual behaviour\r\n\r\nsudo -u www-data ./occ federation:sync-addressbooks\r\n    1 [->--------------------------]Error while syncing https://docker.oc.solidgear.es:58359 : Unauthorized\r\n\r\n\r\nNote: It worked fine in oC 9.1.0. pre alpha version\r\n### Server configuration\r\n**Operating system**:\r\nUbuntu 14.04\r\n\r\n**Web server:**\r\nApache\r\n\r\n**Database:**\r\nMySQL\r\n\r\n**PHP version:**\r\n5.5.9\r\n\r\n**ownCloud version:\"9.1.0.8\",\"versionstring\":\"9.1.0 beta 2\",\"edition\":\"Enterprise\"\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nFresh\r\n\r\n**Are you using external storage, if yes which one:** \r\nNo\r\n\r\n**Are you using encryption:** \r\nNo\r\n\r\n**Logs**\r\n```\r\n```\r\n### Client configuration\r\n\r\n**browser**\r\n\r\nFirefox\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/230463945","html_url":"https://github.com/owncloud/core/issues/25362#issuecomment-230463945","issue_url":"https://api.github.com/repos/owncloud/core/issues/25362","id":230463945,"user":{"login":"davitol","id":10596560,"avatar_url":"https://avatars.githubusercontent.com/u/10596560?v=3","gravatar_id":"","url":"https://api.github.com/users/davitol","html_url":"https://github.com/davitol","followers_url":"https://api.github.com/users/davitol/followers","following_url":"https://api.github.com/users/davitol/following{/other_user}","gists_url":"https://api.github.com/users/davitol/gists{/gist_id}","starred_url":"https://api.github.com/users/davitol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davitol/subscriptions","organizations_url":"https://api.github.com/users/davitol/orgs","repos_url":"https://api.github.com/users/davitol/repos","events_url":"https://api.github.com/users/davitol/events{/privacy}","received_events_url":"https://api.github.com/users/davitol/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T12:26:20Z","updated_at":"2016-07-05T12:26:20Z","body":"```tail -f owncloud.log \r\n{\"reqId\":\"guVPd87bFgFkDKHSrb1e\",\"remoteAddr\":\"172.17.0.1\",\"app\":\"webdav\",\"message\":\"Exception: {\\\"Message\\\":\\\"HTTP\\\\\\/1.1 401 Unauthorized\\\",\\\"Exception\\\":\\\"OCA\\\\\\\\DAV\\\\\\\\Connector\\\\\\\\Sabre\\\\\\\\Exception\\\\\\\\PasswordLoginForbidden\\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 \\\\\\/opt\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Auth\\\\\\/Backend\\\\\\/AbstractBasic.php(105): OCA\\\\\\\\DAV\\\\\\\\Connector\\\\\\\\Sabre\\\\\\\\Auth->validateUserPass('system', 'u59T9ksLEwYUMdW...')\\\\n#1 \\\\\\/opt\\\\\\/owncloud\\\\\\/apps\\\\\\/dav\\\\\\/lib\\\\\\/Connector\\\\\\/Sabre\\\\\\/Auth.php(242): Sabre\\\\\\\\DAV\\\\\\\\Auth\\\\\\\\Backend\\\\\\\\AbstractBasic->check(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#2 \\\\\\/opt\\\\\\/owncloud\\\\\\/apps\\\\\\/dav\\\\\\/lib\\\\\\/Connector\\\\\\/Sabre\\\\\\/Auth.php(146): OCA\\\\\\\\DAV\\\\\\\\Connector\\\\\\\\Sabre\\\\\\\\Auth->auth(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#3 \\\\\\/opt\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Auth\\\\\\/Plugin.php(166): OCA\\\\\\\\DAV\\\\\\\\Connector\\\\\\\\Sabre\\\\\\\\Auth->check(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#4 [internal function]: Sabre\\\\\\\\DAV\\\\\\\\Auth\\\\\\\\Plugin->beforeMethod(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#5 \\\\\\/opt\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/event\\\\\\/lib\\\\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\\\n#6 \\\\\\/opt\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(446): Sabre\\\\\\\\Event\\\\\\\\EventEmitter->emit('beforeMethod', Array)\\\\n#7 \\\\\\/opt\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(248): Sabre\\\\\\\\DAV\\\\\\\\Server->invokeMethod(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#8 \\\\\\/opt\\\\\\/owncloud\\\\\\/apps\\\\\\/dav\\\\\\/lib\\\\\\/Server.php(166): Sabre\\\\\\\\DAV\\\\\\\\Server->exec()\\\\n#9 \\\\\\/opt\\\\\\/owncloud\\\\\\/apps\\\\\\/dav\\\\\\/appinfo\\\\\\/v2\\\\\\/remote.php(29): OCA\\\\\\\\DAV\\\\\\\\Server->exec()\\\\n#10 \\\\\\/opt\\\\\\/owncloud\\\\\\/remote.php(164): require_once('\\\\\\/opt\\\\\\/owncloud\\\\\\/a...')\\\\n#11 {main}\\\",\\\"File\\\":\\\"\\\\\\/opt\\\\\\/owncloud\\\\\\/apps\\\\\\/dav\\\\\\/lib\\\\\\/Connector\\\\\\/Sabre\\\\\\/Auth.php\\\",\\\"Line\\\":132,\\\"User\\\":false}\",\"level\":4,\"time\":\"2016-07-05T10:39:33+00:00\",\"method\":\"REPORT\",\"url\":\"\\/remote.php\\/dav\\/addressbooks\\/system\\/system\\/system\",\"user\":\"--\"}\r\n```\r\n@PVince81 this log can be related to this behaviour"}}
{"actor":{"display_login":"davitol"}}