Opened 6 months ago

Closed 4 months ago

#28498 closed defect (user disappeared)

Unable to refresh connection circuit

Reported by: cyberpunks Owned by: atagar
Priority: High Milestone:
Component: Core Tor/Nyx Version:
Severity: Normal Keywords: Connection
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Under slow internet connection it takes sometime to establish all the circuit. When nyx gets started and connection tab is accessed, it show intial circuits created upto that time and show remaining as building. After sometime, when those connections are built, nyx does not refresh those new connections. I have to manually close nyx and reopen it. It would be better to have option in nyx to refresh connections.

Thanks

Child Tickets

Change History (6)

comment:1 Changed 6 months ago by cyberpunks

Keywords: Connection added
Summary: Option to refresh connection circuitUnable to refresh connection circuit

comment:2 Changed 6 months ago by atagar

Status: newneeds_information

Hi cyberpunks, sorry about the long delay! Been busy dealing with Stem additions. Please run 'nyx --debug' and attach the debug output when you encounter this issue (minus any data you feel is sensitive). This should help me see why the display isn't being refreshed in a timely fashion for you.

comment:3 Changed 6 months ago by cyberpunks

I dont think you need debug output for this. I am using latest nyx and tor. I think the issue primarily happens because nyx syncs up circuits/connection information and displays them the first time you visit the connections tab and It shows the same information everytime. Unlike other data which gets synced up everytime and refreshed with tor, this information is only synced up once.
This can be fixed either by making nyx sync up the connection information everytime the user enter connection tab and/or providing functionality to refresh circuit/connection information with in the connection tab.

comment:4 Changed 6 months ago by cyberpunks

Status: needs_informationnew

comment:5 Changed 6 months ago by atagar

Status: newneeds_information

Hi cyberpunks, your hypothesis seems to be that the connection panel fetches information synchronously. It doesn't - otherwise the interface would freeze when navigating to that page.

The connection information is retrieved via the background ConnectionTracker class.

https://gitweb.torproject.org/nyx.git/tree/nyx/tracker.py#n490

If you would prefer to troubleshoot this on your own you're more than welcome to. I'd be delighted to take a patch. But for me the next step is looking through the debug output.

comment:6 Changed 4 months ago by atagar

Resolution: user disappeared
Status: needs_informationclosed
Note: See TracTickets for help on using tickets.