cert_issuer.errors.InsufficientFundsError:

I am using Ropsten testnet, my issuer address containes more than 4 ETH, but still I got insufficient fund error.How to resolve this issue?

0|Blockcert_Product | mv:
0|Blockcert_Product | cannot stat ‘/root/product/cert-tools/sample_data/unsigned_certificates/.json’
0|Blockcert_Product | : No such file or directory
0|Blockcert_Product | WARNING - Your app is configured to skip the wifi check when the USB is plugged in. Read the documentation to ensure this is what you want, since this is less secure
0|Blockcert_Product | INFO - This run will try to issue on the ethereum_ropsten chain
0|Blockcert_Product | /usr/local/lib/python3.6/dist-packages/merkletools/init.py:7: UserWarning: sha3 is not working!
0|Blockcert_Product | warn(“sha3 is not working!”)
0|Blockcert_Product | INFO - Set cost constants to recommended_gas_price=20000000000.000000, recommended_gas_limit=25000.000000
0|Blockcert_Product | INFO - Processing 13 certificates
0|Blockcert_Product | INFO - Processing 13 certificates under work path=/root/product/data/work
0|Blockcert_Product | WARNING -
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product | Access denied | ropsten.etherscan.io used Cloudflare to restrict access
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product | body{margin:0;padding:0}
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |


0|Blockcert_Product |
Please enable cookies.

0|Blockcert_Product |

0|Blockcert_Product |

0|Blockcert_Product |


0|Blockcert_Product | Error
0|Blockcert_Product | 1020
0|Blockcert_Product | Ray ID: 5211ad876867d695 • 2019-10-05 19:07:19 UTC
0|Blockcert_Product |


0|Blockcert_Product |

Access denied


0|Blockcert_Product |

0|Blockcert_Product |
0|Blockcert_Product |

0|Blockcert_Product |

0|Blockcert_Product |

0|Blockcert_Product |

What happened?


0|Blockcert_Product |

This website is using a security service to protect itself from online attacks.


0|Blockcert_Product |

0|Blockcert_Product |
0|Blockcert_Product |

0|Blockcert_Product |

0|Blockcert_Product |

0|Blockcert_Product |


0|Blockcert_Product | Cloudflare Ray ID: 5211ad876867d695
0|Blockcert_Product |
0|Blockcert_Product | Your IP: 51.62.193.50
0|Blockcert_Product |
0|Blockcert_Product | Performance & security by Cloudflare
0|Blockcert_Product |
0|Blockcert_Product |


0|Blockcert_Product |

0|Blockcert_Product |

0|Blockcert_Product |

0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product | INFO - Total cost will be 500000000000000 wei
0|Blockcert_Product | ERROR - Please add 500000000000000 wei to the address 0x71bc257fda57998e6715ee0b3370ab3b054f3111
0|Blockcert_Product | Traceback (most recent call last):
0|Blockcert_Product | File “/usr/local/bin/cert-issuer”, line 11, in
0|Blockcert_Product | load_entry_point(‘cert-issuer==2.0.15’, ‘console_scripts’, ‘cert-issuer’)()
0|Blockcert_Product | File “/usr/local/lib/python3.6/dist-packages/cert_issuer-2.0.15-py3.6.egg/cert_issuer/main.py”, line 17, in cert_issuer_main
0|Blockcert_Product | issue_certificates.main(parsed_config)
0|Blockcert_Product | File “/usr/local/lib/python3.6/dist-packages/cert_issuer-2.0.15-py3.6.egg/cert_issuer/issue_certificates.py”, line 36, in main
0|Blockcert_Product | return issue(app_config, certificate_batch_handler, transaction_handler)
0|Blockcert_Product | File “/usr/local/lib/python3.6/dist-packages/cert_issuer-2.0.15-py3.6.egg/cert_issuer/issue_certificates.py”, line 16, in issue
0|Blockcert_Product | transaction_handler.ensure_balance()
0|Blockcert_Product | File “/usr/local/lib/python3.6/dist-packages/cert_issuer-2.0.15-py3.6.egg/cert_issuer/blockchain_handlers/ethereum/transaction_handlers.py”, line 55, in ensure_balance
0|Blockcert_Product | raise InsufficientFundsError(error_message)
0|Blockcert_Product | cert_issuer.errors.InsufficientFundsError: Please add 500000000000000 wei to the address 0x71bc257fda57998e6715ee0b3370ab3b054f3111
0|Blockcert_Product | mv: cannot stat '/root/product/cert-tools/sample_data/unsigned_certificates/
.json’: No such file or directory
0|Blockcert_Product | WARNING - Your app is configured to skip the wifi check when the USB is plugged in. Read the documentation to ensure this is what you want, since this is less secure
0|Blockcert_Product | INFO - This run will try to issue on the ethereum_ropsten chain
0|Blockcert_Product | /usr/local/lib/python3.6/dist-packages/merkletools/init.py:7: UserWarning: sha3 is not working!
0|Blockcert_Product | warn(“sha3 is not working!”)
0|Blockcert_Product | INFO - Set cost constants to recommended_gas_price=20000000000.000000, recommended_gas_limit=25000.000000
0|Blockcert_Product | INFO - Processing 13 certificates
0|Blockcert_Product | INFO - Processing 13 certificates under work path=/root/product/data/work
0|Blockcert_Product | WARNING -
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product | Access denied | ropsten.etherscan.io used Cloudflare to restrict access
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product | body{margin:0;padding:0}
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |


0|Blockcert_Product |
Please enable cookies.

0|Blockcert_Product |

0|Blockcert_Product |

0|Blockcert_Product |


0|Blockcert_Product | Error
0|Blockcert_Product | 1020
0|Blockcert_Product | Ray ID: 5211ad876867d695 • 2019-10-05 19:07:19 UTC
0|Blockcert_Product |


0|Blockcert_Product |

Access denied


0|Blockcert_Product |

0|Blockcert_Product |
0|Blockcert_Product |

0|Blockcert_Product |

0|Blockcert_Product |

0|Blockcert_Product |

What happened?


0|Blockcert_Product |

This website is using a security service to protect itself from online attacks.


0|Blockcert_Product |

0|Blockcert_Product |
0|Blockcert_Product |

0|Blockcert_Product |

0|Blockcert_Product |

0|Blockcert_Product |


0|Blockcert_Product | Cloudflare Ray ID: 5211ad876867d695
0|Blockcert_Product |
0|Blockcert_Product | Your IP: 52.63.194.56
0|Blockcert_Product |
0|Blockcert_Product | Performance & security by Cloudflare
0|Blockcert_Product |
0|Blockcert_Product |


0|Blockcert_Product |

0|Blockcert_Product |

0|Blockcert_Product |

0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product |
0|Blockcert_Product | INFO - Total cost will be 500000000000000 wei
0|Blockcert_Product | ERROR - Please add 500000000000000 wei to the address 0x71bc257fda57998e6715ee0b3370ab3b054f3111
0|Blockcert_Product | Traceback (most recent call last):
0|Blockcert_Product | File “/usr/local/bin/cert-issuer”, line 11, in
0|Blockcert_Product | load_entry_point(‘cert-issuer==2.0.15’, ‘console_scripts’, ‘cert-issuer’)()
0|Blockcert_Product | File “/usr/local/lib/python3.6/dist-packages/cert_issuer-2.0.15-py3.6.egg/cert_issuer/main.py”, line 17, in cert_issuer_main
0|Blockcert_Product | issue_certificates.main(parsed_config)
0|Blockcert_Product | File “/usr/local/lib/python3.6/dist-packages/cert_issuer-2.0.15-py3.6.egg/cert_issuer/issue_certificates.py”, line 36, in main
0|Blockcert_Product | return issue(app_config, certificate_batch_handler, transaction_handler)
0|Blockcert_Product | File “/usr/local/lib/python3.6/dist-packages/cert_issuer-2.0.15-py3.6.egg/cert_issuer/issue_certificates.py”, line 16, in issue
0|Blockcert_Product | transaction_handler.ensure_balance()
0|Blockcert_Product | File “/usr/local/lib/python3.6/dist-packages/cert_issuer-2.0.15-py3.6.egg/cert_issuer/blockchain_handlers/ethereum/transaction_handlers.py”, line 55, in ensure_balance
0|Blockcert_Product | raise InsufficientFundsError(error_message)
0|Blockcert_Product | cert_issuer.errors.InsufficientFundsError: Please add 500000000000000 wei to the address 0x71bc257fda57998e6715ee0b3370ab3b054f3111

Looks similar to Access Denied - Ethereum Ropsten

Confirmed this is happening to me on ropsten but mainnet works. I tried adding an API key but it is still blocked on ropsten.

I’ll open up a ticket on this and can hopefully get around to adding another ethereum API this week.

