Bitmex Request Expired
See original GitHub issue- OS: Win 10
- Programming Language version: 1.38.65
- CCXT version: 1.38.65
I have tried numerous things but under windows I fail to read https://testnet.bitmex.com/api/v1/instrument/activeAndIndices with the below error which would make me think that I have a clock sync issue even though my time drift is 4ms from NTP. This works fine under WSL just not in Windows. Just seeing if you got any other ideas to try?
Thanks
{"message":"bitmex {\"error\":{\"message\":\"This request has expired - `expires` is in the past. Current time: 1606861816\",\"name\":\"HTTPError\"}}
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
"This request has expired" error #202 - BitMEX/api-connectors
The error indicates your "expires" field is set in the past, which would most likely be the result of a difference in time...
Read more >API Keys Usage - BitMEX
api-expires : A UNIX timestamp after which the request is no longer valid. This is to prevent replay attacks. UNIX timestamps are in...
Read more >REST API Message Format - BitMEX
All responses are application/json. ... Withdrawal ban expires at [Date]; Withdrawals currently disabled, please contact Customer Support ...
Read more >Updates to Error Codes and Messages When Requesting a ...
The BitMEX API has updated its error codes and messages for accounts that have withdrawal suspensions or bans in place.
Read more >WebSocket API - BitMEX
BitMEX API usage requires an API Key. Permanent API Keys can be locked to IP address ranges and revoked at will without compromising...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah I have it already set to sync every 15 minutes I found an issue in code though so this is resolved now thanks.
@bigcountry-scav you have to make sure that it is in sync with UTC:
Just enabling the time sync in windows settings is not enough, check this issue: https://github.com/ccxt/ccxt/issues/936#issuecomment-353774479
Let us know if that does not help.