Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 319
    • Issues 319
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 37
    • Merge requests 37
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #160
Closed
Open
Created Jun 15, 2005 by Trac@tracbot

"GETINFO network-status" seems to fail

When I send a GETINFO control message with the parameter "network-status", the server seems to close the control connection. The timing appears to be inconsistent, sometimes the reply message can be read fully, after which the socket is closed, sometimes only 8636 bytes can be read. (The number may be coincidental, but was constant in my tests.) Found in 0.1.0.9-rc on win32.

agl ran the demo python script on 0.1.1.0-alpha-cvs and received the following output:

... [12:41] {'version': '0.1.1.0-alpha-cvs'} [12:41] Traceback (most recent call last): [12:41] File "TorControl.py", line 457, in ? [12:41] do_main_loop(sh,sp) [12:41] File "TorControl.py", line 425, in do_main_loop [12:41] print get_info(s,"network-status") [12:41] File "TorControl.py", line 305, in get_info [12:41] tp,body = receive_reply(s,[MSG_TYPE.INFOVALUE]) [12:41] File "TorControl.py", line 247, in receive_reply [12:41] raise ErrorReply((errCode, [12:41] main.ErrorReply: (1, 'Internal error', 'network-status')

[Automatically added by flyspray2trac: Operating System: All]

Trac:
Username: rm

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking