Delay Login

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
Fusion
Muffin
Posts: 25
Joined: Sun Dec 05, 2004 1:52 am
Location: Seattle, WA
Contact:

Delay Login

Post by Fusion »

It's highly annoying that Adium throws an error at me everytime I open up my MBP because my computer hasn't had enough time to connect to a network yet. And then of course I have to go manually make Adium sign online after my computer has had a chance to connect.

Is there a way I can set Adium to not try to log in for at least 45 seconds after I open the lid of my computer? Or at least not throw an error at me and instead just keep trying to connect in the background until a connection is active?
Fusion
Muffin
Posts: 25
Joined: Sun Dec 05, 2004 1:52 am
Location: Seattle, WA
Contact:

Post by Fusion »

So.... I guess this is not possible?
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

Adium shouldn't be attempting to connect until the network is available.

Please use the Adium 1.0.3 beta and post the Console.app logging which occurs when going to sleep and then waking up the computer. Please wait a bit between waking the computer so it's obvious from the time stamp when the sleep occurred. Example output from my system:

Code: Select all

2007-04-19 23:17:47.813 Adium[29722] Scheduled reachability check for login.oscar.aol.com
2007-04-19 23:17:55.423 Adium[29722] Obtained reachability ref <NSCFType: 0x33ca350> for login.oscar.aol.com (<ESAccountNetworkConnectivityPlugin: 0x369ae30>).
2007-04-19 23:17:55.424 Adium[29722] Immediate reachability info for <NSCFType: 0x33ca350>
2007-04-19 23:17:55.424 Adium[29722] *** hostReachabilityChangedCallback got flags: -r----- 
2007-04-19 23:19:11.487 Adium[29722] *** hostReachabilityChangedCallback got flags: trc---- 
2007-04-19 23:19:30.787 Adium[29722] Scheduled reachability check for login.oscar.aol.com
2007-04-19 23:19:30.973 Adium[29722] Unable to resolve login.oscar.aol.com. Now monitoring IP changes for <NSCFSet: 0x33d0340> ({
    host = "login.oscar.aol.com"; 
    observer = <ESAccountNetworkConnectivityPlugin: 0x369ae30>; 
})
2007-04-19 23:19:36.000 Adium[29722] Scheduled reachability check for login.oscar.aol.com
2007-04-19 23:19:36.102 Adium[29722] Obtained reachability ref <NSCFType: 0x8f2f300> for login.oscar.aol.com (<ESAccountNetworkConnectivityPlugin: 0x369ae30>).
2007-04-19 23:19:36.102 Adium[29722] Immediate reachability info for <NSCFType: 0x8f2f300>
2007-04-19 23:19:36.102 Adium[29722] *** hostReachabilityChangedCallback got flags: -r----- 
The duck still burns.
--
My company: Saltatory Software. Check it out :)
Fusion
Muffin
Posts: 25
Joined: Sun Dec 05, 2004 1:52 am
Location: Seattle, WA
Contact:

Post by Fusion »

evands >

Thanks for the reply! Will do!

This only happens when moving between networks, i.e., work and home, if I stay on the same network it's fine.

But I'll definitely capture that log and upload it here. Cheers!
Fusion
Muffin
Posts: 25
Joined: Sun Dec 05, 2004 1:52 am
Location: Seattle, WA
Contact:

Post by Fusion »

Okay evands, here it is:

