#180: qutecom may never connect is started without network connection ----------------------------+----------------------------------------------- Reporter: cavedon | Owner: vadim Type: defect | Status: new Priority: major | Milestone: QuteCom 2.2-RC2 Component: 3rd party libs | Version: 2.2-RC3 Keywords: | ----------------------------+----------------------------------------------- How to reproduce: 1. make sure the computer is disconneted from the Internet 1. start qutecom 1. wait for the "connection failed" message 1. connect the computer to the Internet 1. click on qutecom's "connect"
Expected result: * qutecom connects to the voip server Actual result: * qutecom keep complaining about connection failed: Note: -it affect at least Linux Debian/sid -it does not happen always; if you want it to happen all the times, delay the start of the GUI (see delay-gui.patch) Relevant log: {{{ (debug) 01:01:13 [Common] void UserProfileHandler::setCurrentUserProfile(const std::string&, const SipAccount&): No current UserProfile set. Change now (debug) 01:01:13 [ContactList] void IMContactListHandler::imAccountAddedEventHandler(IMAccountManager&, std::string): cannot create an IMContactList (debug) 01:01:13 [Common] void ChatHandler::imAccountAddedEventHandler(IMAccountManager&, std::string): new account added: login: cavedon protocol: SIP (debug) 01:01:13 [Common] virtual bool SipAccount::discoverForSIP(): discovering network parameters for SIP connection (debug) 01:01:13 [Common] unsigned int NetworkDiscovery::getFreeLocalPort(): UDP port configured, will use port number : 5060 (debug) 01:01:13 [Common] virtual bool SipAccount::discoverForSIP(): SIP will use 5060 as local SIP port (debug) 01:01:13 [Common] virtual bool SipAccount::discoverForSIP(): testSIP test number: 1 (debug) 01:01:13 [Common] bool NetworkDiscovery::testSIP(const std::string&, const std::string&, short unsigned int, short unsigned int): pinging SIP server voip.wengo.fr on port 5060 from port 5060 (debug) 01:01:13 [Common] virtual bool SipAccount::discoverForSIP(): testSIP test number: 2 (debug) 01:01:13 [Common] bool NetworkDiscovery::testSIP(const std::string&, const std::string&, short unsigned int, short unsigned int): pinging SIP server voip.wengo.fr on port 5060 from port 5060 (debug) 01:01:13 [Common] virtual bool SipAccount::discoverForSIP(): testSIP test number: 3 (debug) 01:01:13 [Common] bool NetworkDiscovery::testSIP(const std::string&, const std::string&, short unsigned int, short unsigned int): pinging SIP server voip.wengo.fr on port 5060 from port 5060 (debug) 01:01:13 [Common] virtual bool SipAccount::discoverForSIP(): testSIP test number: 4 (debug) 01:01:13 [Common] bool NetworkDiscovery::testSIP(const std::string&, const std::string&, short unsigned int, short unsigned int): pinging SIP server voip.wengo.fr on port 5060 from port 5060 (error) 01:01:13 [Common] virtual bool SipAccount::discoverForSIP(): cannot connect via UDP (error) 01:01:13 [Common] virtual EnumSipLoginState::SipLoginState SipAccount::discoverNetwork(): error while discovering network for SIP (debug) 01:01:18 [Common] virtual bool SipAccount::discoverForSIP(): discovering network parameters for SIP connection (debug) 01:01:18 [Common] unsigned int NetworkDiscovery::getFreeLocalPort(): UDP port configured, will use port number : 5060 (debug) 01:01:18 [Common] virtual bool SipAccount::discoverForSIP(): SIP will use 5060 as local SIP port (debug) 01:01:18 [Common] virtual bool SipAccount::discoverForSIP(): testSIP test number: 1 (debug) 01:01:18 [Common] bool NetworkDiscovery::testSIP(const std::string&, const std::string&, short unsigned int, short unsigned int): pinging SIP server voip.wengo.fr on port 5060 from port 5060 (debug) 01:01:18 [Common] virtual bool SipAccount::discoverForSIP(): testSIP test number: 2 (debug) 01:01:18 [Common] bool NetworkDiscovery::testSIP(const std::string&, const std::string&, short unsigned int, short unsigned int): pinging SIP server voip.wengo.fr on port 5060 from port 5060 (debug) 01:01:18 [Common] virtual bool SipAccount::discoverForSIP(): testSIP test number: 3 (debug) 01:01:18 [Common] bool NetworkDiscovery::testSIP(const std::string&, const std::string&, short unsigned int, short unsigned int): pinging SIP server voip.wengo.fr on port 5060 from port 5060 (debug) 01:01:18 [Common] virtual bool SipAccount::discoverForSIP(): testSIP test number: 4 (debug) 01:01:18 [Common] bool NetworkDiscovery::testSIP(const std::string&, const std::string&, short unsigned int, short unsigned int): pinging SIP server voip.wengo.fr on port 5060 from port 5060 (error) 01:01:18 [Common] virtual bool SipAccount::discoverForSIP(): cannot connect via UDP (error) 01:01:18 [Common] virtual EnumSipLoginState::SipLoginState SipAccount::discoverNetwork(): error while discovering network for SIP (debug) 01:01:23 [Common] virtual bool SipAccount::discoverForSIP(): discovering network parameters for SIP connection (debug) 01:01:23 [Common] unsigned int NetworkDiscovery::getFreeLocalPort(): UDP port configured, will use port number : 5060 (debug) 01:01:23 [Common] virtual bool SipAccount::discoverForSIP(): SIP will use 5060 as local SIP port (debug) 01:01:23 [Common] virtual bool SipAccount::discoverForSIP(): testSIP test number: 1 (debug) 01:01:23 [Common] bool NetworkDiscovery::testSIP(const std::string&, const std::string&, short unsigned int, short unsigned int): pinging SIP server voip.wengo.fr on port 5060 from port 5060 (debug) 01:01:23 [Common] virtual bool SipAccount::discoverForSIP(): testSIP test number: 2 (debug) 01:01:23 [Common] bool NetworkDiscovery::testSIP(const std::string&, const std::string&, short unsigned int, short unsigned int): pinging SIP server voip.wengo.fr on port 5060 from port 5060 (debug) 01:01:23 [Common] virtual bool SipAccount::discoverForSIP(): testSIP test number: 3 (debug) 01:01:23 [Common] bool NetworkDiscovery::testSIP(const std::string&, const std::string&, short unsigned int, short unsigned int): pinging SIP server voip.wengo.fr on port 5060 from port 5060 (debug) 01:01:23 [Common] virtual bool SipAccount::discoverForSIP(): testSIP test number: 4 (debug) 01:01:23 [Common] bool NetworkDiscovery::testSIP(const std::string&, const std::string&, short unsigned int, short unsigned int): pinging SIP server voip.wengo.fr on port 5060 from port 5060 (error) 01:01:23 [Common] virtual bool SipAccount::discoverForSIP(): cannot connect via UDP (error) 01:01:23 [Common] virtual EnumSipLoginState::SipLoginState SipAccount::discoverNetwork(): error while discovering network for SIP (debug) 01:01:28 [Common] void UserProfile::loginStateChangedEventHandlerThreadSafe(SipAccount&, EnumSipLoginState::SipLoginState): SIP_ cave...@voip.wengo.fr (debug) 01:01:28 [Common] void UserProfile::loginStateChangedEventHandlerThreadSafe(SipAccount&, EnumSipLoginState::SipLoginState): SIP_ NetworkError (error) 01:01:28 [Common] void UserProfileHandler::sipAccountConnectionFailedEventHandlerThreadSafe(EnumSipLoginState::SipLoginState): error: 5 }}} Additional information in the Debian bug report http://bugs.debian.org/544193 -- Ticket URL: <http://trac.qutecom.org/ticket/180> QuteCom <http://trac.qutecom.org> _______________________________________________ QuteCom-dev mailing list QuteCom-dev@lists.qutecom.org http://lists.qutecom.org/mailman/listinfo/qutecom-dev