SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Posted: 2021-02-26 11:52 AM
Link copied. Please paste this link to share this article on your social media post.
We've set up EBO. The only EWS server option I can find for it is enable/disable. We've enabled this setting.
In the smart connector portal, we created a SoapEwsRestProvider endpoint. Both the EBO and Smart Connector servers are hosted on the same machine. The SoapEwsRestProvider endpoint is configured to point to: http://localhost/EcoStruxure/DataExchange but I'm not sure if this is the proper path since I cant find any configuration settings in EBO that defines where the EWS server is hosted.
I've tried several other potential paths as well. Unfortunately, I'm also not sure how to test connectivity other than attempting to log in through the endpoints swagger authentication which fails regardless of whether I'm using the smart connector or EBO admin account credentials.
Link copied. Please paste this link to share this article on your social media post.
Hi,
Do you have multiple Rest providers configured in your system?
perhaps they are both using the same port, so the one pointing at your EBO instance is not starting up.
if this could be the case, delete the one that is pointing at the address listed in this error and restart the other endpoint.
Best Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
What ports are set in the software administrator? 80 and 443?
When entering http://localhost in the browser do get the login screen of webstation without security messages (https)
Did you disabled the redirect to https in the security settings on the control panel?
Posted: 2021-02-26 12:08 PM
Link copied. Please paste this link to share this article on your social media post.
Yes, 80 and 443.
http://localhost through the browser works fine for logging in.
Redirect to https is disabled.
Link copied. Please paste this link to share this article on your social media post.
When you log in to EBO are you using credentials in the default domain or do you need to type in a domain?
EWS can only be accessed via the default EBO domain.
Also, in SC if you turn on EWS Consume logging (logging filter), and set the Logging Level to Trace (Settings). What messages show up in the SC log?
Best Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
When opening swagger and entering admin credentials, can you execute the Root operation? When running the get request you should get a 200 status code and see the server name you approach
Posted: 2021-02-26 12:26 PM
Link copied. Please paste this link to share this article on your social media post.
No, I get error 401 "Authorization has been denied for this request."
Posted: 2021-02-26 12:27 PM
Link copied. Please paste this link to share this article on your social media post.
We're using the default EBO domain.
Where do I find the SC log?
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-02-26 12:34 PM
Link copied. Please paste this link to share this article on your social media post.
2021-02-26 20:33:31.3844,Error,RestServe,<no principal>,There was no endpoint listening at http://localhost:57621/EcoStruxure/DataExchange that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:57621
Link copied. Please paste this link to share this article on your social media post.
Hi,
Do you have multiple Rest providers configured in your system?
perhaps they are both using the same port, so the one pointing at your EBO instance is not starting up.
if this could be the case, delete the one that is pointing at the address listed in this error and restart the other endpoint.
Best Regards,
-Jeff
Posted: 2021-02-26 12:44 PM
Link copied. Please paste this link to share this article on your social media post.
I removed the default instance that Smart Connector started with and restarted the EBO server. I think that has made some progress but now I have a new error.
2021-02-26 20:42:16.0110,Error,RestServe,<no principal>,The HTTP request is unauthorized with client authentication scheme 'Digest'. The authentication header received from the server was 'Digest realm="ews@SxWBM",qop="auth",nonce="5F16F3167A9EAAB7B75F36384F9EAE22538ADCF9B9D29884232D35BAA19B009F9D0F8CE98400CE4B5525CF8B",opaque="227BAB"'.
The remote server returned an error: (401) Unauthorized.
Link copied. Please paste this link to share this article on your social media post.
Hi @Anonymous user ,
This generally indicates your EBO credentials are not correct.
Are you able to log into EBO with the same credentials you are using in Swagger?
Best Regards,
-Jeff
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.