Skip to content

Uniswap - Error connecting wallet to Avalanche network #399

@rapcmia

Description

@rapcmia

Describe the bug

When connecting to Avalanche network, getting error token not supported

Image

2025-01-27 16:33:22,184 - 371007 - hummingbot.core.gateway.gateway_status_monitor - INFO - Gateway Service is ONLINE.
2025-01-27 16:33:39,315 - 371007 - hummingbot.core.gateway.gateway_http_client - WARNING - Call to https://localhost:15888/ethereum/balances failed. See logs for more details.
2025-01-27 16:33:39,315 - 371007 - hummingbot.core.utils.async_utils - ERROR - Unhandled error in background task: Error on POST https://localhost:15888/ethereum/balances Error: {'message': 'Token not supported: ', 'httpErrorCode': 500, 'errorCode': 1006, 'stack': 'Error: Token not supported: \n    at EVMController.balances (/home/rapcomia/github/hummingbot/gateway/380/dist/src/chains/ethereum/evm.controllers.js:235:19)\n    at async Object.<anonymous> (/home/rapcomia/github/hummingbot/gateway/380/dist/src/chains/ethereum/ethereum.routes.js:43:16)'}
Traceback (most recent call last):
  File "/home/rapcomia/github/hummingbot/hummingbot/7367/hummingbot/core/utils/async_utils.py", line 9, in safe_wrapper
    return await c
  File "/home/rapcomia/github/hummingbot/hummingbot/7367/hummingbot/client/command/gateway_command.py", line 373, in _gateway_connect
    balances: Dict[str, Any] = await self._get_gateway_instance().get_balances(
  File "/home/rapcomia/github/hummingbot/hummingbot/7367/hummingbot/core/gateway/gateway_http_client.py", line 305, in get_balances
    return await self.api_request(
  File "/home/rapcomia/github/hummingbot/hummingbot/7367/hummingbot/core/gateway/gateway_http_client.py", line 234, in api_request
    raise e
  File "/home/rapcomia/github/hummingbot/hummingbot/7367/hummingbot/core/gateway/gateway_http_client.py", line 222, in api_request
    raise ValueError(f"Error on {method.upper()} {url} Error: {parsed_response}")
ValueError: Error on POST https://localhost:15888/ethereum/balances Error: {'message': 'Token not supported: ', 'httpErrorCode': 500, 'errorCode': 1006, 'stack': 'Error: Token not supported: \n    at EVMController.balances (/home/rapcomia/github/hummingbot/gateway/380/dist/src/chains/ethereum/evm.controllers.js:235:19)\n    at async Object.<anonymous> (/home/rapcomia/github/hummingbot/gateway/380/dist/src/chains/ethereum/ethereum.routes.js:43:16)'}

Steps to reproduce

  1. Setup hummingbot with gateway using test/core-connectors #380
  2. Run gateway connect uniswap and select avalanche network

Release version

dev-2.3.0

Type of installation

Source

Attach required files

na

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions