API Limitation errors in AWS Cloud
-
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
-
any update?
-
@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 -
@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. :)
-
More details : I am running my code in AWS elastic container services with AWS fargate backed cluster
-
Hi @ramk , we will review this and get back to you.