Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uniswap - Error connecting wallet to Avalanche network #399

Closed
rapcmia opened this issue Jan 27, 2025 · 0 comments
Closed

Uniswap - Error connecting wallet to Avalanche network #399

rapcmia opened this issue Jan 27, 2025 · 0 comments
Labels
avalanche network bug Something isn't working

Comments

@rapcmia
Copy link
Contributor

rapcmia commented Jan 27, 2025

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

@rapcmia rapcmia added avalanche network bug Something isn't working labels Jan 27, 2025
@rapcmia rapcmia closed this as completed Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
avalanche network bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant