Navigation

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

    AB1010: Invalid Session or Session is Expired Please Re-login

    General Discussion
    13
    50
    244
    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.
    • S
      StocksDeveloper last edited by

      We saw this error for the first time today.

      The error is pretty clear, so we know what to do. But we have following queries

      We have internally kept session timeout of 10 mins & it was working fine so far.

      • So were there any changes done on the session timeout interval?
      • What is the current session timeout interval you have?
      tester1234 S 3 Replies Last reply Reply Quote 0
      • L
        lakshmi_73 last edited by

        @admin So ,many errors are occurring.. kindly fix ASAP

        L 1 Reply Last reply Reply Quote 0
        • L
          lakshmi_73 @lakshmi_73 last edited by

          @admin

          2021-09-01 10:01:15 : INFO : [Angel:285] : Fetching order details for 210901000182820 from broker
          2021-09-01 10:01:15 : WARNING : [Angel:302] : Failed to get orderbook details for orderid 210901000182820! 0th attempt
          2021-09-01 10:01:15 : WARNING : [Angel:307] : orders response data: None
          2021-09-01 10:01:15 : ERROR : [Angel:308] : Traceback (most recent call last):
            File "/home/algo/AlgoTrading_new/Straddle/Angel.py", line 289, in get_order_details
              for order in orders_data:
          TypeError: 'NoneType' object is not iterable
          
          2021-09-01 10:01:45 : INFO : [Angel:285] : Fetching order details for 210901000182820 from broker
          2021-09-01 10:01:45 : WARNING : [Angel:302] : Failed to get orderbook details for orderid 210901000182820! 1th attempt
          2021-09-01 10:01:45 : WARNING : [Angel:307] : orders response data: None
          2021-09-01 10:01:45 : ERROR : [Angel:308] : Traceback (most recent call last):
            File "/home/algo/AlgoTrading_new/Straddle/Angel.py", line 289, in get_order_details
              for order in orders_data:
          TypeError: 'NoneType' object is not iterable
          

          Every minute this error is coming!

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

            @StocksDeveloper Many errors observed in the logs.

            [P252587 : P252587]: Cached POSITION size 22 is more than received data 20.
            
            [RPLD1002 : RPLD1002]: Cached POSITION size 20 is more than received data 18.
            
            [KSST1004] Cached POSITION size 4 is more than received position data 0
            
            • Data not coming (orders, positions). Getting zero rows or less than earlier rows (which should not happen)
            • Invalid session errors
            Y 1 Reply Last reply Reply Quote 0
            • Y
              yash12392 @StocksDeveloper last edited by

              @StocksDeveloper Happened the same with me, we rely on the Orderbook endpoint which did not return any response even when trades were being taken into account. Quite annoying as clients complaint and don't understand these issues.

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

                @StocksDeveloper another error...

                TTVP1004:210901000065148:Error from Angel: Internal server error.. Angel error code: AB2000, Message: 172
                
                1 Reply Last reply Reply Quote 0
                • S
                  StocksDeveloper @yash12392 last edited by

                  @yash12392 yes, normally throughout the trading day the number of orders or positions in an account always stay the same or increase. They can never decrease.

                  But read order or position response is returning lesser or zero number of rows than what was received just before.

                  Very strange.

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

                    Hi @lakshmi_73 @StocksDeveloper @yash12392 this issue has been resolved.

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

                      @admin thanks for the update.

                      what about less or zero records coming in orders/positions response? Is that also resolved?

                      A S 2 Replies Last reply Reply Quote 0
                      • A
                        admin @StocksDeveloper last edited by

                        HI @StocksDeveloper said in AB1010: Invalid Session or Session is Expired Please Re-login:

                        what about less or zero records coming in orders/positions response? Is that also resolved?
                        We will update you on this part asap.

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

                          @StocksDeveloper Too many internal server errors in the logs.

                          STGN1003 @ 12:52:39
                          TZ7990 @ 12:52:38

                          HTTP Status 500 – Internal Server Error
                          

                          This is totally unacceptable.........horrible experience guys.

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

                            HI @StocksDeveloper We regret the inconvenience we will update you asap.

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

                              @admin No update yet, is this resolved?

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

                                HI @StocksDeveloper This issue has been solved.

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

                                  @admin It looks like we are performing testing duties for you for free.

                                  Why were the changes not tested before going live?

                                  Who was responsible for this?

                                  What action have you taken?

                                  Absolutely bad experience from such a big broker. The worst reliability of all brokers we work with. Do something about it.

                                  1 Reply Last reply Reply Quote 1
                                  • S
                                    Sam4173 last edited by

                                    when will clear?

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      T167171 @Sam4173 last edited by

                                      @Sam4173 said in AB1010: Invalid Session or Session is Expired Please Re-login:

                                      will

                                      @admin
                                      Facing same

                                      R 1 Reply Last reply Reply Quote 0
                                      • M
                                        mihirshah2500 last edited by

                                        Facing this issue again.
                                        @admin when would this be cleared?

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          T167171 @mihirshah2500 last edited by

                                          @mihirshah2500 what error r u getting

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            mihirshah2500 @T167171 last edited by mihirshah2500

                                            @T167171 Invalid Session or Session is Expired Please Re-login.
                                            Happening with rmsLimit() api.

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