Troubleshooting for HotPocket Developer Kit
The Troubleshooting Guide for the HotPocket Developer Kit provides solutions for commonly encountered errors during the utilization of the HotPocket devkit.
Furthermore, ensure that your HotPocket Developer Kit installation is up to date by running hpdevkit update.
Possible Error |
How to fix it |
|---|---|
HotPocket usage limit failure. |
Run the |
Error response from daemon: |
Run |
Error response from daemon: |
Run |
Cluster ‘default’ already exists. |
Run the |
Contract process execve() failed. |
The |
Contract process ended prematurely. Exit code 0 |
This occurs when the |
Error: Cannot find module |
1. The |
HotPocket smart contracts must be executed via HotPocket. |
You cannot execute a HotPocket smart contract through the console. Specify the contract path using |
Possible fork condition. |
This indicates a failure of cluster synchronization after deployment. Ensure that your contract logic maintains the same input, output and state in all the nodes. Consider lowering the cluster size to recreate and isolate the error. |
Not enough peers proposing to perform consensus. |
This condition occurs before consensus is reached, typically at the initial consensus rounds. This should be a temporary stage. If it persists, check whether each node is operational. |
Error: EACCES: permission denied |
This occurs when a write command is executed in read only mode. Use an if-else condition to control logic executed in read only mode. |
Errors encountered when executing contracts which use timeouts or other asynchronous functions |
These errors may occur when the |