[Galaxy S I9000 Android Development] Judim:
Google sync problem

Hello,

I have a problem since two days. Gmail syncs only downward and not upward. That mean, I can grab my mail from the server, but what I do in the mobile app will not be synced to the servers. So it doesn't actually archive nor send mails. And it's strange because when I archive an e-mail on my phone, the message will disapear from the inbox in the phone, but still the message counter of the Inbox will show that there is 1 unread !:eek:

So follows the logcat when i'm trying to send an e-mail. I'm no coder so I hope that it can show something relevant, but I don't know. Someone qualified would be nice enough to look at this logcat? Thanks in advance.

06/09/2011 11:04:03 [DEBUG] MessagesListerDb(6352) [7] >> remove count = 1
06/09/2011 11:04:03 [DEBUG] MessagesLister(6352) nbMsgsInDb = 6 / minMsgTime = 1307351043662 / minMsgTime date = Mon Jun 06 11:04:03 HAEC 2011
06/09/2011 11:04:03 [DEBUG] MessagesListerDb(6352) [7] deleteMessagesAfterTime = 1307351043662 / where = (date < 1307351043662) AND (widget_ids LIKE '%7 %')
06/09/2011 11:04:03 [DEBUG] MessagesLister(6352) msgCount messages deleted = 0
06/09/2011 11:04:03 [DEBUG] MessagesListerDb(6352) [7] getNewAndUnreadMessageCount = 0
06/09/2011 11:04:03 [DEBUG] MessagesListerDb(6352) [7] getUnreadCount = 0
06/09/2011 11:04:03 [DEBUG] MessagesLister(6352) ------ status : number of messages = 6 / new & unread unread messages = 0 / unread messages = 0
06/09/2011 11:04:03 [DEBUG] MessagesListerDb(6352) [7] getUnreadCount = 0
06/09/2011 11:04:03 [DEBUG] MessagesListerDb(6352) [7] getNewMessageCount = 0
06/09/2011 11:04:03 [DEBUG] PMeUpdateService(6352) >> create remote view ...
06/09/2011 11:04:03 [DEBUG] MsgListHpp4x4AppWidget(6352) Building widget update
06/09/2011 11:04:03 [DEBUG] SkinHelper(6352) get background from : /data/data/org.koxx.pure_messenger/files/background_widget_7_port.png
06/09/2011 11:04:03 [DEBUG] SkinHelper(6352) get background from : /data/data/org.koxx.pure_messenger/files/background_widget_7_land.png
06/09/2011 11:04:03 [DEBUG] MessagesListerDb(6352) [7] getUnreadCount = 0
06/09/2011 11:04:03 [DEBUG] ScrollableMessageProvider(6352) notifyDatabaseModification -> UPDATE widgetMessageUri : content://org.koxx.pure_messenger.messageprovider/messages/7
06/09/2011 11:04:03 [DEBUG] PMeUpdateService(6352) >> remote view creation finished
06/09/2011 11:04:03 [DEBUG] WidgetContentObserver(264) onChange
06/09/2011 11:04:03 [DEBUG] LauncherPP_WLA(264) notifyToRegenerate widgetId = 7
06/09/2011 11:04:03 [DEBUG] PMeUpdateService(6352) finally ... sThreadRunning = false
06/09/2011 11:04:03 [DEBUG] PMeUpdateService(6352) sServiceThreadStatus = ENDED
06/09/2011 11:04:03 [DEBUG] PMeUpdateService(6352) >>>> service processing end
06/09/2011 11:04:03 [DEBUG] LauncherPP_WLA(264) mGenerateDataCacheRunnable start
06/09/2011 11:04:03 [DEBUG] LAUNCHER(264) API v1 START QUERY
06/09/2011 11:04:03 [DEBUG] ScrollableMessageProvider(6352) query
06/09/2011 11:04:03 [DEBUG] LauncherPP_WLA(264) mGenerateDataCacheRunnable end
06/09/2011 11:04:03 [DEBUG] ScrollableMessageProvider(6352) nb messages returned = 6
06/09/2011 11:04:03 [DEBUG] ScrollableMessageProvider(6352) query data refreshed in 39ms
06/09/2011 11:04:03 [DEBUG] LAUNCHER(264) API v1 QUERY COMPLETE
06/09/2011 11:04:03 [DEBUG] dalvikvm(6352) GC_CONCURRENT freed 463K, 50% free 3050K/6087K, external 25K/512K, paused 3ms+7ms
06/09/2011 11:04:03 [DEBUG] dalvikvm(264) GC_EXPLICIT freed 561K, 49% free 4186K/8135K, external 14552K/15694K, paused 31ms
06/09/2011 11:04:13 [DEBUG] dalvikvm(8021) GC_CONCURRENT freed 460K, 50% free 3122K/6151K, external 0K/0K, paused 2ms+3ms
06/09/2011 11:04:13 [WARNING] googleanalytics(8021) Problem with socket or streams.
java.net.ConnectException: www.google-analytics.com/127.0.0.1:80 - Connection refused
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:207)
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:437)
at java.net.Socket.connect(Socket.java:983)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
at com.google.android.apps.analytics.d.a(SourceFile:44)
at com.google.android.apps.analytics.j.run(SourceFile:146)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)

