Skip to content
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

[BUG]: gc listen infinitely resends events #17

Open
mauricedoepke opened this issue Dec 24, 2022 · 0 comments
Open

[BUG]: gc listen infinitely resends events #17

mauricedoepke opened this issue Dec 24, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@mauricedoepke
Copy link

Describe the bug
When using the gc listen command, the cli resends successfully acknowledged events over and over until the cli is closed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://webhook.site/ to create a link for debugging webhooks
  2. Use the created link with the gc listen command, e.g.: gc listen --forward https://webhook.site/653ce959-f977-4053-a245-1b47dec3170d
  3. Do something that triggers a webhook event, e.g. creating a subscription for a user

Expected behavior
The cli forwards the event only once, when the server responds with a http code 200. The cli should only retry forwarding the event if the server responds with an error code.

Screenshots
Screenshot 2022-12-24 at 22 24 29

Desktop (please complete the following information):

  • Hardware: MacBook Pro m1
  • OS: macos 13.0.1
@mauricedoepke mauricedoepke added the bug Something isn't working label Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant