Cannot enable 2 factor authentication

I use google authenticator.
scan code


in time I enter the 6-digit pin. its wrong.
and so many times, gitab considers all codes incorrect, although I enter them on time and correctly.
what is the problem?
Is this some kind of joke on the part of gitlab that does not allow for inclusion of 2 factor authorization?

PS: the same actions on githab did not cause any problems., Everything works correctly.

I decided to synchronize the time in the application on the phone.