Troubleshooting — EricksonLopez.Webhooks
L3StableNuGet: v1.0.0Local HEAD: v2.1.0AOT: Full
Common startup validation, SSRF, and Redis DI issues in EricksonLopez.Webhooks (1.0.0).
OptionsValidationException at Startup (.ValidateOnStart())
Section titled “OptionsValidationException at Startup (.ValidateOnStart())”WebhookSenderOptions: RequiresTimeout > TimeSpan.ZeroandMaxPayloadSizeBytes > 0.WebhookReceiverOptions: RequiresMaxPayloadSizeBytes > 0,TimestampTolerance > TimeSpan.Zero, and non-emptyRoutePath.
Missing IConnectionMultiplexer & SSRF SecurityException
Section titled “Missing IConnectionMultiplexer & SSRF SecurityException”- Redis DI failure:
AddRedisWebhookReplayDetectorandAddRedisWebhookDeadLetterSinkresolveIConnectionMultiplexer; registerConnectionMultiplexerbefore calling them. - SSRF rejection (
WebhookErrors.SecurityViolation): Localhost/private webhook URLs fail by default (AllowPrivateNetworks = false). Only enableAllowPrivateNetworks = trueorDangerousAllowInsecureHttp = truein trusted internal or local-test environments.