SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Posted: 2017-12-21 06:57 AM
Link copied. Please paste this link to share this article on your social media post.
I've written a client which polls the Soap/Rest endpoint from a list of structureware paths, and it frequently (though not always) receives Error 429 response. I looked this up, and the http standard has it as a "too many requests" error. Is there some way to change the configuration to allow more client requests? I've tried adjusting the throttling, and it didn't seem to make a difference.
Link copied. Please paste this link to share this article on your social media post.
It looks like you are exceeding the Default Rates throttling policy for all endpoints in SmartConnector; 100 calls per minute.
The good news is, yes you can change this. As with most things in SmartConnector, Throttling Policies are completely configurable at the Endpoint Configuration.
You have a couple of options. You could raise the default values or create an override which is based on either an IP address/range or an API key. Overrides can either raise or lower call rates. Review section 5.2.2.1 of the SmartConnector RESTful EWS Gateway.pdf document for details.
Remember, throttling policies are there for a reason so be careful how much you open that up.
Posted: 2017-12-21 10:24 AM
Link copied. Please paste this link to share this article on your social media post.
Thanks, I had tried setting the throttling before and it did not work. It seems you have to Stop and Start the SmartConnector Service in order to make the changes take effect.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.