core: HEOS integration unable to play local mp3 files - authentication error persists

The problem

I added HEOS integration for my HEOS speaker in order to play media files, preferably local files. I can sometimes play a TTS message via the speaker, but most times not. Local mp3 files do not play at all via the speaker (but do play if I use Web Browser as playback device).

In logs I can see my test attempt to play a local mp3 file (doorbell-1.mp3). Every attempt fails with an authentication error, eventually leading to ip ban. I had to disable IP banning temporarily now.

Even if I try to use TTS playback, the logs indicate that there is an authentication error for an attempt to play local mp3 file. See log entries below.

What version of Home Assistant Core has the issue?

core-2024.1.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

heos

Link to integration documentation on our website

https://www.home-assistant.io/integrations/heos

Diagnostics information

home-assistant_heos_2024-01-07T09-59-53.102Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Log details (WARNING)


Logger: homeassistant.components.http.ban
Source: components/http/ban.py:129 
Integration: HTTP (documentation, issues) 
First occurred: 11:04:05 (9 occurrences) 
Last logged: 11:59:45

Login attempt or request with invalid authentication from 192.168.74.1 (192.168.74.1). Requested URL: '/media/media/doorbell-1.mp3?authSig%3DeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIxM2Q5MDA0YjVhZmQ0ODRjOGU4MDJjYjQ2NGRmZjlkZSIsInBhdGgiOiIvbWVkaWEvbWVkaWEvZG9vcmJlbGwtMS5tcDMiLCJwYXJhbXMiOltdLCJpYXQiOjE3MDQ2MTU3MjksImV4cC'. (AvegaMediaServer/2.0 Linux/2.6)
Login attempt or request with invalid authentication from 192.168.74.1 (192.168.74.1). Requested URL: '/media/local/doorbell-1.mp3?authSig%3DeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIxM2Q5MDA0YjVhZmQ0ODRjOGU4MDJjYjQ2NGRmZjlkZSIsInBhdGgiOiIvbWVkaWEvbG9jYWwvZG9vcmJlbGwtMS5tcDMiLCJwYXJhbXMiOltdLCJpYXQiOjE3MDQ2MTkwMzksImV4cC'. (AvegaMediaServer/2.0 Linux/2.6)
Login attempt or request with invalid authentication from 192.168.74.1 (192.168.74.1). Requested URL: '/media/media/doorbell-1.mp3?authSig%3DeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIyOGVkNDQ0N2ZlZDM0NjEwOWZiZDVhNmQwOWIxNDEwNCIsInBhdGgiOiIvbWVkaWEvbWVkaWEvZG9vcmJlbGwtMS5tcDMiLCJwYXJhbXMiOltdLCJpYXQiOjE3MDQ2MTU0MjIsImV4cC'. (AvegaMediaServer/2.0 Linux/2.6)
Login attempt or request with invalid authentication from 192.168.74.1 (192.168.74.1). Requested URL: '/media/media/doorbell-1.mp3?authSig%3DeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIxM2Q5MDA0YjVhZmQ0ODRjOGU4MDJjYjQ2NGRmZjlkZSIsInBhdGgiOiIvbWVkaWEvbWVkaWEvZG9vcmJlbGwtMS5tcDMiLCJwYXJhbXMiOltdLCJpYXQiOjE3MDQ2MTU3MzIsImV4cC'. (AvegaMediaServer/2.0 Linux/2.6)

Additional information

Hi, forgot to mention that this issue: https://github.com/home-assistant/core/issues/100492 seems very much similar. I have restarted and rebooted HA, removed the file in question, removed and readded the speaker. Anything else that would help in troubleshooting?

A note: I run HA as a virtual machine on a proxmox server.

About this issue

  • Original URL
  • State: open
  • Created 6 months ago
  • Comments: 15 (2 by maintainers)

Most upvoted comments

Just got an answer from Denon.

Response By E-mail (Zuzana) (06/03/2024 17:00) Hi Nicolas,

Thank you for contacting Denon Customer Service. After careful review of your case I have contacted our specialists, and they confirmed that 255 is indeed current URL length limit and at the moment there are no plans to change that.

I am sorry of this inconvenience. If you have any other questions or need additional support, please feel free to reach out to us.

Kind regards, Zuzka