I started using the Google Analytics platform. as of now I am able to connect from my emulator to G.A servers and upload information. problem is, when testing from my Samsung Galaxy S the app is not being able to communicate with the G.A servers.
I get the next error:
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): Problem with socket or streams.
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): java.net.ConnectException: www.google-analytics.com/127.0.0.1:80 - Connection refused
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:207)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:437)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): at java.net.Socket.connect(Socket.java:1002)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): at com.google.android.apps.analytics.PipelinedRequester.maybeOpenConnection(Unknown Source)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): at com.google.android.apps.analytics.PipelinedRequester.addRequest(Unknown Source)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): at com.google.android.apps.analytics.NetworkDispatcher$DispatcherThread$AsyncDispatchTask.dispatchSomePendingHits(Unknown Source)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): at com.google.android.apps.analytics.NetworkDispatcher$DispatcherThread$AsyncDispatchTask.run(Unknown Source)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): at android.os.Handler.handleCallback(Handler.java:587)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): at android.os.Handler.dispatchMessage(Handler.java:92)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): at android.os.Looper.loop(Looper.java:130)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): at android.os.HandlerThread.run(HandlerThread.java:60)
I think that there is a problem with my device- could there be a firewall installed on it, and no matter what the problem is- how do I bypass it?
I think that you use custom ROM or rooted ROM with modified hosts which block (redirect to localhost) all request for analytic tool and banners system.
Related info
etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With