Can't write track_message to server
See original GitHub issueHi, I tried to implement library version 4.6.x on my Android app. First call to MixpanelAPI.track is working but the next calls are giving me the next error:
E/MixpanelAPI.ViewCrawler﹕ Can't write track_message to server
com.mixpanel.android.viewcrawler.EditorConnection$EditorConnectionException
at com.mixpanel.android.viewcrawler.EditorConnection$WebSocketOutputStream.write(EditorConnection.java:147)
at java.io.BufferedOutputStream.flushInternal(BufferedOutputStream.java:185)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:85)
at java.io.OutputStreamWriter.flushBytes(OutputStreamWriter.java:171)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:158)
at android.util.JsonWriter.flush(JsonWriter.java:384)
at com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.sendReportTrackToEditor(ViewCrawler.java:646)
at com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.handleMessage(ViewCrawler.java:306)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
E/MixpanelAPI.ViewCrawler﹕ Can't close writer.
com.mixpanel.android.viewcrawler.EditorConnection$EditorConnectionException
at com.mixpanel.android.viewcrawler.EditorConnection$WebSocketOutputStream.write(EditorConnection.java:147)
at java.io.BufferedOutputStream.flushInternal(BufferedOutputStream.java:185)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:85)
at java.io.FilterOutputStream.close(FilterOutputStream.java:61)
at java.io.BufferedOutputStream.close(BufferedOutputStream.java:152)
at java.io.OutputStreamWriter.close(OutputStreamWriter.java:141)
at android.util.JsonWriter.close(JsonWriter.java:393)
at com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.sendReportTrackToEditor(ViewCrawler.java:651)
at com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.handleMessage(ViewCrawler.java:306)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
The version 4.5.3 is working like a charm. No errors.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:2
- Comments:16 (5 by maintainers)
Top Results From Across the Web
Track-It! Server Has Experienced an Error - BMC Community
Open Track-It! · Click Options -> Configure.... · From the e-mail type dropdown list, select MAPI / MS MAIL / EXCHANGE. · Click...
Read more >"Cannot connect the computer to the server" error message ...
To fix this problem yourself on the client computer, follow these steps: Click Start, click Run, type regedit, and then click OK. Locate...
Read more >Find My unable to connect to server | Apple Developer Forums
Anyone running iOS 15 beta having issues with Find My? I am able to locate myself however none of the other 5 members...
Read more >Tracking Read Status of Email Messages in Exchange Server
If read tracking isn't already enabled, then you won't be able to track the read status of messages that have already been sent....
Read more >"Can't communicate with server" Error When Using Garmin ...
If the issue persists, adjust the LAN setting on the computer. Windows: Press the Windows key + R on the keyboard; Type inetcpl.cpl;...
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 Free
Top 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
same for 4.9.2
Still getting this error, version in build gradle: ‘mixpanel-android:5.9.1’ any solution except the manifest?