Hi,
after hours of searching the net and not finding anything useful I decided to re-check time synchronization between my phone and the remote server.
- I wrote a javascript that fetches the server time via an ajax call and displays it on a page
- I deployed the app to the remote server and started it from there
- And indeed I found out that the server time was 1:55 min ahead!! (I also checked several time servers which confirmed that my phone time was correct)
When I then manually set the time of my phone to the server time, 2FA activation worked properly (the confirmation keys were accepted).
2FA activation on local host accordingly failed (since now local server time and phone time were different).
Since my application runs on a shared server I do not have exclusive access to the server. I wonder how I can synchronize the server time with time of a time server.
Does anyone have a suggestion how I should go about this?
Regards, Manu