I noticed that the Domain Updater keeps failing for the same domains. I suspect it's caused by the rate limits of the WHOIS services that Domain Locker uses. The first five domains are served correctly, and the rest time out.
...
...
...
{
"domain": "domain1.cz",
"changes": [],
"note": "ℹ️ No changes for domain1.cz, all data is up-to-date"
},
{
"domain": "domain2.cz",
"changes": [],
"note": "ℹ️ No changes for domain2.cz, all data is up-to-date"
},
{
"domain": "domain3.cz",
"error": "Request timed out after 5 seconds for \"domain3.cz\""
},
{
"domain": "domain4.cz",
"error": "Request timed out after 5 seconds for \"domain4.cz\""
},
{
"domain": "domain5.cz",
"error": "Request timed out after 5 seconds for \"domain5.cz\""
},
...
...
...
===================================
APP INFO
===================================
Version: 0.1.4
Env Type: selfHosted
Database: Postgres
App ID: domain-locker
Platform ID browser
Environment
Docker (self-hosted)
Version
0.1.4
Describe the Issue
I noticed that the Domain Updater keeps failing for the same domains. I suspect it's caused by the rate limits of the WHOIS services that Domain Locker uses. The first five domains are served correctly, and the rest time out.
A possible but hacky fix could be to use ORDER BY RANDOM(); in the domain-updater.
https://github.com/Lissy93/domain-locker/blob/8abded457fac300a742b683cc1594200cd2d26e3/src/server/routes/domain-updater/index.ts#L52-L57
That way, different domains would be served each time, and all would eventually get updated.
Logs
System
Before submitting