@discordjs/proxy-container intermittently crashing
Hi, I use this package to proxy my cloudflare worker requests since I was getting 1015s while trying to use the OAuth callback endpoint (ugh!). It's been working great up until a few days ago when all of a sudden a small percentage of requests began to return 1015s anyway, along with (I assume they happen at the same time) a crash.
I have tried re-pulling the container in case there had been an update made but that didn't help sadly.
Docker command:
log:
Any request I throw at it to try to reproduce the issue works as expected, so I'm sure the machine's IP is not banned, and even OAuth callback requests work fine when I try them. But sometimes, for my users, they don't. What could be going on?
Thanks
6 Replies
Not sure how to see the docker container version but I can provide that if I figure out how. i didn't clone the package, just pulled from https://hub.docker.com/r/discordjs/proxy
that log is an I/O error
are you sure you dont have any sort of network instability
Not as far as I know
It’s a hetzner server, I don’t manage the network
its very hard to say without any idea what request causes it, if theres even a pattern
best suggestion i can offer is look into the source code for the container and adjust it to log more things
its pretty simple
Well the only requests I run through it in prod are those related to oauth, so /callback and I think /users/@me
Ok I’ll try that out