SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Link copied. Please paste this link to share this article on your social media post.
Hello everyone
I'm using a third party to read the EBO SOAP REST API
But after reading 1000 times each time
will be restricted from reading
Take a break before reading again
But I set 10000 times per second on SMARTCONNECT SERVER
It feels like an invalid setting
Is there any way to solve this problem?
Link copied. Please paste this link to share this article on your social media post.
Hi @TomeLu
What i mean is:
1) Check your security settings
2) When the redirect is enabled you need to use https as server address in your endpoint to avoid that each http REST call is redirected to https
BR,
Erwin
Link copied. Please paste this link to share this article on your social media post.
The setting you are referring to is for throttling and you are unlikely to get anywhere near 10,000 or even 1000 request responses per second. If your client stops receiving data after 1000 requests, then make sure you are reusing the token, rather than requesting a new token each time which would exhaust the pool of EWS session tokens.
Link copied. Please paste this link to share this article on your social media post.
Another possible reason could be when using a HTTP endpoint to the EWS server (ES or AS) that has his security settings "redirect web clients to https" enabled, when this is the case each call is redirected and the limit is 1000 afaik for this. If that is the scenario you should either change the endpoint to HTTPS or change the securiy setting of the EWS server so the HTTP calls are not redirected.
Link copied. Please paste this link to share this article on your social media post.
Do you mean to change the smartconnect part to https?
But after I try to change https, the web page will not display properly.
Or can you elaborate on what you mean?
Thanks in advance
Posted: 2024-01-08 04:58 PM . Last Modified: 2024-01-08 05:01 PM
Link copied. Please paste this link to share this article on your social media post.
I started reading with different tokens and stopped after 100 times.
So the setting was modified to 10,000 times per second
Later, I used different tokens to read and found that it could only be read up to 1,000 times.
So I tried using the same token to read 1000 times
It will also stop reading messages when reapplying for a new token and continuing reading
Link copied. Please paste this link to share this article on your social media post.
Hi @TomeLu
What i mean is:
1) Check your security settings
2) When the redirect is enabled you need to use https as server address in your endpoint to avoid that each http REST call is redirected to https
BR,
Erwin
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.