xmidt-org / tr1d1um

Tr1d1um is the Webpa micro-service that encode TR-181 requests.
Apache License 2.0
12 stars 12 forks source link

Tr1d1um not fanning out events #285

Closed pedrojreis closed 2 years ago

pedrojreis commented 2 years ago

Tr1d1um seems to not reporting any events on their registered webhook endpoints.

I have multiple mock devices connected to WebPA, I can list them on talaria and get info via tr1d1um, however i'm registering svalinn and beeceptor as webhooks on tr1d1um and then disconnect / connect multiple devices and not a single event is fired.

I'm confused on how to "link" scytale (or caduceus) with tr1d1um so it fanouts the events.

Any hints on how to achieve this or what i'm possibly doing wrong? :D

Thanks in advance

pedrojreis commented 2 years ago

I was able to fix. It seems that tr1d1um must talk with argus via JWT and caduceus has the same "problem" it will not allow basic auth. I was not receiving the events from caduceus because it was not able to get the hooks data from the DB :)