auto-ssl / auto-ssl/lua-resty-auto-ssl

rate-limit retry in case of previous error

Open
#161 0 comments 13 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
2k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

When the challenge fails for some reason, auto-ssl will retry upon each request: this is bad because the letsencrypt account will quickly become rate-limited after five failed attempts.

So i suggest auto-ssl sets a rate limit of 4 failures an hour for a given domain.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Lua request and challenge-retry path, then inspect how state can be tracked per domain. Define how failures are counted within an hour and verify the behavior against the Let's Encrypt rate limit; done means a domain stops retrying after four failures in an hour without affecting other domains.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, nginx
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.