2007-04-20 17:02:27.592 NewsFire[775] *** Will Sleep ***
2007-04-20 17:02:33.236 Adium[681] *** hostReachabilityChangedCallback got flags: trc----
2007-04-20 17:02:33.247 Adium[681] *** hostReachabilityChangedCallback got flags: -r----d
2007-04-20 17:02:33.629 Adium[681] *** hostReachabilityChangedCallback got flags: -r----d
2007-04-20 17:02:33.763 Adium[681] *** hostReachabilityChangedCallback got flags: -r----d
2007-04-20 17:57:48.571 NewsFire[775] *** Did Wake ***
2007-04-20 17:57:48.654 Adium[681] Scheduled reachability check for messenger.hotmail.com
2007-04-20 17:57:48.654 Adium[681] Scheduled reachability check for scs.msg.yahoo.com
2007-04-20 17:57:48.654 Adium[681] Scheduled reachability check for login.oscar.aol.com
2007-04-20 17:57:48.756 Adium[681] Unable to resolve messenger.hotmail.com. Now monitoring IP changes for <NSCFSet: 0xfd079e0> ({
host = "messenger.hotmail.com";
observer = <ESAccountNetworkConnectivityPlugin: 0x5d8bc0>;
})
2007-04-20 17:57:48.757 Adium[681] Unable to resolve scs.msg.yahoo.com. Now monitoring IP changes for <NSCFSet: 0xfd079e0> ({
host = "messenger.hotmail.com";
observer = <ESAccountNetworkConnectivityPlugin: 0x5d8bc0>;
}, {
host = "scs.msg.yahoo.com";
observer = <ESAccountNetworkConnectivityPlugin: 0x5d8bc0>;
})
2007-04-20 17:57:48.757 Adium[681] Unable to resolve login.oscar.aol.com. Now monitoring IP changes for <NSCFSet: 0xfd079e0> ({
host = "messenger.hotmail.com";
observer = <ESAccountNetworkConnectivityPlugin: 0x5d8bc0>;
}, {
host = "scs.msg.yahoo.com";
observer = <ESAccountNetworkConnectivityPlugin: 0x5d8bc0>;
}, {
host = "login.oscar.aol.com";
observer = <ESAccountNetworkConnectivityPlugin: 0x5d8bc0>;
})
Apr 20 17:57:54 joshua-bryants-computer configd[33]: Error: Failed to join most recent network "ANY", err=88001006 (will search for any others)
2007-04-20 17:57:58.758 Adium[681] Scheduled reachability check for messenger.hotmail.com
2007-04-20 17:57:58.758 Adium[681] Scheduled reachability check for scs.msg.yahoo.com
2007-04-20 17:57:58.758 Adium[681] Scheduled reachability check for login.oscar.aol.com
2007-04-20 17:58:02.680 Adium[681] Scheduled reachability check for messenger.hotmail.com
2007-04-20 17:58:02.685 Adium[681] Scheduled reachability check for scs.msg.yahoo.com
2007-04-20 17:58:02.685 Adium[681] Scheduled reachability check for login.oscar.aol.com
2007-04-20 17:58:02.791 Adium[681] Obtained reachability ref <NSCFType: 0x101d1ee0> for messenger.hotmail.com (<ESAccountNetworkConnectivityPlugin: 0x5d8bc0>).
2007-04-20 17:58:02.791 Adium[681] Immediate reachability info for <NSCFType: 0x101d1ee0>
2007-04-20 17:58:02.791 Adium[681] *** hostReachabilityChangedCallback got flags: -r-----
2007-04-20 17:58:02.807 Adium[681] Obtained reachability ref <NSCFType: 0x101d1980> for scs.msg.yahoo.com (<ESAccountNetworkConnectivityPlugin: 0x5d8bc0>).
2007-04-20 17:58:02.807 Adium[681] Immediate reachability info for <NSCFType: 0x101d1980>
2007-04-20 17:58:02.807 Adium[681] *** hostReachabilityChangedCallback got flags: -r-----
2007-04-20 17:58:02.808 Adium[681] Obtained reachability ref <NSCFType: 0x101d1dc0> for login.oscar.aol.com (<ESAccountNetworkConnectivityPlugin: 0x5d8bc0>).
2007-04-20 17:58:02.808 Adium[681] Immediate reachability info for <NSCFType: 0x101d1dc0>
2007-04-20 17:58:02.808 Adium[681] *** hostReachabilityChangedCallback got flags: -r-----
Fusion
Muffin
Posts: 25
Joined: Sun Dec 05, 2004 1:52 am
Location: Seattle, WA
Contact:

Post by Fusion »

And then this is in the system log:

Apr 20 17:57:45 joshua-bryants-computer kernel[0]: System Wake
Apr 20 17:57:54 joshua-bryants-computer configd[33]: Error: Failed to join most recent network "ANY", err=88001006 (will search for any others)
Apr 20 17:57:56 joshua-bryants-computer /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport: Could not find "ANY" on channel(s) 11
Apr 20 17:58:02 joshua-bryants-computer configd[33]: posting notification com.apple.system.config.network_change
Apr 20 17:58:02 joshua-bryants-computer lookupd[796]: lookupd (version 369.6) starting - Fri Apr 20 17:58:02 2007
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

Hrm... and it's erroring while trying to connect? Your console log indicates that the network system is saying, "Okay, we're good to go to connect to the servers!" after which adium does the connect attempt.
The duck still burns.
--
My company: Saltatory Software. Check it out :)
Fusion
Muffin
Posts: 25
Joined: Sun Dec 05, 2004 1:52 am
Location: Seattle, WA
Contact:

Post by Fusion »

That's the thing though... Adium does not try to connect afterwards, it tries to connect right away, i.e., the very instant I open my computer, about 1 second later the error pops up... and OS X hasn't even connected to a network yet, I still see my little airport icon scrolling the name of the network it's connecting to... and then all my other internet services turn on.

?!?

Is there anything else I can do, i.e., more logs or anything to show you what's happening?
Fusion
Muffin
Posts: 25
Joined: Sun Dec 05, 2004 1:52 am
Location: Seattle, WA
Contact:

Post by Fusion »

Testing... testing... is this thing on?
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

Fusion wrote:Testing... testing... is this thing on?
Indeed it is. However, patience is a virtue and if an answer can be supplied, it usually is. We all lead very hectic lives. :)
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
Fusion
Muffin
Posts: 25
Joined: Sun Dec 05, 2004 1:52 am
Location: Seattle, WA
Contact:

Post by Fusion »

Hmm... sounds good. Let me know then if I can do anything else to help you track it down.
Post Reply