-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webhook subscriptions not receiving all events #1025
Comments
Hi @ivis-tsukioka. If you have questions about how subscriptions and webhooks work, I would suggest asking in the Hyperledger Discord server in the #firefly channel https://discord.gg/nnQw2aGhX6 You will likely get a much better response there from the community. If you suspect there is a bug in FireFly, please feel free to re-open this issue, and clearly indicate:
Thanks! |
After further investigation, I do think there is likely a bug here, so I'm reopening this one |
I did some testing on this and was able to reproduce what @ivis-tsukioka was seeing.
|
Attaching logs from a clean slate, reproducing this behavior, and shutting it down |
In the logs, I see us go into the backend request, but never come back:
While there is room for improvement in the logs in the webhooks code meaning this is really the only thing logged, there I am confident from all the other places that we use |
The lack of logging might have been a red-herring here, due to using Not sure how long ago this was introduced, but in the case of a non- |
As well as updating the code, I've done an extra update on the docs - particularly to clarify the behavior around redelivery of webhook events. The code generated docs for |
I set up a subscription of webhook for FireFly to send events to our app.
But our app have received a part of event's notice from FireFly.
I think that webhook subscription is permanence.
Is it right?
I send request body(below json) for "[POST] /api/v1/namespaces/default/subscriptions" to set up a subscription of webhook.
Did I get a wrong setting?
Now, after receiving event's notice, I set up a new a subscription of webhook to continuously receive event.
request body
The text was updated successfully, but these errors were encountered: