[pulseaudio-tickets] [Bug 40785] New: Error connecting to PulseAudio server via IPv6

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 11 07:18:43 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=40785

           Summary: Error connecting to PulseAudio server via IPv6
           Product: PulseAudio
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: daemon
        AssignedTo: pulseaudio-bugs at lists.freedesktop.org
        ReportedBy: rvanderbijl+freedesktop at gmail.com
         QAContact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net


Using the zeroconf modules, my laptop had problems connecting to my server.

Running PA in verbose mode, I saw the following errors:

socket-client.c: connect(): Invalid argument (22)
module-tunnel.c: Failed to connect to server '[fe80::21f:e2ff:fe5c:1e2]:4713'
module.c: Failed to load  module "module-tunnel-sink" (argument:
"server=[fe80::21f:e2ff:fe5c:1e2]:4713
sink=alsa_output.pci-0000_00_1b.0.analog-stereo format=s16le channels=2
rate=44100
sink_name=tunnel.hermes.local.alsa_output.pci-0000_00_1b.0.analog-stereo
channel_map=front-left,front-right"): initialization failed.

Using paplay gives a different error:

PULSE_SERVER="[fe80::21f:e2ff:fe5c:1e2]:4713" paplay
/usr/lib/python2.6/dist-packages/pygame/examples/data/house_lo.ogg
Connection failure: Connection refused
pa_context_connect() failed: Connection refused


Connections via IPv4 worked fine.

I suspect that it because its a IPv6 link address, and not an IPv6 address
assigned, for example, via DHCP. 

My work-around (thanks coling of #pulseaudio), was to disable ipv6 in avahi for
both my server and my laptop. 

I suspect that PulseAudio (and maybe avahi) should not be publishing IPv6
addresses begining with 'f', which are reserved addresses.

Caveat: my knowledged and understanding of IPv6 is very limited, so my
conjunctions very well maybe wrong. It very well may be that my router doesn't
correctly support IPv6.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the pulseaudio-bugs mailing list