maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] The One Ring (https://talk.maemo.org/showthread.php?t=41817)

lemmyslender 2010-05-08 13:05

Re: [Announce] The One Ring
 
Not sure if these are entirely TOR/GV related, but maybe they'll help.

1) New router at work. Sometimes N900 appears to connect fine, but doesn't really get connected. It's not visible on the network and can't browse (N900 problem not TOR). TOR tries to connect continuously, but can't. I think this was causing battery drain. Is there a timeout after x number of failed attempts or a way to let the user know there is a problem?

2) At least 2x last week, I was unable to send GV sms through TOR. From conversations, I'd type a new message in an existing conversation. It wouldn' show up in the convo or GV. This was on 3G connection (I don't use work wifi because of issues above). Dis-connect / re-connect 3G connection fixes. Again, perhaps a N900 issues, not TOR. Although I do have the green dot indicating TOR is connected.

I also have seemingly random periods were TOR won't get new messages.

No logs at the moment. But I'll try to get some.

dantonic 2010-05-08 19:17

Re: [Announce] The One Ring
 
I've had a couple of messages that got lost in the past two weeks. They were sent to me, but they were never received in TOR.. They are there in my google voice account however.

Not a huge deal... I text a lot so this is probably a <1% occurrence.

epage 2010-05-08 19:49

Re: [Announce] The One Ring
 
Quote:

Originally Posted by lemmyslender (Post 649283)
1) New router at work. Sometimes N900 appears to connect fine, but doesn't really get connected. It's not visible on the network and can't browse (N900 problem not TOR). TOR tries to connect continuously, but can't. I think this was causing battery drain. Is there a timeout after x number of failed attempts or a way to let the user know there is a problem?

On login, I believe TOR will only try twice before giving up. If its made it through login it will act normal, whether the connection works or not (note, that is a possible enhancement to file for TOR to give up). I don't remember if the state machine that geometrically increases the back off time works with connection errors or if it never backs off doing a continuous poll of 20 seconds or so.

Quote:

Originally Posted by lemmyslender (Post 649283)
2) At least 2x last week, I was unable to send GV sms through TOR. From conversations, I'd type a new message in an existing conversation. It wouldn' show up in the convo or GV. This was on 3G connection (I don't use work wifi because of issues above). Dis-connect / re-connect 3G connection fixes. Again, perhaps a N900 issues, not TOR. Although I do have the green dot indicating TOR is connected.

I'd be curious to see a log for that so I can try and determine why the message wasn't sent.

silvermountain 2010-05-14 15:25

Re: [Announce] The One Ring
 
Haven't been following the thread for the past few weeks+ and recently re-installed TOR and RTComm and am noticing something:

When I reboot, or change wifi connection, all my google talk connections connect fine but the google voice (tor) entry in rtcomm always fails and gives a network error.

If I go into chat, disable the google voice entry and re-enable it - it connects fine.

I'm using 0.8.12-0, Diablo.

epage 2010-05-14 16:41

Re: [Announce] The One Ring
 
Quote:

Originally Posted by silvermountain (Post 658473)
Haven't been following the thread for the past few weeks+ and recently re-installed TOR and RTComm and am noticing something:

When I reboot, or change wifi connection, all my google talk connections connect fine but the google voice (tor) entry in rtcomm always fails and gives a network error.

If I go into chat, disable the google voice entry and re-enable it - it connects fine.

I'm using 0.8.12-0, Diablo.

I believe this has been reported before and if not for Diablo at least for Fremantle.

I think the issue is that the network is being a bit unrespnsive hitting a timeout in TOR. The problem is what timeout is appropriate.

silvermountain 2010-05-14 16:57

Re: [Announce] The One Ring
 
Quote:

Originally Posted by epage (Post 658583)
I believe this has been reported before and if not for Diablo at least for Fremantle.

I think the issue is that the network is being a bit unrespnsive hitting a timeout in TOR. The problem is what timeout is appropriate.

Is there a config file where I can play around with different time-outs to see if that would help?

epage 2010-05-14 17:06

Re: [Announce] The One Ring
 
Quote:

Originally Posted by silvermountain (Post 658612)
Is there a config file where I can play around with different time-outs to see if that would help?

Its kept in the source. For any option I try not to use ini's but use the Telepathy infrastructure for settings. Sadly that means if I add timeout to the advanced options, Diablo users won't be able to access it because the UI I use for Diablo doesn't do advanced options.

In the following source file
Code:

/usr/lib/theonering/gvoice/browser_emu.py
The timeout is set near the top of the file. Look for the following line
Code:

socket.setdefaulttimeout(30)
Modifying the source requires being root I think

Descalzo 2010-05-14 17:09

Re: [Announce] The One Ring
 
I have it too on Fremantle. But it mostly happens at work, so I figured it was just me.

I find that I don't need to disable then reenable. I open the connection settings then click as if to edit my password. I of course don't edit the password, just click save then it works.

This works for me almost every time on the first try. If not then then always on the second try. Again, I'm on N900 so I guess it might be different.

epage 2010-05-14 17:11

Re: [Announce] The One Ring
 
Quote:

Originally Posted by Descalzo (Post 658634)
I have it too on Fremantle. But it mostly happens at work, so I figured it was just me.

I find that I don't need to disable then reenable. I open the connection settings then click as if to edit my password. I of course don't edit the password, just click save then it works.

This works for me almost every time on the first try. If not then then always on the second try. Again, I'm on N900 so I guess it might be different.

That is correct. You just need to force the system to reconnect The One Ring without forcing the other accounts to reconnect.

silvermountain 2010-05-14 17:51

Re: [Announce] The One Ring
 
Interesting I changed it to:

Code:

socket.setdefaulttimeout(45)
And I am not getting the Network error for google voice anymore.
I tried disconnecting the wifi and re-enabling it: No error.
I rebooted and reconnected: No error.

Not sure if it's random or if this fixed it but I'll keep it at 45 for now to see if that prevents the error from showing up (it happened every time before this).


All times are GMT. The time now is 23:38.

vBulletin® Version 3.8.8