Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“Could not create circuit, no first hop available” #6169

Open
da2x opened this issue Jun 20, 2021 · 6 comments
Open

“Could not create circuit, no first hop available” #6169

da2x opened this issue Jun 20, 2021 · 6 comments

Comments

@da2x
Copy link
Contributor

da2x commented Jun 20, 2021

Tribler version/branch+revision:

7.10.0

Operating system and version:

macOS 11.3

Steps to reproduce the behavior:

Download some torrents.

Expected behavior:

Torrents should download.

Actual behavior:

Every torrent works fine for about two minutes, then only intermittent activity on each every ten minutes or so.

Relevant log file output:

These messages repeated a thousand times over the course of a day. Maybe related? I’m curios why Tribler so frequently fails to establish circuits. Seems like an essential component that shouldn’t fail this often?

01:03:35,739 - TriblerTunnelCommunity(181) - Want 7 data circuits of length 3
01:03:35,739 - TriblerTunnelCommunity(247) - Creating a new circuit of length 3 (type: DATA)
01:03:35,740 - TriblerTunnelCommunity(277) - Look for a first hop that is not an exit node and is not used before
01:03:35,740 - TriblerTunnelCommunity(286) - Could not create circuit, no first hop available
01:03:35,740 - TriblerTunnelCommunity(184) - circuit creation of 7 circuits failed, no need to continue

01:03:36,583 - TriblerTunnelCommunity(452) - Creating introduction point
01:03:36,584 - TriblerTunnelCommunity(247) - Creating a new circuit of length 4 (type: IP_SEEDER)
01:03:36,584 - TriblerTunnelCommunity(277) - Look for a first hop that is not an exit node and is not used before
01:03:36,584 - TriblerTunnelCommunity(286) - Could not create circuit, no first hop available

https://github.com/Tribler/py-ipv8/blob/72c304f34891a9e963c444f473ce4f2868cfd711/ipv8/messaging/anonymization/community.py#L286

@qstokkink
Copy link
Contributor

qstokkink commented Jun 21, 2021

You may not be able to connect to others.

Could you enable Settings/DEBUG/Developer mode/Enable developer mode and then go to the Debug/IPv8/Overlays tab and screenshot the results? It should look something like this:

Debug/IPv8/Overlays tab

@da2x
Copy link
Contributor Author

da2x commented Jun 21, 2021

You may not be able to connect to others.

How do I troubleshoot this problem further? It seems to be a very frequently reoccurring problem, given the number of info messages in my log.

screenshot the results

tribler-overlay-stats

@ichorid
Copy link
Contributor

ichorid commented Jun 21, 2021

@egbertbouman , while are you still with us, could you please comment on this?

@qstokkink
Copy link
Contributor

@da2x thanks for sharing. I don't see anything weird from your overall statistics. You are connected to others and seem to be interacting with them "normally". So basic networking is working, the problem lies somewhere else.

@egbertbouman
Copy link
Member

To debug this further, we need to know how many circuits there are (Debug/Tunnels/Circuits tab) and to which peers we are connected (Debug/Tunnels/Peers tab).

Copy link

This issue has not seen activity for 60 days. It is now marked as stale. Please provide additional information or this issue may be closed in the future. We value your contribution and would love to hear more!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants