79647611

Date: 2025-06-01 14:20:19
Score: 0.5
Natty:
Report link

Some ideas:

  1. Did you try logging the requests and see if they're duplicated as a whole? -> that would point to some server/deployment misconfiguration. If it's just the events, most likely it's your code. You said that no duplicate requests are hitting the server. But would Laravel logs show any duplicates?
  2. Did you try logging the stack trace in the event constructor? That would clarify what triggers these events down the stack and if it's the same flow. Given it's all processed synchronously that should help.
  3. Do you have any switches that disable any events where !app->environment('production') or similar? Have you tried running the app on your local with the APP_ENV=Prod .env settings to imitate prod?
  4. Clockwork is a good tool to trace your API requests and figure out what events are being launched, that might shed some light on the request.

Good luck!

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Whitelisted phrase (-2): Did you try
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Lukasz Zagroba