{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/News-Android-App/issues/545","repository_url":"https://api.github.com/repos/owncloud/News-Android-App","labels_url":"https://api.github.com/repos/owncloud/News-Android-App/issues/545/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/News-Android-App/issues/545/comments","events_url":"https://api.github.com/repos/owncloud/News-Android-App/issues/545/events","html_url":"https://github.com/owncloud/News-Android-App/issues/545","id":197577807,"number":545,"title":"Login Error","user":{"login":"1337sup3rh4x0r","id":7021504,"avatar_url":"https://avatars.githubusercontent.com/u/7021504?v=3","gravatar_id":"","url":"https://api.github.com/users/1337sup3rh4x0r","html_url":"https://github.com/1337sup3rh4x0r","followers_url":"https://api.github.com/users/1337sup3rh4x0r/followers","following_url":"https://api.github.com/users/1337sup3rh4x0r/following{/other_user}","gists_url":"https://api.github.com/users/1337sup3rh4x0r/gists{/gist_id}","starred_url":"https://api.github.com/users/1337sup3rh4x0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1337sup3rh4x0r/subscriptions","organizations_url":"https://api.github.com/users/1337sup3rh4x0r/orgs","repos_url":"https://api.github.com/users/1337sup3rh4x0r/repos","events_url":"https://api.github.com/users/1337sup3rh4x0r/events{/privacy}","received_events_url":"https://api.github.com/users/1337sup3rh4x0r/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-26T11:26:19Z","updated_at":"2016-12-26T23:07:07Z","closed_at":"2016-12-26T23:07:07Z","body":"Hi there,\r\nI just set up my phone with a fresh install, moving to Android 7. Before on Android 6 all was working fine, but when I now want to login to my nextcloud with this Android App, I am getting an Error message: ``attempt to invoke virtual method 'java.lang.String org.json.JSONObject.optString(java.lang.String)' on a null object reference``\r\n\r\nMy server is running nexcloud 10.0.2 and the Android News app Version 9.0.4.\r\n\r\nIn the web interface news is working just as expected. Other android apps (e.g. DAVDroid, Folder Sync, Task Sync) can login to owncloud without any issues.\r\n\r\nI do not use LDAP.\r\n\r\nI already tried setting up a new user but it throws the same error.\r\n\r\nI am using a self signed certificate, and prior to the error, I am asked to confirm the certificate, so some kind of communication is working.\r\nEDIT: I now switched to a letsecrypt certificate and I still get the same error.\r\n\r\nThe server does not show any log entries.\r\n\r\nWhat could this be?\r\n\r\nEDIT: I just tried out an alternative Android app: https://github.com/schaal/ocreader\r\nThis gives me an error that news is not installed on my server (German message: \"Nextcloud News nicht installiert oder veraltet. Bitte installieren oder auf mindestens %s aktualisieren\")"},"comment":{"url":"https://api.github.com/repos/owncloud/News-Android-App/issues/comments/269247820","html_url":"https://github.com/owncloud/News-Android-App/issues/545#issuecomment-269247820","issue_url":"https://api.github.com/repos/owncloud/News-Android-App/issues/545","id":269247820,"user":{"login":"1337sup3rh4x0r","id":7021504,"avatar_url":"https://avatars.githubusercontent.com/u/7021504?v=3","gravatar_id":"","url":"https://api.github.com/users/1337sup3rh4x0r","html_url":"https://github.com/1337sup3rh4x0r","followers_url":"https://api.github.com/users/1337sup3rh4x0r/followers","following_url":"https://api.github.com/users/1337sup3rh4x0r/following{/other_user}","gists_url":"https://api.github.com/users/1337sup3rh4x0r/gists{/gist_id}","starred_url":"https://api.github.com/users/1337sup3rh4x0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1337sup3rh4x0r/subscriptions","organizations_url":"https://api.github.com/users/1337sup3rh4x0r/orgs","repos_url":"https://api.github.com/users/1337sup3rh4x0r/repos","events_url":"https://api.github.com/users/1337sup3rh4x0r/events{/privacy}","received_events_url":"https://api.github.com/users/1337sup3rh4x0r/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T23:07:07Z","updated_at":"2016-12-26T23:07:07Z","body":"Thanks for your help guys and sorry for occupying your time with an error outside of your apps.\r\n\r\nI could solve the issue by adding the following lines to my proxy config.\r\n\r\n    proxy_connect_timeout       600;\r\n    proxy_send_timeout          600;\r\n    proxy_read_timeout          600;\r\n    send_timeout                600;"}}
{"actor":{"display_login":"1337sup3rh4x0r"}}