gcorgnet / sensor.emby_upcoming_media

Home Assistant component to feed Upcoming Media Card with the latest releases on an Emby instance.
MIT License
20 stars 17 forks source link

Error fetching Emby data via external URL #14

Open jankete opened 3 years ago

jankete commented 3 years ago

Version of the custom_component

0.3.4

Configuration

sensor:
  - platform: emby_upcoming_media
    api_key: !secret emby_api_key
    user_id: !secret emby_user_id
    host: external.url # without 'https://'
    port: 443 # https://external.url:443 workes fine in browser
    ssl: true
    max: 5
    use_backdrop: true

Describe the bug

When I use my external URL, the sensor doesn't work. When I use my internal IP instead, it workes.

Debug log

2020-11-25 09:52:45 ERROR (MainThread) [pyemby.server] Error fetching Emby data: 400
2020-11-25 09:52:45 ERROR (MainThread) [pyemby.server] Unable to register emby client.