I am trying to configure my account authorization through the ESIA service (all the necessary system data was registered on the portal, permission to access the test service was obtained).
After sending a request for an authorization code and after entering the ESIA test user data on the form, instead of redirecting to the address specified in the parameters, it displays a message that the waiting time has been reached.
Tell me, please, with what it can be connected?
PS I am sending data to https://esia-portal1.test.gosuslugi.ru/aas/oauth2/ac with the following content:

client_id = MY_ID
client_secret = MIIEpzCCA4 + gAwI ...
redirect_uri = https% 3A% 2F% 2Fsite.ru% 2Fregeca% 2Fesia.php
scope = openid
response_type = code
state = f60f1929-b879-4fab-8228-6ae28f8ca7b7
access_type = offline
timestamp = 2018.01.15 + 13% 3A47% 3A15 +% 2B18000

PPS As I understand it, the problem arises because of the value in the timestamp variable. The web server is located in the time zone of Ekaterinburg, the web server is also configured for this zone.

  • I hope someone will come in handy) I received an answer from ESIA technical support: usually such a message means that the timestamp parameter is not valid, is not relevant up or down. The system needs to synchronize time with the resource vniiftri.ru/index.php/ru/services/22-ntp . - Ann
  • Then it is better to press the button "answer your own question." - don Rumata

1 answer 1

Usually such a message means that the timestamp parameter is not valid, is not up or down. The system needs to synchronize time with the resource . Logs can be viewed at .

PS Found that in order to get the logs in the normal form, they need to go to the ip-address, which is the domain of the information system (the one that was registered in the ESIA). At least, I just got to see the answer to the request. (It turned out to come from another ip, so most likely it was some kind of failure)

PPS The time-out error was resolved after the correct timestamp parameter was passed. In accordance with the instruction timestamp has the format yyyy.MM.dd HH: mm: ss Z, in php this parameter should be formed as follows: urlencode(date('Ymd H:i:s O'))

  • one
    You can still slap daw "right answer" - don Rumata