Skip to content

A slow SMTP server silently drops other hosts' calendar events, reminders and the booking.created webhook #180

Closed

Description

@MohammadHadi2031

Before submitting

  • I've searched existing issues and this isn't a duplicate.
  • This is a reproducible bug in Calnode — not a configuration/setup question or a feature request.

What's the bug?

dispatchBookingConfirmation runs every post-booking side effect under one 30s context, in this order: host 1 calendar event → host 1 email → host 2 calendar event → host 2 email → … → attendee email → webhook → reminders. defaultSMTPTimeout is also 30s, so one stalled mail server (packet-dropping SMTP is a known case, see CLAUDE.md) uses up the whole budget on the first host's email. Then:

  • the remaining hosts' calendar CreateEvent calls fail with context deadline exceeded (the reconciler heals these later);
  • the booking.created webhook and the reminder jobs are never enqueued, and nothing heals them.

The webhook also carries the pre-mint location_value, so a Google Meet booking's webhook has no Meet link.

Steps to reproduce

Collective with 2 hosts, both with a destination calendar; SMTP host that accepts TCP and never answers. Book a slot → host 2 has no event, the jobs table has no reminder.send row.

Calnode version / commit

v0.11.2

How are you running Calnode?

Self-hosted — Docker

Logs, screenshots, or anything else

No response

Activity

  1. pullfrog commented on Oct 28, 2026

    @pullfrog
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions