Got exception while trying to submit event data
See original GitHub issueHi, guys, I’m running Countly Opensource Server from docker, and I have this basic setup
This is my server address
private val countlyServerUrl: String = "http://192.168.1.244:32768"
basic initialization
Countly.sharedInstance().isLoggingEnabled = true
Countly.sharedInstance().enableCrashReporting()
Countly.sharedInstance().init(application.applicationContext, countlyServerUrl, countlyAppKey, null, DeviceId.Type.ADVERTISING_ID)
Countly.sharedInstance().setLocation(getCountryCode(), getActualCity(), null, null)
and i am sending a basic event
Countly.sharedInstance().recordEvent("Something")
but when i run the app from my phone and the search in the logs, give me this exception while trying to submit event data
java.net.ProtocolException: Unexpected status line: <html>
at com.android.okhttp.internal.http.StatusLine.<init>(StatusLine.java:38)
at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:197)
at com.android.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:103)
at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:677)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:403)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:347)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:515)
at ly.count.android.sdk.ConnectionProcessor.run(ConnectionProcessor.java:208)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
So, any help will be much appreciated
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
event data is lost when failing to send to sentry #679 - GitHub
Events can fail to send for many reasons, including quotas and inbound filters, network conditions, and other reasons which have nothing to do ......
Read more >"Submit is not a function" error in JavaScript - Stack Overflow
The javascript function submitTheForm() is accessing the submit input element and calling the click event on it which results in the form submission....
Read more >I'm receiving an error message when I try to register for or ...
I'm receiving an error message when I try to register for or access an event. How do I fix this? Troubleshooting Event Management...
Read more >Sending Events - Exceptionless
Real-time exception reporting for ASP.NET, Web API, WebForms, WPF, Console, and MVC applications. Includes event organization, notifications, and more.
Read more >Exception Events - Genesys Documentation
This indicates that an abnormal condition occurred while trying to perform the submit request. This event will be sent as a result of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any help???
Good to hear that!