-
Notifications
You must be signed in to change notification settings - Fork 71
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
air list
causes "ERROR persistent: Net::PTTH crashed!"
#77
Comments
It should work without issues but I can see where it could be failing. |
Couldn't find a gem named
atv is indeed the network name of my AppleTV (FQDN is atv.domicile.local). |
@C-Duv I've seen this happen with other libraries before as a result of:
So check those two files just to be safe. Finally, you could try opening an require 'net/http'
Socket.getaddrinfo('www.youtube.com', 'http') If all is good you will get a bunch of arrays with ip addresses. This means your computer was probably possessed for that moment and couldn't resolve the name to its ip address. Let us know if some of this helped, thanks 🐱 |
Had no wildcards in Problem is not really solved but since my goal was to first try on the VM before installing it on the production server... I'm fine. I'm gonna compare installed package list of both Debian and try to find a explanation... |
Thank you for the feedback @C-Duv! ✊ . I'll add some of this information to the README |
First really quick analysis shows that:
It is true that I had stumbled upon |
Sorry but I couldn't narrow down the problem.
|
I had exactly this problem today. After adding some debugging prints, I have found that .local seems to be appended to the found device. So in your example the problem could possibly be resolved either by adding atv.local to /etc/hosts or even better by installing the nss-mdns4 module and changing the line "hosts: files dns" to "hosts: files mdns4_minimal dns" /etc/nsswitch.conf. |
To confirm @arda2012's comment, here is the content of my The lack of mdns* seems to be the cause. I've changed hosts line to |
Hi. |
The problem is that local (not global) domains could not be resolved. To enable is in Arch Linux nss-mdns package is required. In Debian there should be something similar (rdnssd, I assume). |
Same error on ubuntu 16.04. Local Domain is resolvable, and airplay service is found vy avahi:
What else can i try ? |
On a freshly installed Debian VM I can't get to list AirPlay devices as I get:
ERROR persistent: Net::PTTH crashed!
SocketError: getaddrinfo: Name or service not known
Is there something trivially forgotten when running airplay on a fresh Debian install?
Here is full output:
Versions used:
ruby v1.9.3p194
airplay gem v1.0.2, 0.2.9
airplay-cli gem v1.0.1
net-ptth gem v0.0.17
Debian v7.3
The text was updated successfully, but these errors were encountered: