baqir123 / gtalksms

Automatically exported from code.google.com/p/gtalksms
0 stars 0 forks source link

GTalkSMS will not respond to commands after update. #184

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install the latest update (released the week starting 13/06/2011)
2. Start GTalkSMS from the phone.
3. Try to send a command from the IM Client

What is the expected output?
GTalkSMS will respond to the command that has been sent accordingly

What do you see instead?
Nothing happens, GTalkSMS does not respond at all. However it has definitely 
connected, the startup message shows and if you click 'Send Clipboard', the 
message 'Text Copied' is sent.

Additional informations:
GTalkSMS version = GTalkSMS v2.2.4
Android OS version = 2.2
Phone model = HTC Desire

Original issue reported on code.google.com by andyb...@gmail.com on 13 Jun 2011 at 7:49

GoogleCodeExporter commented 9 years ago
Hello

Can you try to uninstall and re-install the application ?

Original comment by Florent....@gmail.com on 13 Jun 2011 at 8:59

GoogleCodeExporter commented 9 years ago
i was getting connection issues. tried to uninstall and lost my login 
information... just be warned

Original comment by joshk...@gmail.com on 13 Jun 2011 at 9:15

GoogleCodeExporter commented 9 years ago
Hi, thanks for the quick response!

I did exactly that, a clean uninstall and then re-entered my details into the 
application when I re-installed it again. Same problem unfortunately, it's like 
it's only a one-way communication now, it connects fine, but only sends 
information.

I included the log file as directed (sending it via email to this group), but 
it just showed a successful connection and nothing more.

Original comment by andyb...@gmail.com on 13 Jun 2011 at 9:15

GoogleCodeExporter commented 9 years ago
whoops, meant to also add that it didn't fix the problems. cannot connect.  and 
the service needs to be killed as well, otherwise it'll keep trying to connect

Original comment by joshk...@gmail.com on 13 Jun 2011 at 9:22

GoogleCodeExporter commented 9 years ago
Today I got some connection issues too with jabber.
For the one way communication can you double check your notified address (if 
there is no space at the end or typo...)

Original comment by Florent....@gmail.com on 13 Jun 2011 at 9:28

GoogleCodeExporter commented 9 years ago
Hmm, it's not actually the connection. It connects fine, as I say, I get the 
welcome message each time, and I've been getting battery status messages for a 
while now as I've left it connected. 

I did check the notified address as you asked, but it was correct.

It's just that the program won't respond to any command I send it. :/ It's a 
little strange!

Original comment by andyb...@gmail.com on 13 Jun 2011 at 9:33

GoogleCodeExporter commented 9 years ago
Do you have each time the same empty log file ?

Original comment by Florent....@gmail.com on 13 Jun 2011 at 9:46

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Okay so I've looked into specifics now.

When I'm connected to the client, GTalkSMS reports the notified address as 
being offline in the main screen. Is that correct? Should it not show it as 
online?

Also, the IM client (I've tried two so it's not specific to the client) then 
successfully reports that GTalkSMS is online, but when I disconnect (and 
therefore go offline), the client stills shows it as running and online. I 
looked at my log file this time and things are drastically different:

GTalkSMS Preferences
notifiedAddress: andybahb@gmail.com
useDifferentAccount: true
useGoogleMapUrl: true
debugLog: true
smsNumber: 5
locale: default
callLogsNumber: 10
roomPassword: gtalksms
manuallySpecifyServerSettings: true
serverHost: jabber.org
serviceName: jabber.org
showStatusIcon: true
serverPort: 5222
mucServer: conference.jwchat.org
login: [HIDDEN]

GTalkSMS Version: 2.2.4
Android API: 8
Kernel info: 2.6.32.15-gf5a401c
htc-kernel@and18-2 )
#1 PREEMPT Thu Sep 16 21:44:24 CST 2010

