-
-
Notifications
You must be signed in to change notification settings - Fork 994
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
listen_interfaces and tracker_errors. #7704
Comments
After some testing I realised libtorrent is not able to see my interfaces. The bellow code produces the following output: libtorrent::io_service ioContext;
libtorrent::error_code errorCode;
auto ifaces = libtorrent::enum_net_interfaces(ioContext, errorCode);
for (auto &iface : ifaces)
std::cout << iface.name << " : " << iface.interface_address << std::endl; output:
wlan0 is not listed here... Not sure if this is intended? |
could you try building and running the
It prints something like this:
|
This is the result I have on 2.0.10 and 1.2.19:
|
libtorrent version (or branch):
1.2.19
platform/architecture:
Linux arm64
Hi @arvidn,
I have one question that is puzzling me a bit. I have been using libtorrent for years and never had to configure listen_interfaces for it to work - the default value has been working so far.
Recently I started doing some tests with libtorrent on a RPi 5 and it simply doesn't work with the default values. I see a lot of 'tracker_errors' with "Host not found (non-authoritative)" although I have 'listen_succeeded' alert. At first glance I thought it would be a DNS problem, but it is not. If I set my local IP address (192.168.1.x) in listen_interfaces it starts working; If i set the device name (wlan0) it doesn't work (in this case I don't even receive a 'listen_succeeded/failed' alert). What could be the reason for this? Might it be related with my local network configuration?
Thanks in advance!
The text was updated successfully, but these errors were encountered: