-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR mpool push: failed to push message #12794
Comments
@pk-controller did this used to work but is now not working? I guess you're using a public API, like glif. The "untrusted" mpool push method has a limit of 10 messages at a time, to prevent spam attacks. A "trusted" path has 1000, but that would require not going through the gateway which imposes this limit, but running your own node or getting access to a node directly. We could change send-csv to do smarter batching, or detect this error and adjust, but it would slow it down. |
thanks rod
I don’t think we would be able to prioritize this as this is not a main use case of lotus. @pk-controller Id suggest you to consider to run your own node, or reach out to @ArseniiPetrovich from Protofire for node service/api services. |
@rvagg yes this used to work no issue, for the last 4 years, we would run up to 300-400. it just changed to the 10 maybe a month or two ago. I have always been using a lite node, it may have changed, but not recently. I use the glif lite node: |
Hm, we haven't changed anything related to this on our end. The only thing is that without access key it is nowadays not possible to send over 100 requests per minute, but this was the case for many months now, if not for a year. Not sure how it was working on the 300-400 scale then at all. |
Oh, I recall now. In #12431 I did a couple of things, the main thing was plugging a hole whereby So what you're now bumping in to is the proper, intended limitations of the original code, you just happened to be bypassing it and were being allowed to spam glif with your messages where you probably shouldn't. I think the right way to do this is to use an API key with glif and/or negotiate with @ArseniiPetrovich to get access to a raw managed node or some other kind of un-capped API. |
Checklist
Latest release
, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Lotus component
Lotus Version
Repro Steps
...
Describe the Bug
So whenever we are sending a batch proposal, approval, or batch send. It will execute about 10 messages and then we get the error. We have seen this error now on 3 different computers.
Logging Information
The text was updated successfully, but these errors were encountered: