קוד שגיאה

SSE_DUPLICATE_DELIVERY

מסירה כפולה ב־SSE

  • סטטוס HTTP500
  • סוגprogrammer
  • חומרהwarning
  • ניסיון חוזרלא

SSE duplicate delivery

The same message was emitted to a webchat client more than once. The dedup hash on the controller catches this; if it surfaces, dedup logic is wrong.

Common causes

  • Kafka payload missing top-level id, message_type, or body (the dedup hash inputs).
  • Two webhook-service replicas processed the same Kafka offset.
  • Reconnect re-emitted events without honoring last-event-id.

What to do

Verify the producer (ai-service) sets all three top-level fields. See widget telemetry to identify the affected session.

מסירה כפולה ב־SSE

אותה הודעה נשלחה לווידג'ט יותר מפעם. ה־hash של ה־dedup בקונטרולר תופס זאת; אם השגיאה צפה — לוגיקת ה־dedup שגויה.

סיבות נפוצות

  • פיילוד Kafka חסר שדות עליונים id / message_type / body.
  • שני replicas של webhook-service עיבדו את אותו offset.
  • התחברות מחדש שלחה אירועים בלי last-event-id.

פעולה מומלצת

ודאו שהמפיק (ai-service) שולח את שלושת השדות העליונים. עיינו ב־telemetry של הווידג'ט לזיהוי הסשן המושפע.