Error handling in transfer funds PANIC: no callback registered to handle error bandwidth limit exceeded. Please wait to transact or power up STEEM.

in utopian-io •  7 years ago  (edited)

Summary

When you are using utopian heavily and quickly, you can use up all your steem. The steem system has a C++ backend that throws messages to the front end and then a javascript front end that tries to interpret the error message. Not all the back end error messages are interpreted and some times you get a strange message that you can only see in the console. In this case, when you try and transfer your rewards when you are out of bandwidth you get a very strange error message that is only visible in the javascript console.

How to reproduce

  1. Use up all your steem power / bandwidth by performing many actions such as blogging and voting.
  2. When your bandwidth is zero, attempt to transfer a reward to your balance.
  3. You will get a confusing error message.

Bug Capture

So in this that I captured case, I get the error in the console :

PANIC: no callback registered to handle error h4ck3rm1k3st33m bandwidth limit exceeded. Please wait to transact or power up STEEM.
transfer.gif

If you google that error message you can find this post here

Similar suggestions

A user reported a similar bug different suggestion here
https://github.com/steemit/condenser/issues/2272
He is suggesting a feedback to a user that would prevent this error from occuring.
This is a bug on the code where it does not handle a error message and fails.
This specific error in the code that needs to be handled, even if the user is warned he still might encounter this bug.

Log

Here is the log from my javascript console

wait to transact or power up STEEM.app.d0f3eb4cce79a5f58ebb.js:1 i {cause: Error: 4100000 plugin_exception: plugin exception
Account: h4ck3rm1k3st33m bandwidth limit exceeded.…, isOperational: true, code: 1, data: Object, name: "RPCError"…}
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
o @ vendor.d0f3eb4cce79a5f58ebb.js:1
i @ vendor.d0f3eb4cce79a5f58ebb.js:1
o._settlePromise @ vendor.d0f3eb4cce79a5f58ebb.js:1
o._settlePromise0 @ vendor.d0f3eb4cce79a5f58ebb.js:1
o._settlePromises @ vendor.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ vendor.d0f3eb4cce79a5f58ebb.js:1
app.d0f3eb4cce79a5f58ebb.js:1 TransactionSaga   broadcastPayload i {cause: Error: 4100000 plugin_exception: plugin exception
Account: h4ck3rm1k3st33m bandwidth limit exceeded.…, isOperational: true, code: 1, data: Object, name: "RPCError"…}
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
r @ app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
e.(anonymous function) @ app.d0f3eb4cce79a5f58ebb.js:1
n @ app.d0f3eb4cce79a5f58ebb.js:1
n @ app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
app.d0f3eb4cce79a5f58ebb.js:1 Uncaught (in promise) Error: PANIC: no callback registered to handle error h4ck3rm1k3st33m bandwidth limit exceeded. Please wait to transact or power up STEEM.
    at app.d0f3eb4cce79a5f58ebb.js:1
    at o (app.d0f3eb4cce79a5f58ebb.js:1)
    at app.d0f3eb4cce79a5f58ebb.js:1
    at app.d0f3eb4cce79a5f58ebb.js:1
    at s (app.d0f3eb4cce79a5f58ebb.js:1)
    at app.d0f3eb4cce79a5f58ebb.js:1
    at dispatch (app.d0f3eb4cce79a5f58ebb.js:1)
    at app.d0f3eb4cce79a5f58ebb.js:1
    at app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
o @ app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
s @ app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
dispatch @ app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hey @h4ck3rm1k3st33m I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Your contribution cannot be approved yet. See the Utopian Rules. Please edit your contribution to reapply for approval.

  • fix your markdown, there is unusual characters sticking out of your images (on top and on bottom)
  • could you add 2 subheadings such as "summary" and "reproduce this bug" and add the proper context to make it look more professional
    Thanks for using utopian For now these are the changes
    :)
    You may edit your post here, as shown below:

You can contact us on Discord.
[utopian-moderator]

Thank you for the contribution. It has been approved.
Nice Work !! this is needed
You can contact us on Discord.
[utopian-moderator]