Server Version#: 1.14.1.5488
Player Version#: not related (tested with multiple players)
I did setup multiple webhooks, right after the setup everything is working fine. After some time this breaks. Webhooks are still listed as before, but if anything is played they are not called.
As workaround I need to modify any of them (e.g. changing port to anything else and back), afterwards they’re working again.
I checked the log files and can see that webhooks are not failing but not being triggered.
Here is a part from the console. Before I do the workaround I get exactly the same logs except the bold part.
[Now] Updated play state for /library/metadata/12345.
Statistics: (–player-id–) Reporting active playback in state 0 of type 10 (scrobble: 0) for account 1
Completed: [–ip–] 200 GET /:/timeline?.. (20 live) TLS GZIP 22ms 454 bytes (pipelined: 67)
EventSource: Got event [data] ‘Message command=“notifyWebhooks”’
Webhook: User 1 () has 3 webhooks.
Webhook: Delivering media.play event for item 12345 by user --username-- to 3 hooks.
HTTP requesting POST http://localhost:10000
HTTP 200 response from POST http://localhost:10000
HTTP requesting POST http://localhost:11000
HTTP 200 response from POST http://localhost:11000
HTTP requesting POST http://localhost:12000
HTTP 200 response from POST http://localhost:12000
Auth: authenticated user 1 as --username–
Request: [–ip–] GET /:/timeline?.. (20 live) TLS GZIP Signed-in Token (–username–)
Client [–player-id–] reporting timeline state playing…
Play progress on 12345 --title-- - got played 121667 ms by account 1!
I can reproduce this by simply restarting my server.