06/09/2011 11:04:17 [DEBUG] dalvikvm(264) GC_EXPLICIT freed 125K, 49% free 4178K/8135K, external 12517K/14565K, paused 107ms
06/09/2011 11:04:24 [DEBUG] dalvikvm(8021) GC_CONCURRENT freed 408K, 49% free 3142K/6151K, external 0K/0K, paused 2ms+4ms
06/09/2011 11:04:24 [DEBUG] dalvikvm(6657) GC_EXPLICIT freed 15K, 49% free 2809K/5447K, external 0K/0K, paused 65ms
06/09/2011 11:04:24 [WARNING] googleanalytics(8021) Problem with socket or streams.
java.net.ConnectException: www.google-analytics.com/127.0.0.1:80 - Connection refused
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:207)
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:437)
at java.net.Socket.connect(Socket.java:983)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
at com.google.android.apps.analytics.d.a(SourceFile:44)
at com.google.android.apps.analytics.j.run(SourceFile:146)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)

06/09/2011 11:04:25 [DEBUG] dalvikvm(8165) GC_CONCURRENT freed 438K, 48% free 3443K/6535K, external 1577K/1836K, paused 16ms+4ms
06/09/2011 11:04:34 [DEBUG] dalvikvm(8021) GC_CONCURRENT freed 408K, 49% free 3173K/6151K, external 0K/0K, paused 2ms+3ms
06/09/2011 11:04:34 [WARNING] googleanalytics(8021) Problem with socket or streams.
java.net.ConnectException: www.google-analytics.com/127.0.0.1:80 - Connection refused
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:207)
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:437)
at java.net.Socket.connect(Socket.java:983)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
at com.google.android.apps.analytics.d.a(SourceFile:44)
at com.google.android.apps.analytics.j.run(SourceFile:146)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)

06/09/2011 11:04:39 [DEBUG] dalvikvm(8165) GC_EXTERNAL_ALLOC freed 188K, 47% free 3470K/6535K, external 1693K/1785K, paused 26ms
06/09/2011 11:04:42 [DEBUG] dalvikvm(188) GC_EXTERNAL_ALLOC freed 951K, 42% free 7292K/12487K, external 3123K/3151K, paused 58ms
06/09/2011 11:04:44 [WARNING] googleanalytics(8021) Problem with socket or streams.
java.net.ConnectException: www.google-analytics.com/127.0.0.1:80 - Connection refused
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:207)
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:437)
at java.net.Socket.connect(Socket.java:983)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
at com.google.android.apps.analytics.d.a(SourceFile:44)
at com.google.android.apps.analytics.j.run(SourceFile:146)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)

06/09/2011 11:04:46 [INFORMATION] System.out(264) UPDATECOUNTERS REQUEST: com.google.android.gm = 0
06/09/2011 11:04:46 [INFORMATION] System.out(264) UPDATINGCOUNTERS: com.google.android.gm = 0
06/09/2011 11:04:46 [INFORMATION] ActivityManager(188) Displayed com.google.android.gm/.ConversationListActivity: +340ms (total +372ms)
06/09/2011 11:04:50 [DEBUG] dalvikvm(188) GC_EXTERNAL_ALLOC freed 167K, 42% free 7308K/12487K, external 3751K/3769K, paused 72ms
06/09/2011 11:04:52 [DEBUG] dalvikvm(8165) GC_EXTERNAL_ALLOC freed 135K, 48% free 3440K/6535K, external 1478K/1570K, paused 29ms
06/09/2011 11:04:54 [DEBUG] dalvikvm(8021) GC_CONCURRENT freed 526K, 49% free 3144K/6151K, external 0K/0K, paused 2ms+3ms
06/09/2011 11:04:54 [WARNING] googleanalytics(8021) Problem with socket or streams.
java.net.ConnectException: www.google-analytics.com/127.0.0.1:80 - Connection refused
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:207)
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:437)
at java.net.Socket.connect(Socket.java:983)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
at com.google.android.apps.analytics.d.a(SourceFile:44)
at com.google.android.apps.analytics.j.run(SourceFile:146)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)

