Jump to content

Deutscher Alexa Skill meldet „Keine Berechtigung“, obwohl Kontoverknüpfung erfolgreich ist


Go to solution Solved by hatharry,

Recommended Posts

Obelinchen
Posted

Hallo zusammen,

ich habe ein Problem mit dem deutschen Emby-Alexa-Skill.

Wenn ich den Skill mit „Alexa, öffne Emby“ starte, werde ich ganz normal begrüßt. Sobald ich anschließend Musik von meinem Emby-Server abspielen möchte, antwortet Alexa jedoch:

„Keine Berechtigung. Bitte den Alexa-Skill neu verknüpfen.“

Folgendes habe ich bereits geprüft beziehungsweise durchgeführt:

  • Emby-Skill mehrfach deaktiviert und neu verknüpft
  • Emby-Connect-Verknüpfung des Benutzers entfernt und neu eingerichtet
  • Bestätigungsmail „Confirm Emby Account Link“ bestätigt
  • alte Sitzungen und Geräte entfernt
  • Emby-Server neu gestartet
  • Benutzer darf Remote-Verbindungen und Medienwiedergabe nutzen
  • Emby Premiere ist aktiv
  • externer Zugriff über HTTPS funktioniert
  • Musikwiedergabe über HTTPS funktioniert auch außerhalb meines WLANs
  • Zertifikat, Domain und Port sind korrekt eingerichtet

Im aktuellen Serverprotokoll sieht man beim Alexa-Versuch Folgendes:

  • erfolgreicher Aufruf von Connect/Exchange
  • für den Benutzer wird ein neues Zugriffstoken erstellt
  • Antwort des Servers ist HTTP 200
  • danach wird /Sessions abgefragt
  • auch diese Abfragen werden mit HTTP 200 beziehungsweise 204 beantwortet

Danach erfolgt jedoch kein Abruf der Musikbibliothek und kein Wiedergabeversuch. Im Serverlog erscheint auch kein 401- oder 403-Fehler, obwohl Alexa weiterhin die Meldung „Keine Berechtigung“ ausgibt.

Emby Server Version: 4.9.5.0
Betriebssystem: Windows 11
Alexa-Skill: deutscher Emby-Skill

Hat jemand eine Idee, warum der Skill trotz erfolgreicher Anmeldung und Token-Erstellung keine Berechtigung für die Musikwiedergabe erkennt?

Vielen Dank!

 

English version

Hello everyone,

I am having a problem with the German Emby Alexa skill.

When I start the skill by saying “Alexa, open Emby,” I am greeted normally. However, as soon as I ask Alexa to play music from my Emby server, Alexa replies:

“No permission. Please relink the Alexa skill.”

I have already checked or tried the following:

  • Disabled and relinked the Emby skill several times
  • Removed and re-created the Emby Connect link for the user
  • Confirmed the “Confirm Emby Account Link” email
  • Removed old sessions and devices
  • Restarted the Emby server
  • Verified that the user is allowed to use remote connections and media playback
  • Verified that Emby Premiere is active
  • Verified that external access via HTTPS works
  • Verified that music playback via HTTPS also works outside my home Wi-Fi
  • Verified that certificate, domain, and port settings are correct

In the current server log, the following appears during the Alexa attempt:

  • Successful Connect/Exchange request
  • A new access token is created for the user
  • The server responds with HTTP 200
  • /Sessions is queried afterwards
  • These requests also return HTTP 200 or 204

After that, however, there is no request for the music library and no playback attempt. There is also no 401 or 403 error in the server log, although Alexa still says that there is no permission.

Emby Server version: 4.9.5.0
Operating system: Windows 11
Alexa skill: German Emby skill

Does anyone have an idea why the skill does not recognize permission for music playback even though login and token creation are successful?

Thank you!

Obelinchen
Posted

Update am nächsten Tag:

Leider hat sich das Problem inzwischen noch verschlechtert.

Gestern konnte ich den Emby-Skill zumindest noch normal starten. Alexa begrüßte mich, und erst beim Versuch, Musik abzuspielen, kam die Meldung:

„Keine Berechtigung. Bitte den Alexa-Skill neu verknüpfen.“

Heute funktioniert nicht einmal mehr der Start des Skills. Alexa antwortet nur noch:

„Ich habe momentan Schwierigkeiten, auf deinen Emby-Skill zuzugreifen.“

Zwischen gestern Nacht und heute wurde nichts verändert:

  • keine Änderung an der Emby-Konfiguration
  • keine Änderung an Zertifikat, Domain oder Ports
  • keine Änderung am Benutzerkonto
  • keine erneute Verknüpfung
  • kein Update und keine sonstige Anpassung am Server

Der externe HTTPS-Zugriff auf Emby funktioniert weiterhin normal, ebenso die Musikwiedergabe über Browser beziehungsweise App außerhalb meines Heimnetzes.

