nofx icon indicating copy to clipboard operation
nofx copied to clipboard

币安API调用失败

Open laojiuu opened this issue 1 year ago • 12 comments

币安的2个key都没有问题,权限也全部都设置了,服务器IP白名单也添加了,但依然提示如下错误:

2025/10/30 20:12:30 🔄 缓存过期,正在调用币安API获取账户余额... 📝 决策记录已保存: decision_20251030_201230_cycle3.json 2025/10/30 20:12:30 ❌ 币安API调用失败: code=0, msg=Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error. 2025/10/30 20:12:30 ❌ 执行失败: 构建交易上下文失败: 获取账户余额失败: 获取账户信息失败: code=0, msg=Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error.

找不到问题所在

laojiuu avatar Oct 30 '25 12:10 laojiuu

看英文报错是服务器的问题,服务器所在地区不支持?换个香港的吧

radiant7s avatar Oct 30 '25 12:10 radiant7s

看英文报错是服务器的问题,服务器所在地区不支持?换个香港的吧

是的呀,我也很奇怪,不过我的服务器就是香港的

laojiuu avatar Oct 30 '25 12:10 laojiuu

是不是IP白名单设置的不对

starchou6 avatar Oct 30 '25 12:10 starchou6

我的跑了一天没啥问题,现在也报这个错误了,怀疑是ip被禁了

web3olalala avatar Oct 30 '25 12:10 web3olalala

换日本节点就好了,香港的不行

web3olalala avatar Oct 30 '25 12:10 web3olalala

我的跑了一天没啥问题,现在也报这个错误了,怀疑是ip被禁了

不应该吧,之前我见有提示频率问题,直接封还是第一次见,不行换个ip试试吧,我的跑24小时了还没有遇见

radiant7s avatar Oct 30 '25 12:10 radiant7s

换日本节点就好了,香港的不行

问题解决了,确实是香港的服务器也不行,我换了一台日本的服务器就没任何问题了

laojiuu avatar Oct 30 '25 13:10 laojiuu

我昨天跑还是可以的 今天就不行 报错是一样的。我是本地部署的 需要买服务器么 或是换个ip?ip为什么会被封呢 谢谢

wd19891115 avatar Oct 30 '25 16:10 wd19891115

欧盟部分国家、英国好像确实是不支持的

CaryBond @.***> 于2025年11月1日周六 15:37写道:

CaryBond left a comment (tinkle-community/nofx#69) https://github.com/tinkle-community/nofx/issues/69#issuecomment-3475900254

难道一定要日本节点吗??我用英国ip的服务器也是这个问题

— Reply to this email directly, view it on GitHub https://github.com/tinkle-community/nofx/issues/69#issuecomment-3475900254, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCII7GAANECUYH7HRFEXZB332RPK3AVCNFSM6AAAAACKVCWE6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTINZVHEYDAMRVGQ . You are receiving this because you authored the thread.Message ID: @.***>

laojiuu avatar Nov 01 '25 07:11 laojiuu

Can be closed @tinkle-community

xqliu avatar Nov 02 '25 01:11 xqliu

账户 我币安新建的一个,美国服务器,还是不行啊,你怎么操作的

jgs555 avatar Nov 09 '25 13:11 jgs555

币安本来就不支持美国地区的,你需要换个日本的

jgs555 @.***> 于2025年11月9日周日 21:17写道:

jgs555 left a comment (NoFxAiOS/nofx#69) https://github.com/NoFxAiOS/nofx/issues/69#issuecomment-3508304162

账户 我币安新建的一个,美国服务器,还是不行啊,你怎么操作的

— Reply to this email directly, view it on GitHub https://github.com/NoFxAiOS/nofx/issues/69#issuecomment-3508304162, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCII7GCNO3LSHGLEQAJDIQD3345GFAVCNFSM6AAAAACKVCWE6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTKMBYGMYDIMJWGI . You are receiving this because you authored the thread.Message ID: @.***>

laojiuu avatar Nov 09 '25 17:11 laojiuu