home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.65k stars 30.41k forks source link

Asterisk Mailbox Audio doesn't work if accessing HASS via reverse proxy #14538

Closed yajrendrag closed 6 years ago

yajrendrag commented 6 years ago

Home Assistant release with the issue:

0.69.1

Last working Home Assistant release (if known): N/A - i am just installing this component for the first time in 0.69.1

Operating environment (Hass.io/Docker/Windows/etc.):

venv on ubuntu 16.04

Component/platform:

https://www.home-assistant.io/components/asterisk_mbox/

Description of problem: Voice Mails display correctly in the mailbox tab. Speech transcription also shows up. However, when clicking the voice mail it doesn't play audio - it brings up an audio playback control (specific controls seem browser dependent) and just kind of hangs there in the browser with the window dimmed until escaping out of it.

Note however, that I access HASS normally by entering my FQDN which (via dynamic DNS) points to port 443 on machine running HASS. That machine also runs a reverse proxy with nginx and port 80 redirects to 443. If instead, i access HASS through the local IP:8123 - it works fine, ie, audio plays.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

asterisk_mbox:
  password: !secret astmbox-pw
  host: !secret astmbox-host
  port: !secret astmbox-port

Traceback (if applicable):

WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 127.0.0.1

Additional information: tagging @PhracturedBlue

balloobbot commented 6 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:

yajrendrag commented 6 years ago

I am running latest version of HA - it doesn't solve the problem. The component just isn't working reliably enough for me - i will close the issue