--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
06-13 22:56:26.800 I/gtalksms(22823): Update presence: andybahb@gmail.com - 
Offline
06-13 22:56:26.800 I/gtalksms(22823): Update presence: andybahb@jabber.org - 
Offline
06-13 22:56:28.170 I/gtalksms(22823): onStartCommand(): Intent 
com.googlecode.gtalksms.action.TOGGLE
06-13 22:56:28.170 I/gtalksms(22823): handling action 
'com.googlecode.gtalksms.action.TOGGLE' while in state 2
06-13 22:56:28.280 I/gtalksms(22823): broadcasting state transition from 2 to 3 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 22:56:28.300 I/gtalksms(22823): disconnectING xmpp connection
06-13 22:56:28.300 I/gtalksms(22823): ConnectionListener: connectionClosed() 
called
06-13 22:56:28.330 I/gtalksms(22823): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 22:56:29.490 I/gtalksms(22823): disconnectED xmpp connection. Took: 0.0 s
06-13 22:56:29.600 I/gtalksms(22823): broadcasting state transition from 3 to 0 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 22:56:29.620 I/gtalksms(22823): handled action 
'com.googlecode.gtalksms.action.TOGGLE' - state now 0
06-13 22:56:29.660 I/gtalksms(22823): we are disconnected, but more pending 
intents to be delivered - service will not stop
06-13 22:56:29.660 I/gtalksms(22823): teardownListenersForConnection()
06-13 22:56:29.750 I/gtalksms(22823): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 22:56:29.750 I/gtalksms(22823): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 0
06-13 22:56:29.750 I/gtalksms(22823): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 0
06-13 22:56:29.750 I/gtalksms(22823): we are disconnected, but more pending 
intents to be delivered - service will not stop
06-13 22:56:29.760 I/gtalksms(22823): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 0
06-13 22:56:29.760 I/gtalksms(22823): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 0
06-13 22:56:29.760 I/gtalksms(22823): service is stopping (we are disconnected 
and no pending intents exist.)
06-13 22:56:29.770 I/gtalksms(22823): LocationService onStart with intent 
action=com.googlecode.gtalksms.LOCATION_STOP_SERVICE
06-13 22:56:31.260 I/gtalksms(22823): onStartCommand(): Intent 
com.googlecode.gtalksms.action.TOGGLE
06-13 22:56:31.260 I/gtalksms(22823): handling action 
'com.googlecode.gtalksms.action.TOGGLE' while in state 0
06-13 22:56:31.350 I/gtalksms(22823): broadcasting state transition from 0 to 1 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 22:56:31.420 I/gtalksms(22823): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 22:56:46.330 I/gtalksms(22823): Update presence: andybahb@gmail.com - 
Offline
06-13 22:56:46.370 I/gtalksms(22823): Update presence: andybahb@jabber.org - 
Offline
06-13 22:56:47.550 I/gtalksms(22823): connection established
06-13 22:56:47.550 I/gtalksms(22823): conn parameters: con=true auth=true 
enc=true comp=false
06-13 22:56:47.560 I/gtalksms(22823): onStartCommand(): Intent 
com.googlecode.gtalksms.action.SEND
06-13 22:56:47.590 I/gtalksms(22823): broadcasting state transition from 1 to 2 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 22:56:47.600 I/gtalksms(22823): handled action 
'com.googlecode.gtalksms.action.TOGGLE' - state now 2
06-13 22:56:47.600 I/gtalksms(22823): setupListenersForConnection()
06-13 22:56:47.640 I/gtalksms(22823): Sending message "Battery level 100%"
06-13 22:56:47.660 I/gtalksms(22823): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 22:56:47.700 I/gtalksms(22823): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 2
06-13 22:56:47.700 I/gtalksms(22823): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 2
06-13 22:56:47.710 I/gtalksms(22823): handling action 
'com.googlecode.gtalksms.action.SEND' while in state 2
06-13 22:56:47.710 I/gtalksms(22823): Sending message "Welcome to GTalkSMS 
v2.2.4 @ Yakoo...."
06-13 22:56:47.720 I/gtalksms(22823): handled action 
'com.googlecode.gtalksms.action.SEND' - state now 2
06-13 22:56:47.720 I/gtalksms(22823): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 2
06-13 22:56:47.720 I/gtalksms(22823): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 2
06-13 22:56:56.900 I/gtalksms(22823): onStartCommand(): Intent 
com.googlecode.gtalksms.action.TOGGLE
06-13 22:56:56.900 I/gtalksms(22823): handling action 
'com.googlecode.gtalksms.action.TOGGLE' while in state 2
06-13 22:56:56.981 I/gtalksms(22823): broadcasting state transition from 2 to 3 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 22:56:57.010 I/gtalksms(22823): disconnectING xmpp connection
06-13 22:56:57.030 I/gtalksms(22823): ConnectionListener: connectionClosed() 
called
06-13 22:56:57.070 I/gtalksms(22823): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 22:56:58.210 I/gtalksms(22823): disconnectED xmpp connection. Took: 0.0 s
06-13 22:56:58.680 I/gtalksms(22823): broadcasting state transition from 3 to 0 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 22:56:58.700 I/gtalksms(22823): handled action 
'com.googlecode.gtalksms.action.TOGGLE' - state now 0
06-13 22:56:58.730 I/gtalksms(22823): we are disconnected, but more pending 
intents to be delivered - service will not stop
06-13 22:56:58.730 I/gtalksms(22823): teardownListenersForConnection()
06-13 22:56:58.800 I/gtalksms(22823): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 22:56:58.800 I/gtalksms(22823): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 0
06-13 22:56:58.810 I/gtalksms(22823): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 0
06-13 22:56:58.810 I/gtalksms(22823): we are disconnected, but more pending 
intents to be delivered - service will not stop
06-13 22:56:58.810 I/gtalksms(22823): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 0
06-13 22:56:58.810 I/gtalksms(22823): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 0
06-13 22:56:58.810 I/gtalksms(22823): service is stopping (we are disconnected 
and no pending intents exist.)
06-13 22:56:58.820 I/gtalksms(22823): LocationService onStart with intent 
action=com.googlecode.gtalksms.LOCATION_STOP_SERVICE
06-13 22:56:59.980 I/gtalksms(22823): service destroyed
06-13 22:56:59.980 I/gtalksms(22823): broadcasting state transition from 0 to 3 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 22:57:00.000 I/gtalksms(22823): broadcasting state transition from 3 to 0 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 22:57:00.000 I/gtalksms(22823): teardownListenersForConnection()

