-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Ratelimiter seemingly ending up in a bad state after HTTP 502 response #533
Comments
Here are results of my production trace ( nostrum-bug-trace-redacted.log Line 3166 is where the I'm using Elixir 1.14 with OTP 26. I hope this helps! |
First of all, sorry for the long delay in getting back to you. I've read this The original issue seems mostly clear to me, and I believe there might be a bug This is where things get a bit confusing to me. You say line 3166 is where it
But what confuses me is that the issue in your log and the issue you originally Either way, I don't think it will solve this problem, I think we should maybe By the way, thanks for the super useful bug trace. FWIW, if you need to debug |
Hi, I've run into an odd issue where
Nostrum.Api.create_message
call never returns.Here's a relevant log message from the library itself that happens just before this issue occurs:
Here's a message from my application, immediately following it. This indicates that this particular
Api
call returned:But then the following
Nostrum.Api.create_message
call from the same process seems to hang in this state indefinitely:...While
Ratelimiter
doesn't seem to be doing any work:...but
Nostrum.Api.create_message
calls from an attached console continue to work just fine:For context,
F1Bot.Output.Discord
is a long-running process that receives messages from PubSub and publishes them as Discord messages, but it ends up blocked whenNostrum.Api
doesn't return.I'm using Nostrum from commit
4fabfc5bf59878fdde118acd686f6a5e075b5f8e
due to #522. Happy to provide more info!The text was updated successfully, but these errors were encountered: