Unable to subscribe

105 views
Skip to first unread message

meNotU

unread,
Jul 18, 2010, 7:42:18 PM7/18/10
to Growl for Android
Growl for Android: .09 (HTC Incredible)
Growl for Windows: 2.0.3 (Win7 64bit & 32bit)

I followed the instructions but have been unable to get GFA to
subscribe to GFW. I've tested it on two different computers (Win7
64bit and 32bit) with no success. I only get "not subscribed" and
have yet to be able to connect. I've tested both Windows systems with
connecting by connecting them to each other.

What troubleshooting steps do you recommend? I have a rooted phone so
I am capable of pulling logs if you tell me where to look.



Carey Bishop

unread,
Jul 19, 2010, 1:07:36 AM7/19/10
to growlfo...@googlegroups.com
Hi there,

"Not subscribed" is displayed when:
- Growl for Android has not yet attempted to subscribe to the host.
- an attempt to subscribe has timed out, without a response from the other Growl device.
- an unexpected error occurred while subscribing.

Other possible subscription statuses are "Bad password" and "Currently unable to locate server", so neither of those reasons apply here.

- Do you have Growl for Android started on your device? It will not attempt to subscribe while it is turned off.
- Have you tried choosing Subscribe Now from the menu in the Subscriptions window on your Android device, to attempt to subscribe again?
- Does the subscription status update to "Subscribing..."? Roughly how long does it take to change back to "Not subscribed"?
- Does your device appear in the Growl for Windows "Forward notifications to other computers" list at all?
- Are you trying to subscribe via WiFi or over the mobile network?
- Do you have inbound TCP connections to port 23053 blocked by the Windows firewall or your router/access point?

Thanks,
  Carey




--
You received this message because you are subscribed to the Google Groups "Growl for Android" group.
To post to this group, send email to growlfo...@googlegroups.com.
To unsubscribe from this group, send email to growlforandro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/growlforandroid?hl=en.


meNotU

unread,
Jul 19, 2010, 10:29:36 AM7/19/10
to Growl for Android
Thanks for your reply. I've included responses inline below.

> - Do you have Growl for Android started on your device? It will not attempt
> to subscribe while it is turned off.
Yes, it is running ("Growl is running") and the Growl icon is in the
status bar.

> - Have you tried choosing Subscribe Now from the menu in the Subscriptions
> window on your Android device, to attempt to subscribe again?
Yes, when I've tried it multiple times.

> - Does the subscription status update to "Subscribing..."? Roughly how long
> does it take to change back to "Not subscribed"?
<.5 second...basically it is instantaneous.

> - Does your device appear in the Growl for Windows "Forward notifications to
> other computers" list at all?
No, GFA does not appear but my other GFW computer does.

> - Are you trying to subscribe via WiFi or over the mobile network?
WiFi with Good -> Excellent signal strength

> - Do you have inbound TCP connections to port 23053 blocked by the Windows
> firewall or your router/access point?
To eliminate a firewall configuration I turned off the firewall during
testing.
> > growlforandro...@googlegroups.com<growlforandroid%2Bunsu...@googlegroups.com>
> > .

Carey Bishop

unread,
Jul 19, 2010, 7:08:43 PM7/19/10
to growlfo...@googlegroups.com
Thanks for the reply.

Can you send me a copy of your log file from just after you've clicked Subscribe Now?

Thanks,
  Carey

To unsubscribe from this group, send email to growlforandro...@googlegroups.com.

meNotU

unread,
Jul 19, 2010, 7:34:57 PM7/19/10
to Growl for Android
Here are the logs you requested. Before I subscribed I uninstalled
and installed a fresh version, recreated the config, etc. The first
few sections are excerpts from the initial set up. I thought that
might be helpful to include as well since it was not a clean
installation. Also, I don't know if this matters but the MD5 Hash is
not valid or at least won't decrypt.

