{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/17456","labels_url":"https://api.github.com/repos/owncloud/core/issues/17456/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/17456/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/17456/events","html_url":"https://github.com/owncloud/core/issues/17456","id":93586598,"number":17456,"title":"Unable to install apps from the appstore with 8.1","user":{"login":"BenjaminXiao","id":241316,"avatar_url":"https://avatars.githubusercontent.com/u/241316?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjaminXiao","html_url":"https://github.com/BenjaminXiao","followers_url":"https://api.github.com/users/BenjaminXiao/followers","following_url":"https://api.github.com/users/BenjaminXiao/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminXiao/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminXiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminXiao/subscriptions","organizations_url":"https://api.github.com/users/BenjaminXiao/orgs","repos_url":"https://api.github.com/users/BenjaminXiao/repos","events_url":"https://api.github.com/users/BenjaminXiao/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminXiao/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/sev1-critical","name":"sev1-critical","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/46","html_url":"https://github.com/owncloud/core/milestones/8.1.1-current-maintenance","labels_url":"https://api.github.com/repos/owncloud/core/milestones/46/labels","id":1167392,"number":46,"title":"8.1.1-current-maintenance","description":"","creator":{"login":"cmonteroluque","id":879976,"avatar_url":"https://avatars.githubusercontent.com/u/879976?v=3","gravatar_id":"","url":"https://api.github.com/users/cmonteroluque","html_url":"https://github.com/cmonteroluque","followers_url":"https://api.github.com/users/cmonteroluque/followers","following_url":"https://api.github.com/users/cmonteroluque/following{/other_user}","gists_url":"https://api.github.com/users/cmonteroluque/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonteroluque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonteroluque/subscriptions","organizations_url":"https://api.github.com/users/cmonteroluque/orgs","repos_url":"https://api.github.com/users/cmonteroluque/repos","events_url":"https://api.github.com/users/cmonteroluque/events{/privacy}","received_events_url":"https://api.github.com/users/cmonteroluque/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":34,"state":"open","created_at":"2015-06-16T19:39:31Z","updated_at":"2015-07-20T13:43:28Z","due_on":"2015-08-04T04:00:00Z","closed_at":null},"comments":31,"created_at":"2015-07-07T17:39:27Z","updated_at":"2015-07-20T14:12:23Z","closed_at":null,"body":"### Steps to reproduce\r\n1. Try to install any app from app store\r\n\r\n### Expected behaviour\r\nApp gets installed\r\n\r\n### Actual behaviour\r\nApp install fails with message: Client error response [url] https://apps.owncloud.com/CONTENT/content-files/169116-galleryplus-12.0.1.zip [status code] 400 [reason phrase] Bad Request\r\n\r\n### Server configuration\r\n**Operating system**:\r\nFedora 22\r\n\r\n**Web server:**\r\nApache 2.4.12-1\r\n\r\n**Database:**\r\nmariadb 1:10.0.20-1\r\n\r\n**PHP version:**\r\nphp 5.6.10-1\r\n\r\n**ownCloud version:** (see ownCloud admin page)\r\n8.1.0\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nUpdated from 8\r\n\r\n**List of activated apps:**\r\n\r\n```\r\nIf you have access to your command line run e.g.:\r\nsudo -u www-data php occ app:list\r\nfrom within your ownCloud installation folder\r\n\r\nEnabled:\r\n - activity: 2.0.1\r\n - files: 1.1.9\r\n - files_locking: \r\n - files_pdfviewer: 0.7\r\n - files_sharing: 0.6.2\r\n - files_texteditor: 0.4\r\n - files_trashbin: 0.6.3\r\n - files_versions: 1.0.6\r\n - files_videoviewer: 0.1.3\r\n - firstrunwizard: 1.1\r\n - gallery: 0.6.0\r\n - provisioning_api: 0.2\r\n - templateeditor: 0.1\r\nDisabled:\r\n - encryption\r\n - external\r\n - files_external\r\n - user_external\r\n - user_ldap\r\n - user_webdavauth\r\n```\r\n\r\n**The content of config/config.php:**\r\n\r\n```\r\nIf you have access to your command line run e.g.:\r\nsudo -u www-data php occ config:list system --public\r\nfrom within your ownCloud installation folder\r\n\r\nor \r\n\r\nInsert your config.php content here\r\n(Without the database password, passwordsalt and secret)\r\n\r\n<?php\r\ndefine('DEBUG', true);\r\n$CONFIG = array (\r\n  'instanceid' => 'ocpleicxwygq',\r\n  'passwordsalt' => 'REMOVED',\r\n  'secret' => 'REMOVED',\r\n  'trusted_domains' =>\r\n  array (\r\n    0 => 'benxiao.me',\r\n  ),\r\n  'datadirectory' => '/var/www/html/owncloud/data',\r\n  'overwrite.cli.url' => 'https://benxiao.me/owncloud',\r\n  'dbtype' => 'mysql',\r\n  'version' => '8.1.0.8',\r\n  'dbname' => 'owncloud_db',\r\n  'dbhost' => 'localhost',\r\n  'dbtableprefix' => 'oc_',\r\n  'dbuser' => 'owncloud',\r\n  'dbpassword' => 'REMOVED',\r\n  'installed' => true,\r\n  'mail_smtpmode' => 'smtp',\r\n  'mail_from_address' => 'benxiao.me',\r\n  'mail_domain' => 'gmail.com',\r\n  'mail_smtpsecure' => 'tls',\r\n  'mail_smtpauthtype' => 'LOGIN',\r\n  'mail_smtpauth' => 1,\r\n  'mail_smtphost' => 'smtp.gmail.com',\r\n  'mail_smtpport' => '587',\r\n  'mail_smtpname' => 'benxiao.me',\r\n  'mail_smtppassword' => 'REMOVED',\r\n  'theme' => '',\r\n  'maintenance' => false,\r\n  'loglevel' => 2,\r\n  'forcessl' => true,\r\n  'appstore.experimental.enabled' => true,\r\n);\r\n```\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\n\r\nNo external\r\n\r\n**Are you using encryption:** yes/no\r\n\r\nNo\r\n\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\n\r\nNo\r\n\r\n### Client configuration\r\n**Browser:**\r\nChrome 43\r\n\r\n**Operating system:**\r\nFedora 22\r\n\r\n### Logs\r\n#### Web server error log\r\n```\r\nNothing interesting besides repeated:\r\n\r\n[Tue Jul 07 10:04:31.407985 2015] [authz_core:error] [pid 2717] [client 192.168.1.1:39544] AH01630: client denied by server configuration: /var/www/html/owncloud/data/htaccesstest.txt\r\n\r\n```\r\n\r\n#### ownCloud log (data/owncloud.log)\r\n```\r\nClient error response [url] https://apps.owncloud.com/CONTENT/content-files/169116-galleryplus-12.0.1.zip [status code] 400 [reason phrase] Bad Request\r\n```\r\n\r\n#### Browser log\r\n```\r\nInsert your browser log here, this could for example include:\r\n\r\na) The javascript console log\r\nb) The network log \r\nc) ...\r\n```"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/122898195","html_url":"https://github.com/owncloud/core/issues/17456#issuecomment-122898195","issue_url":"https://api.github.com/repos/owncloud/core/issues/17456","id":122898195,"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},"created_at":"2015-07-20T14:12:23Z","updated_at":"2015-07-20T14:12:23Z","body":"@karlitschek I got some environment where I can reproduce this. Can you check if in the ssl error log for around 16:11 you can find from the following IP: 46.14.22.157 an entry like:\r\n\r\n> Hostname api.owncloud.com provided via SNI and hostname apps.owncloud.com provided via HTTP are different\r\n\r\nOr:\r\n\r\n> Hostname apps.owncloud.com provided via SNI and hostname api.owncloud.com provided via HTTP are different\r\n\r\nOr something like that? – If yes then this is in fact this PHP bug."}}