gateway icon indicating copy to clipboard operation
gateway copied to clipboard

proxy suggest

Open lgfinfo opened this issue 8 months ago • 1 comments

Describe the bug

when you use proxy to test this,you will find you can't fetch mainnet or other rpc,like you in some country you can't connect to mainnet internet . i asked grok,find a way to fix this ,so i hope hummingbot can fix this.

Steps to reproduce

import { setGlobalDispatcher, ProxyAgent } from 'undici';

// 配置代理 const proxyUrl = 'http://127.0.0.1:7890'; // 替换为你的代理地址 const dispatcher = new ProxyAgent(proxyUrl); process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';

Release version

2.4

Type of installation

Source

Attach required files

No response

lgfinfo avatar Apr 08 '25 13:04 lgfinfo

这个修复是要改哪个文件?

sup194 avatar Apr 09 '25 12:04 sup194

this issue needs more context. what do you need to proxy?

fengtality avatar Aug 27 '25 22:08 fengtality