mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-14 06:13:33 +01:00
Certs rate limiting #84
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zachkont on GitHub (May 31, 2025).
For the past few versions (including the latest GoDoxy version
v0.13.7) the container keeps restarting as soon as it runs and the logs show this error:@yusing commented on GitHub (May 31, 2025):
Could you send me the first non rate-limit error? There must be previous errors to turn into this.
@zachkont commented on GitHub (May 31, 2025):
These are the entire logs on container start:
I just changed the domain name to
domain.me@yusing commented on GitHub (May 31, 2025):
You said the container kept restarting right? So there should be logs from previous restart unless you manually
docker compose down.Try again on 2025-06-01 17:24:08 UTC then.
@zachkont commented on GitHub (Jun 1, 2025):
Unfortunately I'm running it via portainer with gitops updates and I only noticed after updating and the original container has since been deleted. I believe it only started happening after updating to v0.13.5 too but I can't be sure. Anything else I can try?
@yusing commented on GitHub (Jun 2, 2025):
Update to the current latest version and try again?
@zachkont commented on GitHub (Jun 2, 2025):
Still the same :/
@zachkont commented on GitHub (Jun 2, 2025):
If it helps, my server just had a filesystem corruption issue and I've had to manually run
fsckon the affected volume, which is also where docker volumes reside. Could it be related to that and if so, how can I make it recover?@yusing commented on GitHub (Jun 2, 2025):
Do you have other reverse proxy / certbot registering certs for the same domain? I don't think it's related to filesystem corruption.
@zachkont commented on GitHub (Jun 2, 2025):
No I don't, and godoxy has been working perfectly so far for me
@zachkont commented on GitHub (Jun 2, 2025):
In order to help with debugging as much as possible, here is a domain where this happens: https://crt.sh/?q=kontoulis.cloud
@yusing commented on GitHub (Jun 2, 2025):
It's weird, I only see two certs obtained on 2nd June and 31th May but those errors showed 5.
Could you try running with bare docker compose (no portainer) so failed requests can be logged? Please also clean up
certsdirectory.@zachkont commented on GitHub (Jun 2, 2025):
So I have already tried cleaning up the certs directory, got an error saying
acme.keyis not readable, added only that back in, got the error I mentioned above.Now I just tried moving
priv.keyandcert.crtback intocerts/and I get an additional lineI will try running without portainer and post findings
@zachkont commented on GitHub (Jun 3, 2025):
However, the documentation states
so it's not a daily limit which explains the error right? Why does the app register so many new credentials for the same domain? Shouldn't it check if it already exists or something?
@yusing commented on GitHub (Jun 3, 2025):
Because of the file system corruption?
Btw you do not move those domains those certs back in, in this case. Just clean the directory and obtain a new one after "unban".
@zachkont commented on GitHub (Jun 3, 2025):
hmm so maybe because it could not read the existing cert file it thought there was none and tried to make a new one? Which looks like it started on 2025-05-28, before that it seemed more reasonable.
However, it does look like the app does not handle this error gracefully so maybe that can be improved if you'd like. At least avoid the container going in a crash loop. In any case, I'll report back when the "ban" is lifted and close this, thanks for being so responsive and helpful
@zachkont commented on GitHub (Jun 10, 2025):
Hi again, I'm back with a different error:
I deleted the contents of the
/certsdir as you mentioned but it tries to find them instead of recreating. the folder permissions aredrwxr-xr-x 2 root docker 4.0K Jun 3 11:31 certs@yusing commented on GitHub (Jun 10, 2025):
rename godoxy container to something else like
godoxy-proxycheck for
UIDandGIDin your.envandchownto corresponding user and group ids@zachkont commented on GitHub (Jun 11, 2025):
I had used the wrong
UID, everything works again now. Thanks for your help!