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.
Hi,
We have a customer who is using our EWS Server extension. The EWS server address is http://localhost:5300/EcoStruxure/DataExchange
When the setup processor starts, we see this error in the log file:
2022-11-22 13:14:46.5842,Status,Service,<no principal>,Starting REST Provider http://127.0.0.1:8083,
2022-11-22 13:14:46.6163,Debug,Service,<no principal>,RestConfiguration SmartConnector REST Provider is not valid.,MayNotContinue : EWS Server referenced by Ews Server Id was not found.,
2022-11-22 13:14:46.6219,Status,Service,<no principal>,Starting PortalAddress,
2022-11-22 13:14:46.6723,Debug,Service,<no principal>,Redirecting assembly load of Ews.Common, Version=2.4.10.0, Culture=neutral, PublicKeyToken=223885051a9a1eff, loaded by (unknown),
2022-11-22 13:14:46.6723,Info,Processor,<no principal>,EBO OPC Client - StartApplication,
2022-11-22 13:14:46.7315,Info,Processor,<no principal>,EBO OPC Client - InitApplication,
2022-11-22 13:14:46.7315,Info,Processor,<no principal>,Validation Prompt for EBO-OPC Client Setup Processor: MayNotContinue : Failed to initialize. ,
When we try using the IP in the EWS address instead of "localhost" (for example: http:/192.168.1.117:5300/EcoStruxure/DataExchange) we get a different error:
2022-11-22 12:57:51.0444,Debug,Service,<no principal>,RestConfiguration SmartConnector REST Provider is not valid.,MayNotContinue : EWS Server referenced by Ews Server Id was not found.,
2022-11-22 12:57:51.0444,Debug,Service,<no principal>,Redirecting assembly load of Ews.Common, Version=2.4.10.0, Culture=neutral, PublicKeyToken=223885051a9a1eff, loaded by (unknown),
2022-11-22 12:57:51.0444,Status,Service,<no principal>,Starting PortalAddress,
Any idea what may be the reason for the error?
Thanks.
Mike
Link copied. Please paste this link to share this article on your social media post.
Hi Mike,
Ews Server Id – The ID of the SmartConnector EWS Server which will be the data source. This value
is displayed on the EWS Server Detail page.
Can you please check if you have the correct value for Ews Server Id?
BR
Nilou
Link copied. Please paste this link to share this article on your social media post.
Hi Nilou,
Thank you for your answer. This is the EWS address defined in the SmartConnector Processor.
http://localhost:5300/EcoStruxure/DataExchange
I also tried the IP address instead of "localhost". Same results.
See the screen capture below.
Thank you.
Mike
Link copied. Please paste this link to share this article on your social media post.
Thank you.
I need more details to be able to help you.
Do you have any 'Ews Server Id' at the Endpoint Configuration Detail Page?
See the attatch file below.
BR
Nilou
Link copied. Please paste this link to share this article on your social media post.
Hi Nilou,
See the attached screen capture.
Thank you.
Mike
Link copied. Please paste this link to share this article on your social media post.
Hi Mike,
The information which you sent to me is the 'the Processor Configuration
Detail Page' but I need ' the Endpoint Configuration Detail Page'.
Configuration >> endpoint >> Click to Edit button on action toolbar to navigate to the Endpoint Configuration Detail Page >> Details Tab >> Http Configuration
Thank you
Nilou
Link copied. Please paste this link to share this article on your social media post.
Hi Nilou,
Thank you for your answer .
Is the endpoint mandatory for the EWS Server Setup processor to work properly?
Should it use the Ews.RestExtensions.SoapEwsRestProvider class?
Thanks.
Mike
Link copied. Please paste this link to share this article on your social media post.
Hi Mike,
Thank you for your explenation.
It could be an initialize problem, If you don't have any endpoind.
Have you received this error in the log file when you tried to started processor?
Can you please attach the log output from %programdata%\Smartconnector\Logs? we'll see what's going on.
br
Nilou
Link copied. Please paste this link to share this article on your social media post.
Hi Nilou,
See the attached log file.
Thank you.
Mike
Link copied. Please paste this link to share this article on your social media post.
take a look at the smartconnector success kit by searching it on this forum. it talks about rest api endpoint configuration- may help you identify an issue.
Link copied. Please paste this link to share this article on your social media post.
Is the endpoint mandatory for the EWS Server Setup processor to work properly?
Link copied. Please paste this link to share this article on your social media post.
Dependance of an endpoint could be mandatory but is fully based on the processors code.
For instance when it builds a folder structure and datapoints based on a response from an endpoint, when the endpoint does not serve the required data to perform the setup process then it will fail.
When having a setup process that builds.the content (like a EWS server in the framework) without the need of external data it might be possible that an endpoint is only needed after the setup, for instance by the update processor..
Most processors (when created properly) are logging such failures and root causes in the error logs so you might want to check those when you experience unexpected behaviors of a SmartConnector processor..
What processor are you currently using?
Link copied. Please paste this link to share this article on your social media post.
Do you have any 'Ews Server Id' at the Endpoint Configuration Detail Page?
Link copied. Please paste this link to share this article on your social media post.
Do you have any 'Ews Server Id' at the Endpoint Configuration Detail Page?
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.