GeorgeLeithead/LiLo_Public

Unable to order on MainNet

Closed this issue ยท 4 comments

When placing an order on the MainNet, the order confirmation screen appears to do nothing. This is on LiLo version 1.0.2 build 28

To Reproduce
Steps to reproduce the behavior:

  1. Go to Orders
  2. Fill in a valid order
  3. Click on the order button.
  4. On the Order Confirmation screen click the Confirm button.

Expected behavior
I expect the order status to be updated accordingly (created, rejected, etc.).

Smartphone (please complete the following information):

Additional context
Add any other context about the problem here.

This does not appear to effect the TestNet, but only MainNet. There is a time sync problem between the device and ByBit servers. The error recieived is:

'''10002: request expired, check your timestamp and recv_window'''

We are looking to increase the timestamp tolerance in order to resolve this issue, whilst we also work on a better way to convey this information to users.

We have put in resilience that make multiple attempts at placing the order, and should the order fail because of the timestamp, automatically adjust and try a further 2 times before giving up.

This appears to be related to the actual time on the device being out of sync. I have left the resilience to try and account for this difference.