URGENT - Bug in TOTP Validation
-
@StocksDeveloper oh intermittently! Are u running transactions on seconds timeframe, or facing issue while fetching data feed due to intermittent failures
-
@StocksDeveloper I can integrate python solution in any language.If you wish to do so reply me on utsav.moradiya3@gmail.com , instantaneous code fix. Before admin releases a solution in language, several algo traders have already adopted this temporary method.
-
@Harman08
Bro once you are logged in and refresh token is generated.Then there is no need of topt longer
I can integrate python solution in any language.If you wish to do so reply me on utsav.moradiya3@gmail.com , instantaneous code fix. Before admin releases a solution in language, several algo traders have already adopted this temporary method. -
@StocksDeveloper I can integrate python solution in any language.If you wish to do so reply me on utsav.moradiya3@gmail.com , instantaneous code fix. Before admin releases a solution in language, several algo traders have already adopted this temporary method.
-
Hi @StocksDeveloper , TOTP login is working without any issues.
-
@admin Still errors coming. We have already provided many suggestions. Could you please help us understand what fixes you have done? Did you make sure that all your server timestamps are matching with Standard Internet Time?
Or was there no fix done?
-
Hi @StocksDeveloper , all our servers are synced with standard time properly and we accept upto 3 time periods - past, current and future.
-
@admin There's no way for us to find the cause from outside. The errors are still happening.
We have added multiple retries on our side to avoid this error. Now this is a workaround.
Another workaround would be to avoid login again and again. Our session timeout for angel is 50 mins. That means if there's 50 mins of inactivity, we will relogin to angel account. If you tell us exact time of session expiry on your side, then we will increase session timeout on our side. This will reduce login requests & the chances of error.
Now these are just workarounds, you need to check what is wrong.
One way to check this is writing a piece of code which does login every 2-3 seconds. And run this code for whole day (market hours) on any machine outside of your data centre. This code should never fail, if it does fail then it proves the issue is on server side OTP validation.
-
Hi @StocksDeveloper , session stays valid till next day 5am.
-
The issues seem to have been fixed.
Although we do see errors, but those are mostly for a select few accounts & likely due to invalid TOTP key.