Added a new ethereum api, myetherwallet, to the mix. Should be resolved. In version 2.0.20 if you’re using pypi.

1 Like

Hello,

I’m having the same issue with insufficient funds asking me for 500 trillion wei.
Is there any way to fix this?

Thanks in advance

Any help guys?
I really need to solve this

500 trillion wei is only 0.0005 ether. What’s the problem?

I have more than enough ether but i still get the insufficient funds error.

What could be the case?

Not sure, not seeing that problem myself. Typically it comes from either incorrect settings or the inability to access ethereum API’s.

Could you post your config & logs?

Well here is my conf.ini and the log. Hope it helps!

Conf.ini:

issuing_address = 0x5749E785a610BfbD5f1257F080d92aD79E5D0Da6

chain = ethereum_ropsten

usb_name= /home/user/cert-issuer
key_file= pk.txt

unsigned_certificates_dir= /home/user/cert-issuer/data/unsigned_certificates

blockchain_certificates_dir= /home/user/cert-issuer/data/blockchain_certificates

work_dir= /home/user/cert-issuer/data/work

no_safe_mode

Log:

WARNING - Your app is configured to skip the wifi check when the USB is plugged in. Read the documentation to ensure this is what you want, since this is less secure
INFO - This run will try to issue on the ethereum_ropsten chain
INFO - Set cost constants to recommended_gas_price=20000000000.000000, recommended_gas_limit=25000.000000
INFO - Processing 6 certificates
INFO - Processing 6 certificates under work path=/home/user/cert-issuer/data/work
WARNING -

Access denied | ropsten.etherscan.io used Cloudflare to restrict access body{margin:0;padding:0}
Please enable cookies.

Error 1020 Ray ID: 55bd0bb3da94a68d • 2020-01-27 19:13:45 UTC

Access denied

  <section></section><!-- spacer -->

  <div class="cf-section cf-wrapper">
    <div class="cf-columns two">
      <div class="cf-column">
        <h2 data-translate="what_happened">What happened?</h2>
        <p>This website is using a security service to protect itself from online attacks.</p>
      </div>

      
    </div>
  </div><!-- /.section -->

  <div class="cf-error-footer cf-wrapper">

Cloudflare Ray ID: 55bd0bb3da94a68d Your IP: 94.64.114.25 Performance & security by Cloudflare

</div><!-- /#cf-error-details -->

INFO - Total cost will be 500000000000000 wei
ERROR - Please add 500000000000000 wei to the address 0x5749E785a610BfbD5f1257F080d92aD79E5D0Da6
Traceback (most recent call last):
File “/usr/local/bin/cert-issuer”, line 11, in
sys.exit(cert_issuer_main())
File “/usr/local/lib/python3.6/dist-packages/cert_issuer/main.py”, line 17, in cert_issuer_main
issue_certificates.main(parsed_config)
File “/usr/local/lib/python3.6/dist-packages/cert_issuer/issue_certificates.py”, line 36, in main
return issue(app_config, certificate_batch_handler, transaction_handler)
File “/usr/local/lib/python3.6/dist-packages/cert_issuer/issue_certificates.py”, line 16, in issue
transaction_handler.ensure_balance()
File “/usr/local/lib/python3.6/dist-packages/cert_issuer/blockchain_handlers/ethereum/transaction_handlers.py”, line 55, in ensure_balance
raise InsufficientFundsError(error_message)
cert_issuer.errors.InsufficientFundsError: Please add 500000000000000 wei to the address 0x5749E785a610BfbD5f1257F080d92aD79E5D0Da6

Looks pretty similar to this: Access Denied - Ethereum Ropsten

Do you have version 2.0.20+ of the blockcerts issuer?

Yes, first thing i did was to get the latest version but i still get the error.

Could you double check that the latest is actually running? Distinct in the logs should be something like

INFO - Balance check response: {'jsonrpc': '2.0', 'id': 1, 'result': '0xda8fa4202ab0000'}
INFO - Balance check succeeded: {'jsonrpc': '2.0', 'id': 1, 'result': '0xda8fa4202ab0000'}
INFO - Total cost will be 500000000000000 wei
INFO - Starting finalizable signer

after the cloud front error. MyEtherWallet should be checked as a fallback when Etherscan fails. Otherwise Error getting balance through MyEtherWallet. Error msg: would display if it was having a hard time connecting to MEW as well.

I can’t see any of this in the logs. Can you elaborate more on how to check if the latest is running?