You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
«Войти» on the diary sign-in can sit without an answer for minutes #233
What is broken. Pressing «Войти» on the diary sign-in can leave the button busy with no answer for a very long time. Owner's words: «без ответа/слишком долгий тайм-аут».
Cause. Every limit on the path is per call, and nothing bounds their sum.
Preflight GET /capabilities to our server: up to 60 s (call timeout, with a retry on connection failure).
The phone's own sign-in to the diary: 40 s per call. «Сетевой город» takes three calls, or five with the role step, which makes 120–200 s.
POST /session to our server: up to 60 s on the phone's side. On the server, the NetSchool adopt is four sequential upstream reads with per-phase limits only, and no overall deadline.
The goodbye to a held session, when re-submitting, runs before the spinner is even shown.
The worst case is about six minutes. Throughout it the back gesture is swallowed and the back button disabled.
Every timeout is mapped to a message («‹host› не ответил вовремя»); the problem is how long it takes to get there.
Expected.
One deadline over the whole diary exchange (about 25 s) and a short one on the preflight (about 10 s), both producing the existing timeout message.
A deadline on the server's upstream adopt, inside the phone's 30 s read timeout and Vercel's 30 s limit, answered with the existing 503 «upstream» that the phone maps to «Дневник не отвечает».
Activity
Give the diary sign-in deadlines over whole exchanges, so «Войти» ans…
Merge the sign-in deadlines into dev (#233)
Say where the work stands after the owner's fifteen defects, and move…
Say where the work stands after the developer mode, and that the serv…