android - Crash reports sent according to logcat but didn't show in Arcalyzer Dashboard? -
i creating arithmetic exception receive crash report using arca. have set end @ cloudant using arcalyzer. after crash, according logcat, crash report has been sent no report being shown @ arcalyzer dashboard. couldn't figure out wrong code.
mainapp:
@reportscrashes( formuri = "https://terrybogard911.cloudant.com/acra-faheemcallrecorder/_design/acra-storage/_update/report", reporttype = httpsender.type.json, httpmethod = httpsender.method.post, formuribasicauthlogin = ""//login, formuribasicauthpassword = ""//password, customreportcontent = { reportfield.app_version_code, reportfield.app_version_name, reportfield.android_version, reportfield.package_name, reportfield.report_id, reportfield.build, reportfield.stack_trace }, mode = reportinginteractionmode.toast, restoasttext = r.string.toast_crash ) public class mainapp extends application { @override public void oncreate() { super.oncreate(); acra.init(this); } }
logcat:
09-14 01:32:08.546 19876-19876/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder e/acra: acra caught arithmeticexception com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder java.lang.arithmeticexception: divide 0 @ com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder.mainactivity.onoptionsitemselected(mainactivity.java:228) @ android.app.activity.onmenuitemselected(activity.java:2644) @ android.support.v4.app.fragmentactivity.onmenuitemselected(fragmentactivity.java:408) @ android.support.v7.app.appcompatactivity.onmenuitemselected(appcompatactivity.java:195) @ android.support.v7.view.windowcallbackwrapper.onmenuitemselected(windowcallbackwrapper.java:113) @ android.support.v7.app.appcompatdelegateimplv9.onmenuitemselected(appcompatdelegateimplv9.java:679) @ android.support.v7.view.menu.menubuilder.dispatchmenuitemselected(menubuilder.java:822) @ android.support.v7.view.menu.menuitemimpl.invoke(menuitemimpl.java:156) @ android.support.v7.view.menu.menubuilder.performitemaction(menubuilder.java:969) @ android.support.v7.view.menu.menupopup.onitemclick(menupopup.java:127) @ android.widget.adapterview.performitemclick(adapterview.java:299) @ android.widget.abslistview.performitemclick(abslistview.java:1158) @ android.widget.abslistview$performclick.run(abslistview.java:2957) @ android.widget.abslistview$3.run(abslistview.java:3849) @ android.os.handler.handlecallback(handler.java:733) @ android.os.handler.dispatchmessage(handler.java:95) @ android.os.looper.loop(looper.java:136) @ android.app.activitythread.main(activitythread.java:5107) @ java.lang.reflect.method.invokenative(native method) @ java.lang.reflect.method.invoke(method.java:515) @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:792) @ com.android.internal.os.zygoteinit.main(zygoteinit.java:608) @ dalvik.system.nativestart.main(native method) 09-14 01:32:08.546 19876-19876/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: building report 09-14 01:32:08.556 19876-19876/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: using custom report fields 09-14 01:32:08.646 19876-19876/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder i/acra: read_logs granted! acra can include logcat , dropbox data. 09-14 01:32:08.646 19876-19876/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: writing crash report file 1505334728000.stacktrace. 09-14 01:32:08.656 19876-19876/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: start reportsenderworker #handleexception 09-14 01:32:08.666 19876-20036/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: mark pending reports approved. 09-14 01:32:08.666 19876-20036/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: looking error files in /data/data/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder/files 09-14 01:32:08.676 19876-20036/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: #checkandsendreports - start 09-14 01:32:08.696 19876-20037/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: waiting 2000 millis 1505334728625 currentmillis=1505334728707 09-14 01:32:08.696 19876-20039/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: waiting toast 09-14 01:32:08.696 19876-20036/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: looking error files in /data/data/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder/files 09-14 01:32:08.696 19876-20036/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder i/acra: sending file 1505334728000-approved.stacktrace 09-14 01:32:08.766 19876-20036/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: connect https://terrybogard911.cloudant.com/acra-faheemcallrecorder/_design/acra-storage/_update/report 09-14 01:32:08.796 19876-20036/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: sending request https://terrybogard911.cloudant.com/acra-faheemcallrecorder/_design/acra-storage/_update/report 09-14 01:32:08.806 19876-20036/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder e/datascheduler: isdataschedulerenabled():false 09-14 01:32:09.576 19876-20036/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder v/tlssnisocketfactory: setting allowed tls protocols: tlsv1, tlsv1.1, tlsv1.2 09-14 01:32:09.576 19876-20036/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder v/tlssnisocketfactory: setting allowed tls ciphers: tls_ecdh_rsa_with_3des_ede_cbc_sha, tls_ecdhe_rsa_with_aes_256_cbc_sha, tls_dhe_rsa_with_aes_128_cbc_sha, tls_ecdh_rsa_with_aes_128_cbc_sha, tls_ecdh_ecdsa_with_aes_128_cbc_sha, ssl_dhe_rsa_export_with_des40_cbc_sha, ssl_rsa_export_with_rc4_40_md5, ssl_dhe_rsa_with_3des_ede_cbc_sha, tls_dhe_rsa_with_aes_256_cbc_sha, tls_ecdh_rsa_with_aes_256_cbc_sha, ssl_rsa_with_rc4_128_sha, tls_ecdh_ecdsa_with_3des_ede_cbc_sha, ssl_dhe_dss_export_with_des40_cbc_sha, tls_ecdhe_ecdsa_with_aes_256_cbc_sha, tls_ecdhe_ecdsa_with_aes_128_cbc_sha, ssl_dhe_dss_with_des_cbc_sha, tls_ecdhe_rsa_with_rc4_128_sha, tls_ecdh_ecdsa_with_rc4_128_sha, tls_dhe_dss_with_aes_256_cbc_sha, tls_rsa_with_aes_128_cbc_sha, ssl_dhe_rsa_with_des_cbc_sha, tls_ecdhe_ecdsa_with_rc4_128_sha, tls_ecdhe_rsa_with_aes_128_cbc_sha, tls_ecdh_ecdsa_with_aes_256_cbc_sha, tls_rsa_with_aes_256_cbc_sha, ssl_rsa_with_des_cbc_sha, tls_ecdhe_ecdsa_with_3des_ede_cbc_sha, tls_empty_renegotiation_info_scsv, tls_ecdh_rsa_with_rc4_128_sha, ssl_rsa_export_with_des40_cbc_sha, tls_ecdhe_rsa_with_3des_ede_cbc_sha, ssl_rsa_with_rc4_128_md5, tls_dhe_dss_with_aes_128_cbc_sha, ssl_dhe_dss_with_3des_ede_cbc_sha, ssl_rsa_with_3des_ede_cbc_sha 09-14 01:32:09.576 19876-20036/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/tlssnisocketfactory: using documented sni host name terrybogard911.cloudant.com 09-14 01:32:10.266 19876-20036/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder i/tlssnisocketfactory: established tlsv1.2 connection terrybogard911.cloudant.com using tls_ecdhe_rsa_with_aes_128_cbc_sha 09-14 01:32:10.636 19876-20036/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: #checkandsendreports - finish 09-14 01:32:10.706 19876-20039/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: finished waiting toast 09-14 01:32:10.706 19876-20039/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: waiting worker 09-14 01:32:10.706 19876-20039/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: finished waiting worker 09-14 01:32:10.706 19876-20039/com.tookmesomuchtime.javaprogramming.rashidfaheem.hybridsoftwaresolutions.hbss.rashidfaheem.faheemcallrecorder d/acra: wait toast + worker ended. kill application ? true
w/acra: 403: client error - request discarded
this means server reached denied action.
possible reasons include:
- your authentication user without required role (which
reporter
) - the server denied connection because of faulty https configuration
Comments
Post a Comment