{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/23191","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/23191/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/23191/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/23191/events","html_url":"https://github.com/owncloud/core/pull/23191","id":140419575,"number":23191,"title":"Verify the getResponse returns a ResponseInterface","user":{"login":"LukasReschke","id":878997,"avatar_url":"https://avatars.githubusercontent.com/u/878997?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasReschke","html_url":"https://github.com/LukasReschke","followers_url":"https://api.github.com/users/LukasReschke/followers","following_url":"https://api.github.com/users/LukasReschke/following{/other_user}","gists_url":"https://api.github.com/users/LukasReschke/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasReschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasReschke/subscriptions","organizations_url":"https://api.github.com/users/LukasReschke/orgs","repos_url":"https://api.github.com/users/LukasReschke/repos","events_url":"https://api.github.com/users/LukasReschke/events{/privacy}","received_events_url":"https://api.github.com/users/LukasReschke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/3%20-%20To%20Review","name":"3 - To Review","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/62","html_url":"https://github.com/owncloud/core/milestones/9.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/62/labels","id":1322460,"number":62,"title":"9.1-current","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":662,"closed_issues":107,"state":"open","created_at":"2015-09-24T16:30:14Z","updated_at":"2016-03-12T22:15:05Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-03-12T21:47:10Z","updated_at":"2016-03-13T11:07:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/23191","html_url":"https://github.com/owncloud/core/pull/23191","diff_url":"https://github.com/owncloud/core/pull/23191.diff","patch_url":"https://github.com/owncloud/core/pull/23191.patch"},"body":"Can also return `null` as per PHPDoc. Regression added by https://github.com/owncloud/core/commit/97f5c095f4018119e15d7c612a685da1dc91a340 to stable9\r\n\r\nFixes https://github.com/owncloud/core/issues/23145\r\n\r\n@thejabok Mind testing? Thanks a lot!\r\n@karlitschek Breaks DAV external storage for some scenarios. I'd vote for a backport to 9.0.1\r\n@icewind1991 Objections?"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/195936081","html_url":"https://github.com/owncloud/core/pull/23191#issuecomment-195936081","issue_url":"https://api.github.com/repos/owncloud/core/issues/23191","id":195936081,"user":{"login":"thejabok","id":17744207,"avatar_url":"https://avatars.githubusercontent.com/u/17744207?v=3","gravatar_id":"","url":"https://api.github.com/users/thejabok","html_url":"https://github.com/thejabok","followers_url":"https://api.github.com/users/thejabok/followers","following_url":"https://api.github.com/users/thejabok/following{/other_user}","gists_url":"https://api.github.com/users/thejabok/gists{/gist_id}","starred_url":"https://api.github.com/users/thejabok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejabok/subscriptions","organizations_url":"https://api.github.com/users/thejabok/orgs","repos_url":"https://api.github.com/users/thejabok/repos","events_url":"https://api.github.com/users/thejabok/events{/privacy}","received_events_url":"https://api.github.com/users/thejabok/received_events","type":"User","site_admin":false},"created_at":"2016-03-13T11:07:07Z","updated_at":"2016-03-13T11:07:07Z","body":"There is indeed a new error:\r\n```\r\n{\"reqId\":\"jjECPwo\\/4TZPvdWw\\/BEB\",\"remoteAddr\":\"79.203.66.77\",\"app\":\"webdav\",\"message\":\"Exception: {\\\"Message\\\":\\\"Error creating resource: [message] fopen(): SSL operation failed with code 1. OpenSSL Error messages:\\\\nerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed\\\\n[file] \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/guzzlehttp\\\\\\/ringphp\\\\\\/src\\\\\\/Client\\\\\\/StreamHandler.php\\\\n[line] 406\\\\n[message] fopen(): Failed to enable crypto\\\\n[file] \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/guzzlehttp\\\\\\/ringphp\\\\\\/src\\\\\\/Client\\\\\\/StreamHandler.php\\\\n[line] 406\\\\n[message] fopen(https:\\\\\\/\\\\\\/***\\\\\\/owncloud\\\\\\/remote.php\\\\\\/webdav\\\\\\/ownCloud_User_Manual.pdf): failed to open stream: operation failed\\\\n[file] \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/guzzlehttp\\\\\\/ringphp\\\\\\/src\\\\\\/Client\\\\\\/StreamHandler.php\\\\n[line] 406\\\\n[message] Undefined variable: http_response_header\\\\n[file] \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/guzzlehttp\\\\\\/ringphp\\\\\\/src\\\\\\/Client\\\\\\/StreamHandler.php\\\\n[line] 407\\\",\\\"Exception\\\":\\\"GuzzleHttp\\\\\\\\Exception\\\\\\\\RequestException\\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/guzzlehttp\\\\\\/guzzle\\\\\\/src\\\\\\/RequestFsm.php(104): GuzzleHttp\\\\\\\\Exception\\\\\\\\RequestException::wrapException(Object(GuzzleHttp\\\\\\\\Message\\\\\\\\Request), Object(GuzzleHttp\\\\\\\\Ring\\\\\\\\Exception\\\\\\\\RingException))\\\\n#1 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/guzzlehttp\\\\\\/guzzle\\\\\\/src\\\\\\/RequestFsm.php(132): GuzzleHttp\\\\\\\\RequestFsm->__invoke(Object(GuzzleHttp\\\\\\\\Transaction))\\\\n#2 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/react\\\\\\/promise\\\\\\/src\\\\\\/FulfilledPromise.php(25): GuzzleHttp\\\\\\\\RequestFsm->GuzzleHttp\\\\\\\\{closure}(Array)\\\\n#3 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/guzzlehttp\\\\\\/ringphp\\\\\\/src\\\\\\/Future\\\\\\/CompletedFutureValue.php(55): React\\\\\\\\Promise\\\\\\\\FulfilledPromise->then(Object(Closure), NULL, NULL)\\\\n#4 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/guzzlehttp\\\\\\/guzzle\\\\\\/src\\\\\\/Message\\\\\\/FutureResponse.php(43): GuzzleHttp\\\\\\\\Ring\\\\\\\\Future\\\\\\\\CompletedFutureValue->then(Object(Closure), NULL, NULL)\\\\n#5 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/guzzlehttp\\\\\\/guzzle\\\\\\/src\\\\\\/RequestFsm.php(135): GuzzleHttp\\\\\\\\Message\\\\\\\\FutureResponse::proxy(Object(GuzzleHttp\\\\\\\\Ring\\\\\\\\Future\\\\\\\\CompletedFutureArray), Object(Closure))\\\\n#6 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/guzzlehttp\\\\\\/guzzle\\\\\\/src\\\\\\/Client.php(165): GuzzleHttp\\\\\\\\RequestFsm->__invoke(Object(GuzzleHttp\\\\\\\\Transaction))\\\\n#7 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/guzzlehttp\\\\\\/guzzle\\\\\\/src\\\\\\/Client.php(125): GuzzleHttp\\\\\\\\Client->send(Object(GuzzleHttp\\\\\\\\Message\\\\\\\\Request))\\\\n#8 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/http\\\\\\/client\\\\\\/client.php(129): GuzzleHttp\\\\\\\\Client->get('https:\\\\\\/\\\\\\/www.the...', Array)\\\\n#9 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/files\\\\\\/storage\\\\\\/dav.php(353): OC\\\\\\\\Http\\\\\\\\Client\\\\\\\\Client->get('https:\\\\\\/\\\\\\/www.the...', Array)\\\\n#10 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/files\\\\\\/storage\\\\\\/wrapper\\\\\\/wrapper.php(287): OC\\\\\\\\Files\\\\\\\\Storage\\\\\\\\DAV->fopen('ownCloud_User_M...', 'rb')\\\\n#11 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/files\\\\\\/storage\\\\\\/wrapper\\\\\\/availability.php(313): OC\\\\\\\\Files\\\\\\\\Storage\\\\\\\\Wrapper\\\\\\\\Wrapper->fopen('ownCloud_User_M...', 'rb')\\\\n#12 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/files\\\\\\/storage\\\\\\/wrapper\\\\\\/wrapper.php(287): OC\\\\\\\\Files\\\\\\\\Storage\\\\\\\\Wrapper\\\\\\\\Availability->fopen('ownCloud_User_M...', 'rb')\\\\n#13 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/files\\\\\\/storage\\\\\\/wrapper\\\\\\/permissionsmask.php(110): OC\\\\\\\\Files\\\\\\\\Storage\\\\\\\\Wrapper\\\\\\\\Wrapper->fopen('ownCloud_User_M...', 'rb')\\\\n#14 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/files\\\\\\/storage\\\\\\/wrapper\\\\\\/wrapper.php(287): OC\\\\\\\\Files\\\\\\\\Storage\\\\\\\\Wrapper\\\\\\\\PermissionsMask->fopen('ownCloud_User_M...', 'rb')\\\\n#15 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/files\\\\\\/view.php(1057): OC\\\\\\\\Files\\\\\\\\Storage\\\\\\\\Wrapper\\\\\\\\Wrapper->fopen('ownCloud_User_M...', 'rb')\\\\n#16 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/files\\\\\\/view.php(905): OC\\\\\\\\Files\\\\\\\\View->basicOperation('fopen', 'Stammdisch\\\\\\/ownC...', Array, 'rb')\\\\n#17 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/dav\\\\\\/lib\\\\\\/connector\\\\\\/sabre\\\\\\/file.php(304): OC\\\\\\\\Files\\\\\\\\View->fopen('Stammdisch\\\\\\/ownC...', 'rb')\\\\n#18 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/CorePlugin.php(83): OCA\\\\\\\\DAV\\\\\\\\Connector\\\\\\\\Sabre\\\\\\\\File->get()\\\\n#19 [internal function]: Sabre\\\\\\\\DAV\\\\\\\\CorePlugin->httpGet(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#20 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/event\\\\\\/lib\\\\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\\\n#21 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(459): Sabre\\\\\\\\Event\\\\\\\\EventEmitter->emit('method:GET', Array)\\\\n#22 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(248): Sabre\\\\\\\\DAV\\\\\\\\Server->invokeMethod(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#23 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/dav\\\\\\/appinfo\\\\\\/v1\\\\\\/webdav.php(55): Sabre\\\\\\\\DAV\\\\\\\\Server->exec()\\\\n#24 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/remote.php(138): require_once('\\\\\\/var\\\\\\/www\\\\\\/ownclo...')\\\\n#25 {main}\\\",\\\"File\\\":\\\"\\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/guzzlehttp\\\\\\/guzzle\\\\\\/src\\\\\\/Exception\\\\\\/RequestException.php\\\",\\\"Line\\\":51,\\\"User\\\":\\\"thejabok\\\"}\",\"level\":4,\"time\":\"2016-03-13T08:01:13+00:00\"}\r\n```\r\nThis looks like it's an SSL issue?"}}