E/PackageInstallationReceiver( 957): Remove /data/local/tmp/
com.growlforandroid.client.apk Fail!
W/System.err( 957): java.io.IOException: Error running exec().
Commands: [/system/xbin/su, 0, /system/bin/rm, /data/local/tmp/
com.growlforandroid.client.apk] Working Directory: null Environment:
null
W/System.err( 957): at
java.lang.ProcessManager.exec(ProcessManager.java:196)
W/System.err( 957): at java.lang.Runtime.exec(Runtime.java:225)
W/System.err( 957): at java.lang.Runtime.exec(Runtime.java:313)
W/System.err( 957): at java.lang.Runtime.exec(Runtime.java:246)
W/System.err( 957): at
com.htc.android.psclient.PackageInstallationReceiver.removeTempPackageFile(PackageInstallationReceiver.java:
30)
W/System.err( 957): at
com.htc.android.psclient.PackageInstallationReceiver.onReceive(PackageInstallationReceiver.java:
22)
W/System.err( 957): at
android.app.ActivityThread.handleReceiver(ActivityThread.java:2751)
W/System.err( 957): at android.app.ActivityThread.access
$3100(ActivityThread.java:126)
W/System.err( 957): at android.app.ActivityThread
$H.handleMessage(ActivityThread.java:1982)
W/System.err( 957): at
android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 957): at android.os.Looper.loop(Looper.java:123)
W/System.err( 957): at
android.app.ActivityThread.main(ActivityThread.java:4595)
W/System.err( 957): at
java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 957): at java.lang.reflect.Method.invoke(Method.java:
521)
W/System.err( 957): at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860)
W/System.err( 957): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
W/System.err( 957): at dalvik.system.NativeStart.main(Native
Method)
W/System.err( 957): Caused by: java.io.IOException: No such file or
directory
W/System.err( 957): at java.lang.ProcessManager.exec(Native
Method)
W/System.err( 957): at
java.lang.ProcessManager.exec(ProcessManager.java:194)
W/System.err( 957): ... 16 more


D/Database( 8520): Creating new database
D/ ( 8520): unable to unlink '/data/data/
com.growlforandroid.client/shared_prefs/
com.growlforandroid.client_preferences.xml.bak': No such file or
directory (errno=2)
D/ ( 8520): unable to unlink '/data/data/
com.growlforandroid.client/shared_prefs/
_has_set_default_values.xml.bak': No such file or directory (errno=2)

I/GrowlListenerService.onStartCommand( 8520): Received start id 1:
Intent { cmp=com.growlforandroid.client/.GrowlListenerService }
I/SocketAcceptor.run( 8520): Started listening for incoming
connections on 0.0.0.0/0.0.0.0:23053...
I/ZeroConf.registerService( 8520): Registering service "Growl for
Android on Sunshine Sammy" with ZeroConf
I/GrowlListenerService.onStartCommand( 8520): Renewing
subscriptions...
I/Subscriber.ctor( 8520): Created new subscriber ID: 2ccdc212-
e95f-4607-bc9e-f83d508885c7
I/Subscriber.start( 8520): Starting the subscriber 2ccdc212-e95f-4607-
bc9e-f83d508885c7...
I/ListenerServiceConnection.setWasRunning( 8520): Was Running = true
I/Subscriber.subscribeNow( 8520): No current subscriptions, stopping
I/Subscriber.stop( 8520): Stopping the subscriber 2ccdc212-e95f-4607-
bc9e-f83d508885c7...
I/ListenerServiceConnection.onServiceConnected( 8520): Connected to
ComponentInfo{com.growlforandroid.client/
com.growlforandroid.client.GrowlListenerService}

I/ActivityManager( 115): Starting activity: Intent
{ act=android.intent.action.MAIN
cmp=com.growlforandroid.client/.Subscriptions }
I/ListenerServiceConnection.bind( 8520): Binding to the service
I/Subscriptions.onResume( 8520): Listening for GNTP service
announcements...
I/ListenerServiceConnection.onServiceConnected( 8520): Connected to
ComponentInfo{com.growlforandroid.client/
com.growlforandroid.client.GrowlListenerService}
I/Subscriptions.refresh( 8520): Querying available GNTP services...
I/Subscriptions.refresh( 8520): Finished querying
D/DeskClock( 413): onDestroy
I/ActivityManager( 115): Displayed activity
com.growlforandroid.client/.Subscriptions: 286 ms (total 286 ms)


----
I/Subscriber.start( 8520): Starting the subscriber 2ccdc212-e95f-4607-
bc9e-f83d508885c7...
I/Subscriptions.refresh( 8520): Querying available GNTP services...
I/Subscriptions.refresh( 8520): Finished querying
I/Subscriber.getActiveSubscriptions( 8520): 0 subscriptions are active
I/GrowlListenerService.onSubscriptionStatusChanged( 8520): The status
of subscription 1 has changed
I/Subscriber.subscribeNow( 8520): Subscribing to 1 sources
I/Request.sendTo[1]( 8520): Connecting to 192.168.100.8 on port
23053...
I/Subscriptions.refresh( 8520): Querying available GNTP services...
I/Subscriptions.refresh( 8520): Finished querying
I/Request.sendTo[1]( 8520): Sending SUBSCRIBE request...
I/GntpMessage.write( 8520): GNTP/1.0 SUBSCRIBE NONE
MD5:B8219C23C6F06F2ACF295A5748B6E7D4.502EDBFB965A4AA082EBDCEE30ACBBB7
I/GntpMessage.writeHeader( 8520): Subscriber-ID: 2ccdc212-e95f-4607-
bc9e-f83d508885c7
I/GntpMessage.writeHeader( 8520): Subscriber-Name: Sunshine Sammy
W/System.err( 8520): java.net.SocketException: Broken pipe
W/System.err( 8520): at
org.apache.harmony.luni.platform.OSNetworkSystem.writeSocketImpl(Native
Method)
W/System.err( 8520): at
org.apache.harmony.luni.platform.OSNetworkSystem.write(OSNetworkSystem.java:
804)
W/System.err( 8520): at
org.apache.harmony.nio.internal.SocketChannelImpl.writeImpl(SocketChannelImpl.java:
564)
W/System.err( 8520): at
org.apache.harmony.nio.internal.SocketChannelImpl.write(SocketChannelImpl.java:
491)
W/System.err( 8520): at
com.growlforandroid.common.ChannelWriter.write(ChannelWriter.java:25)
W/System.err( 8520): at
com.growlforandroid.gntp.GntpMessage.writeHeader(GntpMessage.java:88)
W/System.err( 8520): at
com.growlforandroid.gntp.GntpMessage.writeHeaders(GntpMessage.java:81)
W/System.err( 8520): at
com.growlforandroid.gntp.GntpMessage.write(GntpMessage.java:73)
W/System.err( 8520): at
com.growlforandroid.gntp.Request.sendTo(Request.java:79)
W/System.err( 8520): at
com.growlforandroid.gntp.Request.sendTo(Request.java:61)
W/System.err( 8520): at
com.growlforandroid.gntp.SubscriberThread.run(SubscriberThread.java:
25)
I/Request.sendTo[1]( 8520): Waiting for response...
I/ChannelReader.fillBuffer( 8520): Filling the buffer...
I/ChannelReader.fillBuffer( 8520): Read -1 bytes into the buffer
I/Request.sendTo[1]( 8520): Done
I/Subscriber.onSubscriptionComplete( 8520): Subscription 1 failed:
java.nio.BufferUnderflowException
I/Subscriber.getActiveSubscriptions( 8520): 0 subscriptions are active
I/GrowlListenerService.onSubscriptionStatusChanged( 8520): The status
of subscription 1 has changed
I/Subscriptions.refresh( 8520): Querying available GNTP services...
I/Subscriptions.refresh( 8520): Finished querying
---
> > <growlforandroid%2Bunsu...@googlegroups.com<growlforandroid%252Buns...@googlegroups.com>

Carey Bishop

unread,
Jul 20, 2010, 8:46:18 AM7/20/10
to growlfo...@googlegroups.com
Thanks for the log.

It looks like Growl for Windows is closing the connection sooner than we're expecting, before we've even completed the request.

You mentioned that the MD5 hash appeared to be invalid. Can I ask what password you were using?

If you happen to have Wireshark installed on your PC, a dump of the subscription request (on port 23053) would be useful. If not, I'll have a dig around and see if I can reproduce the issue myself.

Thanks,
  Carey

