Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    URGENT - Bug in TOTP Validation

    Test
    0
    19
    161
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bh_nil @StocksDeveloper last edited by

      @StocksDeveloper oh intermittently! Are u running transactions on seconds timeframe, or facing issue while fetching data feed due to intermittent failures

      1 Reply Last reply Reply Quote 0
      • U
        UtsavM @StocksDeveloper last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • U
          UtsavM @bh_nil last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • U
            UtsavM @StocksDeveloper last edited by

            @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.

            A 1 Reply Last reply Reply Quote 0
            • A
              admin @UtsavM last edited by

              Hi @StocksDeveloper , TOTP login is working without any issues.

              S 1 Reply Last reply Reply Quote 0
              • S
                StocksDeveloper @admin last edited by StocksDeveloper

                @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?

                A 1 Reply Last reply Reply Quote 0
                • A
                  admin @StocksDeveloper last edited by admin

                  Hi @StocksDeveloper , all our servers are synced with standard time properly and we accept upto 3 time periods - past, current and future.

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    StocksDeveloper @admin last edited by

                    @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.

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      admin @StocksDeveloper last edited by

                      Hi @StocksDeveloper , session stays valid till next day 5am.

                      1 Reply Last reply Reply Quote 0
                      • S
                        StocksDeveloper last edited by

                        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.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post