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