docker: Got permission denied while trying to connect to the Docker daemon socket at
unix:///var/run/docker.sock...
The error message above indicates a permission issue while trying to access the Docker daemon socket. This is a common problem when trying to run Docker commands as a non-root user. To add your user to the docker group, use the following command:
sudousermod-aGdocker$USER# Restart the terminal after running the command above, if it still doesn't work try the command belowsudochmod666/var/run/docker.sock
Ensure Anaconda, Miniconda, or Miniforge (for arm64 systems) is installed. If you've just installed it, restart your terminal to refresh the command line environment.
Collecting package metadata (repodata.json): / ./install: line 40: 14981 Killed...
This error shows up during installation, typically on systems with 2GB RAM or less. Increase your system's RAM to at least 4GB, or consider adding a swap file if upgrading hardware is not feasible.
Source: Could not find conda environment: hummingbot¶
This is related to the issue above. Check if there are any errors after running the ./install script. If there are, you'll need to solve those first otherwise creating the hummingbot conda environment will fail.
Source: unable to execute gcc: No such file or directory¶
If getting this error you'll need to install the build-essential package. Run the command below to install -
If you get this error, this usually means the Hummingbot Broker is not running, start the Broker from the Instances page and then restart all Hummingbot client instances.
Docker is not running. Please start Docker and refresh the page.¶
Make sure you have Docker installed. On Windows and MacOS machines make sure you have Docker Desktop running in the background.
Note: The name of the missing module could be something else like st_pages etc. If you get this message this means the environment wasn't installed properly. Run the following steps in a terminal to reinstall -
If you are getting this error on Kraken, or a similar error on a different exchange this is because the exchange connector doesn't currently support market orders which the PositionExecutor needs to close the position.
2024-01-25 21:19:12,916 - 111864 - hummingbot.connector.exchange.kraken.kraken_api_user_stream_data_source - ERROR - Unexpected error with Kraken WebSocket connection. Retrying after 30 seconds...
Traceback (most recent call last):
File "/home/martin_kou/Development/hummingbot/hummingbot/connector/exchange/kraken/kraken_api_user_stream_data_source.py", line 100, in listen_for_user_stream
self._current_auth_token = await self.get_auth_token()
File "/home/martin_kou/Development/hummingbot/hummingbot/connector/exchange/kraken/kraken_api_user_stream_data_source.py", line 89, in get_auth_token
return response_json["result"]["token"]
KeyError: 'result'
File "hummingbot/connector/exchange_base.pyx", line 158, in hummingbot.connector.exchange_base.ExchangeBase.c_get_price
OrderBook order_book = self.c_get_order_book(trading_pair)
File "hummingbot/connector/exchange/kraken/kraken_exchange.pyx", line 1050, in hummingbot.connector.exchange.kraken.kraken_exchange.KrakenExchange.c_get_order_book
raise ValueError(f"No order book exists for '{trading_pair}'.")
ValueError: No order book exists for 'BTC-USD'.
If you get this error make sure that when you created the API keys you also checked the Access Websockets API option.
Client is stuck on "script_strategy_base - uniswap_ethereum_mainnet is not ready. Please wait..."¶
You'll need to approve tokens that you are trading. See below for an example if you are trading WETH on Ethereum mainnet
gatewayapprove-tokensuniswap_ethereum_mainnetWETH
Note
When approving tokens, if you get a "Token not Supported" error, please make sure to add the token address in the tokenlist manually. The token list can be found in the ./conf/list folder
Press CTRL + X if you want to cancel out of the configuration
Balance showing but it's not showing Total in ($)¶
If one or more tokens is showing 0 Total in ($), use the command below to change your rate oracle source. By default, the rate_oracle_source is set to Binance and if the token is not available in Binance then the Total in ($) will show 0.