Navigation

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

    smartConnect error

    General Discussion
    11
    33
    142
    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.
    • V
      vvbchandrasekhar @kkt237 last edited by

      @kkt237 did it work? I also checked out the code now of smart-connect-api from their github. will try to make changes to it if you think it helped you.

      K 1 Reply Last reply Reply Quote 0
      • G
        G25453 @kkt237 last edited by

        @kkt237 Hardcoding the public ip works.
        String clientPublicIP = "10.21.13.45";
        A temporary workaround for the moment

        G 1 Reply Last reply Reply Quote 0
        • G
          garry07396 @G25453 last edited by

          @G25453 i changed it to https://checkip.amazonaws.com/

          K 1 Reply Last reply Reply Quote 0
          • K
            kkt237 @garry07396 last edited by

            @garry07396 Yes. There are many as such. Good you found one from aws.

            1 Reply Last reply Reply Quote 0
            • K
              kkt237 @vvbchandrasekhar last edited by

              @vvbchandrasekhar It worked for me. Look at @garry07396 comment. You can use that url too

              V 1 Reply Last reply Reply Quote 0
              • V
                vvbchandrasekhar @kkt237 last edited by

                @kkt237 @garry07396 thanks a lot. will try in the interim.

                @admin please provide an ETA for the new jar.

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

                  HI @vvbchandrasekhar Our team is working on it on priority once fixed we will update here.

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

                    @admin When can we expect the problem to be resolved. This is the second day without any trade 😞

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

                      HI @rishi This issue has been resolved kindly update us if you face any other issue.

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

                        @admin I am still facing the same error.

                        rishi 1 Reply Last reply Reply Quote 0
                        • rishi
                          rishi @rishi last edited by

                          @rishi As mentioned by garry I changed the url to
                          https://checkip.amazonaws.com/
                          and it works.

                          rishi punit 2 Replies Last reply Reply Quote 0
                          • rishi
                            rishi @rishi last edited by rishi

                            @rishi Would you be updating this change in Github?

                            V 1 Reply Last reply Reply Quote 0
                            • V
                              vvbchandrasekhar @rishi last edited by

                              @rishi i can see it is updated on https://github.com/angelbroking-github/smartapi-java

                              I pulled in the latest dist smart-api.jar and able to connect to the broker this afternoon

                              rishi 1 Reply Last reply Reply Quote 0
                              • rishi
                                rishi @vvbchandrasekhar last edited by

                                @vvbchandrasekhar Oh, great.

                                1 Reply Last reply Reply Quote 0
                                • punit
                                  punit @rishi last edited by

                                  @rishi Or better hardcode the IP. The IP resolution eats away another .5 - 1 sec of API execution.

                                  rishi 1 Reply Last reply Reply Quote 0
                                  • rishi
                                    rishi @punit last edited by

                                    @Ashok Thanks Ashok, I will try doing that 👍

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