Opened 11 years ago

Closed 10 years ago

Last modified 8 years ago

#1222 closed defect (fixed)

Tor falsely believing to be offline

Reported by: noino667 Owned by:
Priority: Low Milestone: Tor: 0.2.2.x-final
Component: Core Tor/Tor Version:
Severity: Keywords: easy
Cc: noino667, nickm, arma, Sebastian Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by nickm)

Actually, don't know if it's a bug in the server or client, or both. Running Tor server on Win 2k,
low bandwidth & severely port limited but still technically an exit; not using the client much, I still
will let the server run unattended for days at times. The problem is, after Tor and computer have
run unattended for say a dozen hours, when I come back and make a client request myself thru Tor,
I will get this notice : "Application request when we're believed to be offline."
After which Tor (successfully)fetches directory information again.

I told of this problem on the IRC chat in the past, but apparently it hasn't made its way to the bug repository :(

Questions : - why did Tor believe it was "offline" ? Or is the warning bogus ? Was the /server/ still relaying and exiting
in the meantime ? I wonder why I would leave the puter running if Tor *really* falls asleep :=)

  • Workaround, any ? Maybe send some sort of (TCP-)ping thru Tor at regular intervals ?

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Attachments (1)

0001-Bug-1222-Clarify-new-circuit-after-sleep-notice.patch (2.0 KB) - added by cjb 10 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 11 years ago by arma

Tor considered itself offline because nobody had made any client requests
lately. After an hour or so, Tor stops making client-side circuits
preemptively, figuring you're probably not going to ask for them anyway.

The relay side continues to work just fine the whole time.

I wonder if there's a better way to phrase the log message.

"Application request when we haven't used client functionality lately. Optimistically..."?

comment:2 Changed 11 years ago by noino667

The relay side continues to work just fine the whole time

Oh, fine indeed ! Feeling relieved, and sorry for submitting a not-a-bug.
(I wasn't /sure/ it was one)
Yes the /message/ felt & needs some soothing; I won't try to suggest better
phrasing as I'm not fluent in English.

Keep keeping on !

comment:3 Changed 11 years ago by noino667

Typo above, I meant to write - the message did feel ominous -

Can't this report system be amended to allow editing of one's messages,
at least for a short time after posting ?

comment:4 Changed 10 years ago by nickm

Keywords: easy added
Milestone: Tor: 0.2.2.x-final

Let's revise the message for 0.2.2.x, and then close this bug.

comment:5 Changed 10 years ago by nickm

Description: modified (diff)
Resolution: Nonefixed
Status: newclosed

Applied and closing. Thanks!

comment:6 Changed 8 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.