AlexaPi icon indicating copy to clipboard operation
AlexaPi copied to clipboard

Problem with Pulseaudio :connection failure :Access denied

Open ALHAJ2 opened this issue 4 years ago • 1 comments

Thank you for reporting an issue with AlexaPi.

Make sure you are running the latest version of AlexaPi, and look through issues before submitting.

Check out our Wiki, and make sure to look at Debugging, and Audio debugging in particular before filing an issue.

In order to help troubleshooting, be sure to include the following information:

Output of the audio debugging script.

Your OS (including version) where you are running AlexaPi: Note: Raspbian older than Stretch is not supported!

Raspbian GNU/Linux 9 (stretch)

Your hardware platform and model you are running on:

Raspberry Pi 3

Python release (python3 --version):

Python 3.5.3

Description of problem:

Alexa say hello when I start my RPi, but when I go check the status or debbuging it, I have PulseAudio errors

Expected:


Additional info:

AlexaPi.service - Alexa client for all your devices
   Loaded: loaded (/usr/lib/systemd/system/AlexaPi.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2021-02-08 14:17:58 CET; 6min ago
     Docs: https://github.com/alexa-pi/AlexaPi/wiki
 Main PID: 1625 (python3)
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/AlexaPi.service
           `-1625 /usr/bin/python3 /opt/AlexaPi/src/main.py --daemon

fév 08 14:18:02 GoPiGo3 python3[1625]: attempt to connect to server failed
fév 08 14:18:03 GoPiGo3 python3[1625]: [02044d50] vlcpulse audio output error: PulseAudio server connection failure: Access denied
fév 08 14:18:03 GoPiGo3 python3[1625]: [0206a020] vlcpulse audio output error: PulseAudio server connection failure: Access denied
fév 08 14:18:03 GoPiGo3 python3[1625]: /opt/AlexaPi/src/main.py:71: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Load
fév 08 14:18:03 GoPiGo3 python3[1625]:   config = yaml.load(stream)
fév 08 14:18:03 GoPiGo3 python3[1625]: INFO: Checking Internet Connection ...
fév 08 14:18:04 GoPiGo3 python3[1625]: INFO: Connection OK
fév 08 14:18:04 GoPiGo3 python3[1625]: INFO: AVS token: Requesting a new one
fév 08 14:18:04 GoPiGo3 python3[1625]: INFO: AVS token: Obtained successfully
fév 08 14:18:05 GoPiGo3 python3[1625]: [736027a8] vlcpulse audio output error: PulseAudio server connection failure: Access denied

ALHAJ2 avatar Feb 08 '21 13:02 ALHAJ2

At the top of the issues page:

NO ACTIVE DEVELOPMENT, READ BEFORE CREATING AN ISSUE #512 opened on Dec 19, 2020 by renekliment

youngd24 avatar Feb 13 '21 06:02 youngd24