Navigation

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

    API Limitation errors in AWS Cloud

    Python SDK
    0
    6
    60
    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.
    • R
      ramk last edited by ramk

      My code works fine when executed from my laptop. When I run the same code from AWS cloud elastic container service , I intermittently get api limit error when placing orders.

      I see the below error only in AWS cloud,

      "Exception while retriving IP Address,using local host IP address [Errno -2] Name or service not known"

      I understand , if for some reason the IP address retrieval fails , smartconnect will assign a prefixed IP for clientPublicIP and clientLocalIP. These IP details gets populated in the request header. Does your web application firewall have some throttling for AWS originating IP's.

      @admin @administrators Kindly respond

      A punit 2 Replies Last reply Reply Quote 0
      • A
        admin @ramk last edited by

        Hi @ramk , we will review this and get back to you.

        1 Reply Last reply Reply Quote 0
        • R
          ramk last edited by

          More details : I am running my code in AWS elastic container services with AWS fargate backed cluster

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

            @ramk Edit the code and hardcode the IP. In the past had issues with library that fetches public IP of the client as well. reported few times, Angel doesn't seems to care. 🙂

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

              @Ashok
              I tried hardcoding IP's. that didnt help and hence reporting here. Also thinking of trying concurrent order placement. lets see if that help

              1 Reply Last reply Reply Quote 0
              • R
                ramk last edited by

                @admin

                any update?

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