Hey all, I might be about to completely and utterly break everything whilst I perform an update to how the anti-abuse works. This is mainly to permit scalability and to make the proxy stateless (wow, cool buzz words!). I’m trying to avoid storing state in the app and moving to Redis for caching.
If everything goes wrong, I’ll revert it as soon as possible. Don’t worry if your webhooks break for a short amount of time.
I found a fatal bug in the anti-abuse measures I put in place relating to ratelimits. I have fixed the bug in the latest commit, and as an apology I have unbanned all webhooks affected by the anti-abuse for ratelimit violations.
To keep it short, I was accidentally using the same Redis key for two operations: ratelimit violation tracking and ratelimit reset time. This would mean the proxy thought your webhooks were millions of requests over the threshold for bans.
On self hosted instances with autoBlock turned off (or prior to the Redis migration), this will not affect you and is an optional update, however I recommend updating anyway just in case that you start to use auto blocking.
In my eyes, that’s better, Less latency and traffic for our http requests to get messed about on.
I use guilded for developing, not for communication or chat. It creates two separate channels and can help organization of the game development.
Docker containers aren’t my forte and I never planned to make this into a containerised app but I can give it a shot. Can you live with docker-compose?
E: Looks like I’d have to rewrite parts of the codebase to support this. I’ll put it on the backburner for now.
You need to change discord.com to webhook.lewistehminerz.dev. After that it will work as normal.
You can optionally use the module I wrote which hides away the interaction with the proxy and gives a niceish API. The id and token are in the URL already; the ID is the numbers after /api/webhooks and the token is after the ID.
That’s just filler for the example. You’d use your actual webhook stuff there. E.g., https://webhook.lewistehminerz.dev/api/webhooks/1234567891234567/jsdnfjnsdkjfnsdnfnsjdfjksndfjn.
Is this webhook can be used for feedback forms ?
And in case if I add your proxy in my feedback from code, only changing the url is enough in my code or I need to create a seperate proxy server in order to receive the feedback from the users
?