pizheng / android-notifier

Automatically exported from code.google.com/p/android-notifier
0 stars 0 forks source link

Protocol mismatch between desktop client 0.5.1 and android app 0.2.8 #403

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
These are, as far as I can see, the latest versions in the deb repository and 
market respectively.

The android app is configured to send encrypted messages. When the client is 
configured to decrypt, it says

"DEBUG [EncryptedNotificationParser] - Got notification not encrypted but set 
to decrypt, ignoring"

but when it's not configured to decrypt, it says

"DEBUG [TextNotificationParser] - Got notification but it has less fields than 
expected, maybe it's encrypted, ignoring"

Here's a log from the android app:
D/RemoteNotifier( 4963): Sending notification: 
v2/4452c4a5dd4e8046/43d0bf2d0e8dd/PING//Test notification
D/RemoteNotifier( 4963): Sending wifi notification to IP 118.208.189.81
D/RemoteNotifier( 4963): Sending over UDP
D/RemoteNotifier( 4963): Sent over UDP
D/RemoteNotifier( 4963): Sending over TCP
D/RemoteNotifier( 4963): Sent over TCP
I/RemoteNotifier( 4963): Sent notification over WiFi.
D/RemoteNotifier( 4963): Sending notification: 
v2/4452c4a5dd4e8046/43d0bf2e9b4b8/PING//Test notification
D/RemoteNotifier( 4963): Sending wifi notification to IP 118.208.189.81
D/RemoteNotifier( 4963): Sending over UDP
D/RemoteNotifier( 4963): Sent over UDP
D/RemoteNotifier( 4963): Sending over TCP
D/RemoteNotifier( 4963): Sent over TCP
I/RemoteNotifier( 4963): Sent notification over WiFi.
D/RemoteNotifier( 4963): Sending notification: 
v2/4452c4a5dd4e8046/43d0bf2f226f8/PING//Test notification
D/RemoteNotifier( 4963): Sending wifi notification to IP 118.208.189.81
D/RemoteNotifier( 4963): Sending over UDP
D/RemoteNotifier( 4963): Sent over UDP
D/RemoteNotifier( 4963): Sending over TCP
D/RemoteNotifier( 4963): Sending notification: 
v2/4452c4a5dd4e8046/43d0bf2f65896/PING//Test notification
D/RemoteNotifier( 4963): Sending wifi notification to IP 118.208.189.81
D/RemoteNotifier( 4963): Sending over UDP
D/RemoteNotifier( 4963): Sent over UDP
D/RemoteNotifier( 4963): Sending over TCP
D/RemoteNotifier( 4963): Sending notification: 
v2/4452c4a5dd4e8046/43d0bf2f92d17/PING//Test notification
D/RemoteNotifier( 4963): Sending wifi notification to IP 118.208.189.81
D/RemoteNotifier( 4963): Sending over UDP
D/RemoteNotifier( 4963): Sent over UDP
D/RemoteNotifier( 4963): Sending over TCP
D/RemoteNotifier( 4963): Sent over TCP
I/RemoteNotifier( 4963): Sent notification over WiFi.
D/RemoteNotifier( 4963): Sent over TCP
I/RemoteNotifier( 4963): Sent notification over WiFi.
D/RemoteNotifier( 4963): Sent over TCP
I/RemoteNotifier( 4963): Sent notification over WiFi.
D/RemoteNotifier( 4963): Sending notification: 
v2/4452c4a5dd4e8046/43d0bf2fd446e/PING//Test notification
D/RemoteNotifier( 4963): Sending wifi notification to IP 118.208.189.81
D/RemoteNotifier( 4963): Sending over UDP
D/RemoteNotifier( 4963): Sent over UDP
D/RemoteNotifier( 4963): Sending over TCP
D/RemoteNotifier( 4963): Sent over TCP
I/RemoteNotifier( 4963): Sent notification over WiFi.
D/RemoteNotifier( 4963): Sending notification: 
v2/4452c4a5dd4e8046/43d0bf302b521/PING//Test notification
D/RemoteNotifier( 4963): Sending wifi notification to IP 118.208.189.81
D/RemoteNotifier( 4963): Sending over UDP
D/RemoteNotifier( 4963): Sent over UDP
D/RemoteNotifier( 4963): Sending over TCP
D/RemoteNotifier( 4963): Sent over TCP
I/RemoteNotifier( 4963): Sent notification over WiFi.
D/RemoteNotifier( 4963): Sending notification: 
v2/4452c4a5dd4e8046/43d0bf3065819/PING//Test notification
D/RemoteNotifier( 4963): Sending wifi notification to IP 118.208.189.81
D/RemoteNotifier( 4963): Sending over UDP
D/RemoteNotifier( 4963): Sent over UDP
D/RemoteNotifier( 4963): Sending over TCP
D/RemoteNotifier( 4963): Sent over TCP
I/RemoteNotifier( 4963): Sent notification over WiFi.
D/RemoteNotifier( 4963): Sending notification: 
v2/4452c4a5dd4e8046/43d0bf30946e1/PING//Test notification
D/RemoteNotifier( 4963): Sending wifi notification to IP 118.208.189.81
D/RemoteNotifier( 4963): Sending over UDP
D/RemoteNotifier( 4963): Sent over UDP
D/RemoteNotifier( 4963): Sending over TCP
D/RemoteNotifier( 4963): Sent over TCP
I/RemoteNotifier( 4963): Sent notification over WiFi.
D/RemoteNotifier( 4963): Sending notification: 
v2/4452c4a5dd4e8046/43d0bf30d2228/PING//Test notification
D/RemoteNotifier( 4963): Sending wifi notification to IP 118.208.189.81
D/RemoteNotifier( 4963): Sending over UDP
D/RemoteNotifier( 4963): Sent over UDP
D/RemoteNotifier( 4963): Sending over TCP
D/RemoteNotifier( 4963): Sent over TCP
I/RemoteNotifier( 4963): Sent notification over WiFi.
D/RemoteNotifier( 4963): Sending notification: 
v2/4452c4a5dd4e8046/43d0bf31126ba/PING//Test notification
D/RemoteNotifier( 4963): Sending wifi notification to IP 118.208.189.81
D/RemoteNotifier( 4963): Sending over UDP
D/RemoteNotifier( 4963): Sent over UDP
D/RemoteNotifier( 4963): Sending over TCP
D/RemoteNotifier( 4963): Sent over TCP
I/RemoteNotifier( 4963): Sent notification over WiFi.
D/RemoteNotifier( 4963): Sending notification: 
v2/4452c4a5dd4e8046/43d0bf316bcf7/PING//Test notification
D/RemoteNotifier( 4963): Sending wifi notification to IP 118.208.189.81
D/RemoteNotifier( 4963): Sending over UDP
D/RemoteNotifier( 4963): Sent over UDP
D/RemoteNotifier( 4963): Sending over TCP
D/RemoteNotifier( 4963): Sent over TCP
I/RemoteNotifier( 4963): Sent notification over WiFi.
D/RemoteNotifier( 4963): Read log
D/RemoteNotifier( 4963): Sending notification: 
v2/4452c4a5dd4e8046/43d0bf4be97a0/PING//Test notification
D/RemoteNotifier( 4963): Sending wifi notification to IP 118.208.189.81
D/RemoteNotifier( 4963): Sending over UDP
D/RemoteNotifier( 4963): Sent over UDP
D/RemoteNotifier( 4963): Sending over TCP
D/RemoteNotifier( 4963): Sent over TCP
I/RemoteNotifier( 4963): Sent notification over WiFi.
D/RemoteNotifier( 4963): Battery status: Discharging
D/RemoteNotifier( 4963): Got battery level: 81
D/RemoteNotifier( 4963): Battery level change: 2
D/RemoteNotifier( 4963): Got battery update, but state change was not relevant
D/WifiService(  163): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(  163): acquireWifiLockLocked: WifiLock{Tasker.MonitorService 
type=2 binder=android.os.BinderProxy@40c7bfd0}
D/WifiService(  163): releaseWifiLockLocked: WifiLock{Tasker.MonitorService 
type=2 binder=android.os.BinderProxy@40c7bfd0}
D/WifiService(  163): ACTION_SCREEN_OFF
D/WifiService(  163): ACTION_SCREEN_ON
D/WifiService(  163): acquireWifiLockLocked: WifiLock{Tasker.MonitorService 
type=2 binder=android.os.BinderProxy@4071c058}
D/RemoteNotifier( 4963): Sending notification: 
v2/4452c4a5dd4e8046/43d0bfc4d778e/PING//Test notification
D/RemoteNotifier( 4963): Sending wifi notification to IP 118.208.189.81
D/RemoteNotifier( 4963): Sending over UDP
D/RemoteNotifier( 4963): Sent over UDP
D/RemoteNotifier( 4963): Sending over TCP
D/RemoteNotifier( 4963): Sent over TCP
I/RemoteNotifier( 4963): Sent notification over WiFi.
D/WifiService(  163): releaseWifiLockLocked: WifiLock{Tasker.MonitorService 
type=2 binder=android.os.BinderProxy@4071c058}

Original issue reported on code.google.com by SohumB on 7 Jun 2011 at 2:51

GoogleCodeExporter commented 9 years ago
same problem here

Original comment by ar3s...@gmail.com on 12 Jun 2011 at 4:06