Open korzh875 opened 1 year ago
> connect binance
✅ Data loaded from binance-api.json
🔄 Trying to connect to binance REST api...
Unhandled error
{
code: undefined,
message: undefined,
body: '',
headers: {
'content-type': 'text/plain; charset=utf-8',
'content-length': '0',
connection: 'close',
date: 'Wed, 14 Jun 2023 09:57:48 GMT',
server: 'nginx',
'x-content-type-options': 'nosniff',
'x-frame-options': 'DENY',
'x-xss-protection': '1; mode=block',
'referrer-policy': 'strict-origin-when-cross-origin',
'cache-control': 'no-cache, no-store, must-revalidate, no-cache, no-store, must-revalidate',
pragma: 'no-cache, no-cache',
expires: '0',
'content-security-policy': "style-src 'sha256-41aqV2rU3VSW4Rw0q/ap6Td3Sa5gRFUaN5pyWUhfmmg=' 'sha256-rQsgTBluxB5oftLdgyfbIbaR3e7AnthAftxDbBCyERI=' https://bin.bnbstatic.com; font-src https://bin.bnbstatic.com; img-src https://bin.bnbstatic.com; default-src 'self'",
'strict-transport-security': 'max-age=31536000; includeSubdomains',
'x-cache': 'Error from cloudfront',
via: '1.1 e44e0b24e706487eaec6b9e01f2166dc.cloudfront.net (CloudFront)',
'x-amz-cf-pop': 'FRA56-P2',
'x-amz-cf-id': '2svCe2KswU6EtLdoj42V6H5bqFix6bpc1IYGKVIrDAn2GdASHaraRg=='
},
requestUrl: 'https://testnet.binance.vision//fapi/v2/account?timestamp=1686736667928&recvWindow=5000&signature=0871702a4dc9a7c61b9a656f58916c85a135a1ce3a3c3f74778f7bd8191d3dda',
requestBody: undefined,
requestOptions: {
recvWindow: 5000,
syncIntervalMs: 3600000,
strictParamValidation: false,
disableTimeSync: true,
api_key: undefined,
api_secret: undefined,
baseUrl: 'https://testnet.binance.vision/'
}
}
Hello, how to connect to the testnet?
not working