Ethereum Bitcoin -Cli Getinfo Error Code: -28 On Osx Sierra
Have you encountered problems with access to Ethereum blockchain information using the interface of the Bitcoin-Cli command line (CLI)? In particular, you are experiencing an error code of -28 when trying to recover information using Bitcoin -Cli Getinfo
on your Mac with macOS Sierra. In this article, we will deepen the possible causes and solutions to solve this problem.
What does it mean -28
?
The error code -28
is a standard return code in UNIX systems, including Osx Sierra. Generally indicates an unexpected operation or an internal system error that cannot be resolved by the CLI.
The Bitcoin-Cli Getinfo command:
Before exploring possible solutions, let’s briefly examine what the Gelinfo
:
- Return information on a block, such as its hash, timestamp, size and more.
- Lists the available addresses (also known as “addresses” or “keys”) on the blockchain.
The problem with Bitcoin-Cli on Osx Sierra:
The error code -28
is specific for the GetinfoCommand. When performing
Bitcoin-Cli Getinfo, he probably tries to recover information from a database that stores the blockchain data, including addresses and other metadata. However, due to various reasons (e.g. configuration or system problems), the CLI can find an internal error, resulting in a return code
-28.
Possible solutions:
- Check your Bitcoin-Cli configuration: Make sure to perform the latest version of Bitcoin-Cli on your Mac. You can update the CLI by performingGIT Clone Git && Cd BTCCLI && ./configure — with-database =/path/to/database and therefore re-run ‘. /Configure. This should help solve any problems related to the database.
- Restart the Bitcoin-CLI session: Sometimes, simply by restarting the CLI can solve connectivity problems or other problems that could cause the error code
-28
.
- Disable IPV6: If there are problems with DNS resolution or connectivity, consider the disabling of IPV6 on the system. This is because the command is Getinfo
is based on the DNS resolution to obtain information on the address from the blockchain. Disable IPV6 can help solve this problem.
Passages for solving additional problems:
If none of the above solutions works, try:
* Verification of conflicts with other Bitcoin-CLI commands:
make sure that there are no contrasting controls in execution in the background that could interfere with thejetinofo
command.
* Checking system connectivity of the system: Make sure you have a stable and reliable internet connection to access the blockchain information from the outside of the local machine.
Conclusion:
The error code -28
returned by Bitcoin-Cli on Osx Sierra due to an internal system problem is usually not a critical problem. By checking the problems with the configuration, restart the CLI session or disabling IPV6 (if applicable), you should be able to solve this problem and access the information on the Ethereum blockchain using Bitcoin-Cli Getinfo
.