Original comment by andyb...@gmail.com on 13 Jun 2011 at 10:08

GoogleCodeExporter commented 9 years ago
Can you downgrade the application to the previous version ?
As I said jabber doesn't seem to work well, so they may have some issues with 
roster (presence packets) or cross protocol (jabber vs gtalk)...

Original comment by Florent....@gmail.com on 13 Jun 2011 at 10:13

GoogleCodeExporter commented 9 years ago
I'd love to downgrade to the previous version, it was working fine...how would 
I go about that? Sorry if that's a stupid question. :S

So if it's a problem with Jabber, could it be an issue that just works itself 
out? I only assumed it was GTalkSMS because the problem occurred only after I 
updated.

Original comment by andyb...@gmail.com on 13 Jun 2011 at 10:34

GoogleCodeExporter commented 9 years ago
Before doing that, did you try to restart your phone, sometimes it helps and I 
remember that some users have to do that...

For the downgrade, there is a download section on this site, but you have to 
transfer the apk via mail or usb connection then install it on your phone.

You'll maybe have to uninstall the last version...

By doing that we will see if it's really an update issue on your phone. It's 
maybe due to the base Android framework update (last version was built with the 
API 9 and yours is 8).

Sorry for all those tests, but it helps me a lot to investigate :)

Original comment by Florent....@gmail.com on 13 Jun 2011 at 10:44

