binance-exchange/binance-java-api

Timestamp for this request was 1000ms ahead of the server's time.

mohamedchennouf opened this issue · 1 comments

I just tried to run a simple function inside the readme but i got this error : Timestamp for this request was 1000ms ahead of the server's time. For exemple :

TickerStatistics tickerStatistics = client.get24HrPriceStatistics("DOGE");
System.out.println(tickerStatistics.getLastPrice());

or

List openOrders = client.getOpenOrders(new OrderRequest("DOGE"));
System.out.println(openOrders);

My bad, i call the services inside a synchronious thread