06/09/2011 11:04:56 [DEBUG] dalvikvm(6352) GC_EXPLICIT freed 162K, 53% free 2888K/6087K, external 0K/512K, paused 57ms
06/09/2011 11:04:58 [DEBUG] dalvikvm(188) GC_EXTERNAL_ALLOC freed 109K, 42% free 7286K/12487K, external 3637K/3659K, paused 61ms
06/09/2011 11:05:01 [INFORMATION] Gmail(4908) MainSyncRequestProto: lowestBkwdConvoId: 0, highestHandledServerOp: 433967, normalSync: true
06/09/2011 11:05:03 [DEBUG] dalvikvm(4908) GC_EXPLICIT freed 491K, 55% free 4475K/9927K, external 1478K/1670K, paused 32ms
06/09/2011 11:05:03 [INFORMATION] Gmail(4908) MainSyncRequestProto: lowestBkwdConvoId: 0, highestHandledServerOp: 434017, normalSync: true
06/09/2011 11:05:04 [DEBUG] dalvikvm(8021) GC_CONCURRENT freed 425K, 49% free 3155K/6151K, external 0K/0K, paused 2ms+3ms
06/09/2011 11:05:04 [WARNING] googleanalytics(8021) Problem with socket or streams.
java.net.ConnectException: www.google-analytics.com/127.0.0.1:80 - Connection refused
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:207)
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:437)
at java.net.Socket.connect(Socket.java:983)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
at com.google.android.apps.analytics.d.a(SourceFile:44)
at com.google.android.apps.analytics.j.run(SourceFile:146)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)

06/09/2011 11:05:05 [DEBUG] dalvikvm(188) GC_EXTERNAL_ALLOC freed 138K, 42% free 7304K/12487K, external 3539K/3541K, paused 57ms
06/09/2011 11:05:05 [DEBUG] dalvikvm(188) GC_EXTERNAL_ALLOC freed 33K, 42% free 7288K/12487K, external 3371K/3394K, paused 56ms
06/09/2011 11:05:11 [DEBUG] dalvikvm(7916) GC_EXPLICIT freed 49K, 47% free 3321K/6151K, external 0K/0K, paused 135ms
06/09/2011 11:05:15 [DEBUG] dalvikvm(8153) GC_CONCURRENT freed 162K, 42% free 3785K/6471K, external 0K/0K, paused 2ms+3ms
06/09/2011 11:05:15 [WARNING] googleanalytics(8021) Problem with socket or streams.
java.net.ConnectException: www.google-analytics.com/127.0.0.1:80 - Connection refused
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:207)
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:437)
at java.net.Socket.connect(Socket.java:983)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
at com.google.android.apps.analytics.d.a(SourceFile:44)
at com.google.android.apps.analytics.j.run(SourceFile:146)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)

06/09/2011 11:05:15 [DEBUG] dalvikvm(8021) GC_CONCURRENT freed 445K, 49% free 3165K/6151K, external 0K/0K, paused 2ms+11ms
06/09/2011 11:05:15 [DEBUG] dalvikvm(8165) GC_EXTERNAL_ALLOC freed 264K, 48% free 3445K/6535K, external 1545K/1615K, paused 23ms
06/09/2011 11:05:25 [WARNING] googleanalytics(8021) Problem with socket or streams.
java.net.ConnectException: www.google-analytics.com/127.0.0.1:80 - Connection refused
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:207)
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:437)
at java.net.Socket.connect(Socket.java:983)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
at com.google.android.apps.analytics.d.a(SourceFile:44)
at com.google.android.apps.analytics.j.run(SourceFile:146)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)