understanding webhook and task logs for sub users #668
|
So i added a bunch of webhooks using tautulli and confirm webhook was firing only user In the logs I see logs for the same episode for main user as well as user 2 and this confused me. webhook logs task logs It looks like all actions that user2 is taking is also logging the same for the main user in plex and this confused me. I confirmed in plex to make sure EP 01 of Some Show did not get any progress associated with it for user main, so I was curious are these expected logs or is something wrong in my setup. here is what I have confirmed
|
Replies: 1 comment 2 replies
|
I think I found the issue, I had deleted the webhook from my plex server but had not restarted it so it was still sending webhooks from plex server and given that the user was a plex home user and I had user id matching disabled it was processing it. On that note do we still need to have the user id matching disabled via Tautulli? Asking because in the webhook payload for user2 i see the user id and it matches what is set for that user in server.yaml edit: reading the docs again looks like its only for the created event. Will be updating my webhook data. We can close this out unless we think there is something wrong in my setup :). I guess one question I would have is when can this id change? Or will the plex user id remain the same as long as they keep using the same account? |
Hello,
As far as i know the ID will remain the same until you delete and recreate the home user afaik.
Whenever you have issue with web-hooks it's generally good idea to have the
WS_WEBHOOK_DUMP_REQUESTset to true to see raw request received.You can hardcode the account.id from Tautulli webhook to make both match user id and create event works. it's just too hard to tell users how to do it and make sure they get the user id correctly.