Das Verhalten des Alexa-Skills ist damit inzwischen nicht nur fehlerhaft, sondern auch wechselhaft: Gestern war der Skill noch erreichbar und scheiterte erst bei der Berechtigung, heute ist der Skill selbst nicht mehr erreichbar, obwohl die gesamte Konfiguration über Nacht unverändert geblieben ist.

Hat jemand aktuell ein ähnliches Problem mit dem deutschen Emby-Alexa-Skill?

 

Update the next day:

Unfortunately, the problem has become even worse.

Yesterday, I was at least still able to start the Emby skill normally. Alexa greeted me, and only when I tried to play music did I receive the message:

“No permission. Please relink the Alexa skill.”

Today, even starting the skill no longer works. Alexa now only says:

“I’m having trouble accessing your Emby skill right now.”

Nothing was changed between last night and today:

no changes to the Emby configuration

no changes to the certificate, domain, or ports

no changes to the user account

no new account linking

no update or other modification to the server

External HTTPS access to Emby still works normally, and music playback through the browser or app also works outside my home network.

The Alexa skill is therefore not only failing, but also behaving inconsistently: yesterday the skill was still reachable and failed only at the permission stage, while today the skill itself is no longer reachable, even though the entire setup remained unchanged overnight.

Is anyone else currently experiencing a similar problem with the German Emby Alexa skill?

 
 
 
 
hatharry
Posted

The logs say:

 FetchError: request failed, reason: certificate has expired

 

Obelinchen
Posted

Danke. Handelt es sich dabei um Logs aus dem Backend des Alexa-Skills? Ich vermute, dass der Fehler aus den Cloud-Logs des Skills stammt. Mein Emby-Server ist extern per HTTPS erreichbar, und Browser zeigen das Zertifikat als gültig an. Könnte der Skill noch eine alte Serveradresse oder ein zwischengespeichertes Zertifikat verwenden?
 

Thank you. Are these logs from the Alexa skill backend? I assume the error is coming from the skill’s cloud logs. My Emby server is reachable externally via HTTPS and browsers show the certificate as valid. Could the skill still be using an old server address or cached certificate?

Obelinchen
Posted

Das Problem mit der Nichterreichbarkeit des Skills hat sich erledigt. Es lag daran, dass mein PC vorübergehend nicht mit der Internetverbindung verbunden war, über die der Emby-Server erreichbar ist.

Der Server ist jetzt wieder normal erreichbar. Der ursprüngliche Fehler besteht aber weiterhin:

„Keine Berechtigung. Bitte den Alexa-Skill neu verknüpfen.“

Das Zertifikatsproblem erklärt daher offenbar nur die zwischenzeitliche Nichterreichbarkeit, nicht den weiterhin bestehenden Berechtigungsfehler.

English

The issue with the skill being unreachable has been resolved. My PC was temporarily not connected to the internet connection used by the Emby server.

The server is now reachable again. However, the original issue still remains:

“No permission. Please relink the Alexa skill.”

So the certificate error appears to explain only the temporary connectivity problem, not the ongoing permission error.

  • Solution
hatharry
Posted
{"cacheExpirationDays":7,"resultCode":"NOTREG","message":"Device Not Registered","isPremiere":"false"}

There seems to be an issue with your Emby Premiere. Please try again and confirm if you receive a validation error message

  • Like 1
Obelinchen
Posted

Vielen Dank für den Hinweis. Ich habe es inzwischen noch einmal geprüft und festgestellt, dass mein jährliches Emby-Premiere-Abo am 19.07.2026 abgelaufen ist und sich nicht automatisch verlängert.

Damit erklärt sich auch die Meldung des Alexa-Skills. Der Server wurde nicht mehr als Premiere-Server erkannt, weshalb Alexa nur noch „Keine Berechtigung“ gemeldet hat.

Ich war davon ausgegangen, dass sich ein Jahresabo automatisch verlängert. Eine Erinnerungsmail kurz vor Ablauf wäre an dieser Stelle sehr hilfreich gewesen, zumal die Fehlermeldung in Alexa nicht erkennen lässt, dass Emby Premiere abgelaufen ist.

Ich habe mir inzwischen das Lifetime-Abo gegönnt, damit ich nicht noch einmal in dieselbe Situation gerate.

Vielen Dank für die schnelle Hilfe und das Nachsehen in den Logs.

 

English

Thank you for the information. I checked it again and found that my annual Emby Premiere plan expired on July 19, 2026 and does not renew automatically.

That also explains the Alexa skill error. The server was no longer recognized as a Premiere server, so Alexa only reported “No permission.”

I had assumed that an annual subscription would renew automatically. A reminder email shortly before expiration would have been very helpful, especially since the Alexa error message does not indicate that Emby Premiere has expired.

I have now purchased the Lifetime plan so that I do not run into the same situation again.

Thank you very much for the quick help and for checking the logs.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...