GoogleCodeExporter commented 9 years ago
Okay so I restarted the phone - No change sadly :(.

I uninstalled this new version and downgraded to the 'Featured' version of 
2.2.3, which I assume is what I had. And then I got the same issues, which 
puzzled me. What also puzzled me is that you say API 9 was used in 2.2.3?And 
the debug log (below) says it is still on 8 :/.

It's fine, I know myself when I'm helping people over the internet, the more 
tests you can do, the more of an idea you can get of the problem, so I'm quite 
happy to do whatever you suggest! :)

Debug log using 2.2.3:

GTalkSMS Preferences
notifiedAddress: andybahb@gmail.com
useDifferentAccount: true
useGoogleMapUrl: true
debugLog: true
smsNumber: 5
locale: default
callLogsNumber: 10
roomPassword: gtalksms
manuallySpecifyServerSettings: true
serverHost: jabber.org
serviceName: jabber.org
showStatusIcon: true
serverPort: 5222
mucServer: conference.jwchat.org
login: [HIDDEN]

GTalkSMS Version: 2.2.3
Android API: 8
Kernel info: 2.6.32.15-gf5a401c
htc-kernel@and18-2 )
#1 PREEMPT Thu Sep 16 21:44:24 CST 2010

--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
06-13 23:54:08.293 I/gtalksms( 1177): connection established
06-13 23:54:48.993 I/gtalksms( 1177): service destroyed
06-13 23:55:05.443 I/gtalksms( 1177): onCreate(): service thread created
06-13 23:55:07.883 I/gtalksms( 1177): onStartCommand(): Intent 
com.googlecode.gtalksms.action.TOGGLE
06-13 23:55:07.893 I/gtalksms( 1177): handling action 
'com.googlecode.gtalksms.action.TOGGLE' while in state 0
06-13 23:55:07.893 I/gtalksms( 1177): broadcasting state transition from 0 to 1 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 23:55:07.973 I/gtalksms( 1177): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 23:55:22.583 I/gtalksms( 1177): Update presence: andybahb@gmail.com - 
Offline
06-13 23:55:22.583 I/gtalksms( 1177): connection established
06-13 23:55:22.583 I/gtalksms( 1177): conn parameters: con=true auth=true 
enc=true comp=false
06-13 23:55:22.603 I/gtalksms( 1177): Update presence: andybahb@jabber.org - 
Offline
06-13 23:55:23.883 I/gtalksms( 1177): onStartCommand(): Intent 
com.googlecode.gtalksms.action.SEND
06-13 23:55:23.893 I/gtalksms( 1177): broadcasting state transition from 1 to 2 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 23:55:23.903 I/gtalksms( 1177): handled action 
'com.googlecode.gtalksms.action.TOGGLE' - state now 2
06-13 23:55:23.903 I/gtalksms( 1177): setupListenersForConnection()
06-13 23:55:23.953 I/gtalksms( 1177): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 23:55:24.003 I/gtalksms( 1177): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 2
06-13 23:55:24.003 I/gtalksms( 1177): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 2
06-13 23:55:24.003 I/gtalksms( 1177): handling action 
'com.googlecode.gtalksms.action.SEND' while in state 2
06-13 23:55:24.013 I/gtalksms( 1177): Sending message "Welcome to GTalkSMS 
v2.2.3 @ Yakoo...."
06-13 23:55:24.023 I/gtalksms( 1177): handled action 
'com.googlecode.gtalksms.action.SEND' - state now 2
06-13 23:55:24.023 I/gtalksms( 1177): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 2
06-13 23:55:24.023 I/gtalksms( 1177): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 2
06-13 23:55:36.283 I/gtalksms( 1177): onStartCommand(): Intent 
com.googlecode.gtalksms.action.TOGGLE
06-13 23:55:36.283 I/gtalksms( 1177): handling action 
'com.googlecode.gtalksms.action.TOGGLE' while in state 2
06-13 23:55:36.283 I/gtalksms( 1177): broadcasting state transition from 2 to 3 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 23:55:36.303 I/gtalksms( 1177): disconnectING xmpp connection
06-13 23:55:36.313 I/gtalksms( 1177): ConnectionListener: connectionClosed() 
called
06-13 23:55:36.353 I/gtalksms( 1177): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 23:55:37.493 I/gtalksms( 1177): disconnectED xmpp connection. Took: 0.0 s
06-13 23:55:37.653 I/gtalksms( 1177): broadcasting state transition from 3 to 0 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 23:55:37.683 I/gtalksms( 1177): handled action 
'com.googlecode.gtalksms.action.TOGGLE' - state now 0
06-13 23:55:37.703 I/gtalksms( 1177): we are disconnected, but more pending 
intents to be delivered - service will not stop
06-13 23:55:37.703 I/gtalksms( 1177): teardownListenersForConnection()
06-13 23:55:37.773 I/gtalksms( 1177): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 23:55:37.783 I/gtalksms( 1177): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 0
06-13 23:55:37.783 I/gtalksms( 1177): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 0
06-13 23:55:37.783 I/gtalksms( 1177): we are disconnected, but more pending 
intents to be delivered - service will not stop
06-13 23:55:37.783 I/gtalksms( 1177): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 0
06-13 23:55:37.783 I/gtalksms( 1177): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 0
06-13 23:55:37.783 I/gtalksms( 1177): service is stopping (we are disconnected 
and no pending intents exist.)
06-13 23:55:37.783 I/gtalksms( 1177): LocationService onStart with intent 
action=com.googlecode.gtalksms.LOCATION_STOP_SERVICE
06-13 23:55:39.403 I/gtalksms( 1177): service destroyed
06-13 23:55:39.403 I/gtalksms( 1177): broadcasting state transition from 0 to 3 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 23:55:39.413 I/gtalksms( 1177): broadcasting state transition from 3 to 0 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
06-13 23:55:39.413 I/gtalksms( 1177): teardownListenersForConnection()

Original comment by andyb...@gmail.com on 13 Jun 2011 at 11:02

GoogleCodeExporter commented 9 years ago
Same issue, so it must be a jabber issue.
I hope that will be corrected soon (it's a jabber side issue).

If you want you can test with a GTalk account (2 Gtalk or just one for pc and 
phone). But it's just for test because Xmpp account is recommended anyway.

For the API I've built the apk with SDK9 but your phone is in 8 (GTalkSMS 
manage it in the code). So it's normal that your phone display API8 (it's your 
android version = 2.2.3)

Original comment by Florent....@gmail.com on 13 Jun 2011 at 11:08

GoogleCodeExporter commented 9 years ago
Idem for me. With 2.2.4, Gtalksms connects fine but no response from him.

Original comment by e.po...@gmail.com on 14 Jun 2011 at 8:05

GoogleCodeExporter commented 9 years ago
Same issue with 2.2.3 :'( Jabber issue. Back ti 2.2.4 and Wait ...

Original comment by e.po...@gmail.com on 14 Jun 2011 at 8:20

GoogleCodeExporter commented 9 years ago
It's confirmed, jabber.org have a issue with GTalk protocol : 
"stpeter: general network flakiness, or specific problems communicating with 
Google Talk -- we're working to figure out what"

Original comment by Florent....@gmail.com on 14 Jun 2011 at 9:49

GoogleCodeExporter commented 9 years ago
Thank you back;)

Original comment by e.po...@gmail.com on 14 Jun 2011 at 10:01

GoogleCodeExporter commented 9 years ago
It's Ok :)

Original comment by e.po...@gmail.com on 15 Jun 2011 at 8:14

GoogleCodeExporter commented 9 years ago
I've had the same exact issue for the past couple of days, but this morning it 
seems fixed, as GTalkSMS is happily answering my requests.

Original comment by sdelaf...@gmail.com on 15 Jun 2011 at 8:58

GoogleCodeExporter commented 9 years ago
Perfect, I'm closing the bug as invalid (it was not a GTalkSMS issue)

Original comment by Florent....@gmail.com on 15 Jun 2011 at 6:23