To unsubscribe from this group, send email to growlforandro...@googlegroups.com.

Carey Bishop

unread,
Jul 20, 2010, 5:37:00 PM7/20/10
to growlfo...@googlegroups.com
Thanks for the packet capture. Growl for Windows is definitely dropping the connection on us, after the first line of the request. 

Looking at the GNTP spec, the request line looks perfectly legitimate and should, in the worst case, fail with error 400 "Not Authorized". Maybe Growl for Windows isn't that happy about a 16 byte salt (it uses a smaller salt in its own requests) but 16 byte salts are allowed by the spec, and GfW should reply with a 300 error "Invalid Request" in this case. The fact that we're not getting any response at all suggests a bug with GfW.

I'll try to see if I can reproduce the issue locally with GfW's logging enabled.

Thanks,
  Carey

Me Not U

unread,
Jul 20, 2010, 7:09:39 PM7/20/10
to growlfo...@googlegroups.com
I tried to launch GFW with "Growl.exe /log:true /debug:true" and was
able to confirm debugging started but never saw the logs get created.
Got another command ;)? I can send the debug log but it it was
unremarkable.

Carey Bishop

unread,
Jul 22, 2010, 5:24:30 AM7/22/10
to growlfo...@googlegroups.com
It's not a final release, but Brian has made a number of differences to how the subscriptions work.

I tried sending the GNTP subscription request from your log to my install of GfW 2.0.4.1 and it was replied to correctly,

Thanks,
  Carey

meNotU

unread,
Jul 23, 2010, 12:03:24 PM7/23/10
to Growl for Android
I installed it and have the same results. I didn't get a new packet
trace but can if you would like it.

On Jul 22, 2:24 am, Carey Bishop <carey.bis...@gmail.com> wrote:
> Try the newer build of Growl:http://www.growlforwindows.com/gfw/d.ashx?f=Growl_v2.0.4.1.zip
> It's not a final release, but Brian has made a number of differences to how
> the subscriptions work.
>
> I tried sending the GNTP subscription request from your log to my install of
> GfW 2.0.4.1 and it was replied to correctly,
>
> Thanks,
>   Carey
>
> On Wed, Jul 21, 2010 at 11:09 AM, Me Not U <men...@instantmessage.net>wrote:
>
> > I tried to launch GFW with "Growl.exe /log:true /debug:true" and was
> > able to confirm debugging started but never saw the logs get created.
> > Got another command ;)? I can send the debug log but it it was
> > unremarkable.
>
> > On Tue, Jul 20, 2010 at 2:37 PM, Carey Bishop <carey.bis...@gmail.com>
> > wrote:
>
> > > Thanks for the packet capture. Growl for Windows is definitely dropping
> > the connection on us, after the first line of the request.
> > > Looking at the GNTP spec, the request line looks perfectly legitimate and
> > should, in the worst case, fail with error 400 "Not Authorized". Maybe Growl
> > for Windows isn't that happy about a 16 byte salt (it uses a smaller salt in
> > its own requests) but 16 byte salts are allowed by the spec, and GfW should
> > reply with a 300 error "Invalid Request" in this case. The fact that we're
> > not getting any response at all suggests a bug with GfW.
> > > I'll try to see if I can reproduce the issue locally with GfW's logging
> > enabled.
> > > Thanks,
> > >   Carey
>
> ...
>
> read more »

Carey Bishop

unread,
Jul 24, 2010, 8:06:00 PM7/24/10
to growlfo...@googlegroups.com
I doubt that will show us anything different than before.

My remaining suggestions are:
- Try using different passwords. Do shorter/longer/more complex/less complex passwords make any difference?
- Have you tried subscribing Growl for Android to any other computers?
- Have you tried setting up forwarding instead of subscribing?

It would seem to me that the issue is one related to Growl for Windows and not a bug in Growl for Android, so if you do continue to experience this issue the Growl for Windows Group (http://groups.google.com/group/growl-for-windows) would be a good place to bring it up. If any discussions there suggest that Growl for Android is doing something wrong, I'd be happy to revisit the issue.

Thanks,
  Carey


--
Reply all
Reply to author
Forward
0 new messages