{"action":"created","issue":{"url":"https://api.github.com/repos/ONLYOFFICE/onlyoffice-owncloud/issues/205","repository_url":"https://api.github.com/repos/ONLYOFFICE/onlyoffice-owncloud","labels_url":"https://api.github.com/repos/ONLYOFFICE/onlyoffice-owncloud/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/ONLYOFFICE/onlyoffice-owncloud/issues/205/comments","events_url":"https://api.github.com/repos/ONLYOFFICE/onlyoffice-owncloud/issues/205/events","html_url":"https://github.com/ONLYOFFICE/onlyoffice-owncloud/issues/205","id":344868541,"node_id":"MDU6SXNzdWUzNDQ4Njg1NDE=","number":205,"title":"Problems on configuring app","user":{"login":"knife-grinder","id":41747800,"node_id":"MDQ6VXNlcjQxNzQ3ODAw","avatar_url":"https://avatars0.githubusercontent.com/u/41747800?v=4","gravatar_id":"","url":"https://api.github.com/users/knife-grinder","html_url":"https://github.com/knife-grinder","followers_url":"https://api.github.com/users/knife-grinder/followers","following_url":"https://api.github.com/users/knife-grinder/following{/other_user}","gists_url":"https://api.github.com/users/knife-grinder/gists{/gist_id}","starred_url":"https://api.github.com/users/knife-grinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knife-grinder/subscriptions","organizations_url":"https://api.github.com/users/knife-grinder/orgs","repos_url":"https://api.github.com/users/knife-grinder/repos","events_url":"https://api.github.com/users/knife-grinder/events{/privacy}","received_events_url":"https://api.github.com/users/knife-grinder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-26T14:28:39Z","updated_at":"2018-08-07T13:43:00Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI'm having trouble on configuring the app.\r\n\r\n```\r\nInstalled:\r\nnodejs 6.14.3-1nodesource1\r\nonlyoffice-documentserver 5.1.4-22\r\npostgresql-9.0 9.0.23-1.pgdg80+2\r\nmono-runtime 5.12.0.226-0xamarin3+debian8b1\r\nnginx 1.6.2-5+deb8u5\r\nrabbitmq-server 3.7.6-1\r\nowncloud-files 10.0.8-1+1.1\r\n\r\nOperating system:\r\nLinux <SERVER_NAME> 3.16.0-6-amd64 #1 SMP Debian 3.16.56-1+deb8u1 (2018-05-08) x86_64 GNU/Linux\r\n\r\nOnlyOffice app for OwnCloud is at release 1.3.0\r\n```\r\n\r\nThe problem is related to a callback on downloading the empty file for configuration. When the converter call `https://www.ourcloud.it/index.php/apps/onlyoffice/empty?doc=TmlpaURaNU9MY2FUU2tKZnNxay8yVG9uTDZUdDZsdFlOYmRqZ3dZS3Azdz0/eyJhY3Rpb24iOiJlbXB0eSJ9` it retrieves this error: `{\"message\":\"Access denied\"}`\r\nThe full stacktrace is: \r\n```\r\n[2018-07-25 12:17:12.033] [ERROR] nodeJS - error downloadFile:url=https://www.ourcloud.it/index.php/apps/onlyoffice/empty?doc=TmlpaURaNU9MY2FUU2tKZnNxay8yVG9uTDZUdDZsdFlOYmRqZ3dZS3Azdz0/eyJhY3Rpb24iOiJlbXB0eSJ9;attempt\r\n    =3;code:undefined;connect:undefined;(id=conv_check_1769566394_docx)\r\n    Error: Error response: statusCode:403 ;body:\r\n    {\"message\":\"Access denied\"}\r\n        at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:250:18)\r\n        at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:185:22)\r\n        at emitTwo (events.js:106:13)\r\n        at Request.emit (events.js:191:7)\r\n        at Request.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1157:10)\r\n        at emitOne (events.js:96:13)\r\n        at Request.emit (events.js:188:7)\r\n        at IncomingMessage.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1079:12)\r\n        at IncomingMessage.g (events.js:292:16)\r\n        at emitNone (events.js:91:20)\r\n```\r\n\r\nAny idea?\r\n\r\nTIA for your help.\r\n"},"comment":{"url":"https://api.github.com/repos/ONLYOFFICE/onlyoffice-owncloud/issues/comments/411060502","html_url":"https://github.com/ONLYOFFICE/onlyoffice-owncloud/issues/205#issuecomment-411060502","issue_url":"https://api.github.com/repos/ONLYOFFICE/onlyoffice-owncloud/issues/205","id":411060502,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTA2MDUwMg==","user":{"login":"alexanderonlyoffice","id":30896337,"node_id":"MDQ6VXNlcjMwODk2MzM3","avatar_url":"https://avatars3.githubusercontent.com/u/30896337?v=4","gravatar_id":"","url":"https://api.github.com/users/alexanderonlyoffice","html_url":"https://github.com/alexanderonlyoffice","followers_url":"https://api.github.com/users/alexanderonlyoffice/followers","following_url":"https://api.github.com/users/alexanderonlyoffice/following{/other_user}","gists_url":"https://api.github.com/users/alexanderonlyoffice/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderonlyoffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderonlyoffice/subscriptions","organizations_url":"https://api.github.com/users/alexanderonlyoffice/orgs","repos_url":"https://api.github.com/users/alexanderonlyoffice/repos","events_url":"https://api.github.com/users/alexanderonlyoffice/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderonlyoffice/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T13:43:00Z","updated_at":"2018-08-07T13:43:00Z","author_association":"MEMBER","body":"Hello @knife-grinder, please specify some additional information: \r\n\r\n1. Are ONLYOFFICE Document Server and Owncloud installed on the same machine or on different servers?\r\n2. Send us a screenshot of ONLYOFFICE integration app address settings from Owncloud;\r\n3. Check the accessibility of OC and DC to each other. Use wget command: \r\n\r\n1) `wget https://documentserver_address` on the server with OC; \r\n2) `wget https://owncloud_address` on the server with DS. "}}
{"actor":{"display_login":"alexanderonlyoffice"}}