Error on POST https://localhost:15888/amm/price
Describe the bug When I run the script amm_data_feed_example.py hummingbot issues errors
Steps To Reproduce
- I have connected my wallet to pancakeswap_binance-smartchain_mainet and sushiswap_binance-smartchain_mainet.
- Completed the approval of APE and USDT tokens.
- Corrected the script amm_data_feed_example.py
- I ran this script in the hummingbot terminal.
- I received a number of errors
Based on the errors, I assume that, regardless of the exchange I have chosen to operate, the bot turns to uniswap and uses ETH to pay for GAS.
Screenshots
Logs logs_amm_data_feed_example.log logs_gateway_app.log.2024-06-14.log
Script amm_data_feed_example.txt
Conf binance-smart-chain.yml.txt
Release version hummingbot-dev-1.29.0 (source), gateway-1.28 (source)
What do I need to do to fix this error?
The problem is solved by setting a very simple password for the gateway. Program code adjustments are required.
The problem is solved by setting a very simple password for the gateway. Program code adjustments are required.
I don't think this is the problem. I've run into the simple password error before and have fixed that; however, I'm getting a similar error as above:
2024-06-28 12:40:31,863 - 15 - hummingbot.core.gateway.gateway_http_client - WARNING - Call to https://localhost:15888/amm/price failed. See logs for more details. 2024-06-28 12:40:31,863 - 15 - GatewayEVMAMM - WARNING - Error on POST https://localhost:15888/amm/price Error: {'message': 'Price query failed: Cannot find a valid swap route', 'httpErrorCode': 500, 'errorCode': 1013, 'stack': 'Error: Price query failed: Cannot find a valid swap route\n at /home/gateway/dist/src/connectors/uniswap/uniswap.controllers.js:73:23\n at Generator.throw (<anonymous>)\n at rejected (/home/gateway/dist/src/connectors/uniswap/uniswap.controllers.js:6:65)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)'} 2024-06-28 12:40:34,526 - 15 - hummingbot.strategy.amm_arb.amm_arb - INFO - No arbitrage opportunity.
I have multiple instances running using Uniswap and Sushiswap with no problems, but this one using PancakeSwap is persistent.
gateway routes has been updated as of v2.6.1