Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

EWS client logon events (and missing a logout event) and sessions question

SmartConnector Forum

Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Building
  • SmartConnector
  • SmartConnector Forum
  • EWS client logon events (and missing a logout event) and sessions question
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
JeffBowman
Sisko JeffBowman Sisko
164
ardak
ardak Schneider Alumni (Retired)
34
sesa180908_brid
Commander sesa180908_brid Commander
34
mike_meirovitz
Commander mike_meirovitz
21
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to SmartConnector Forum
henrik_alarmdir
Ensign henrik_alarmdir
Ensign

Posted: ‎2021-03-04 06:38 AM . Last Modified: ‎2021-03-04 07:07 AM

0 Likes
2
935
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-03-04 06:38 AM

EWS client logon events (and missing a logout event) and sessions question

Hello

 

We have developed an application which can browse and display the structure of the system in the application.

 

We are using the wsdl and are using SOAP, we are wondering about:

  1. the constantly "messaging" user logon, it seems that it creates a new session for each request/response, is that to be expected? Could the application "reuse" an previous session e.g. 10 seconds later (user timeout is 10min)?
  2. We never see any logout messages, would it be possible to close the session from the client or does it automatically close once the request/response is completed?
  3. Is there a limit to the sessions EBO/EWS can handle?
  4. If the max sessions has been reached, could that possibly cause a socket error 10054 connection reset by peer (EBO)? We get quite a lot of those 10054 errors when we have been requesting for some time, which causes us to think we are actuallty not closing sessions correctly?

 

Regards

Henrik

 

 

Attachments
Tags (1)
  • Tags:
  • english
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 2
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2021-03-04 08:27 AM

0 Likes
1
927
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-03-04 08:27 AM

Hi Henrik,

 

The issue you are currently seeing is one of the many reasons why we don't support direct SOAP connections to EBO via EWS, and instead ask everyone to use Smart Connector for this type of integrations as the Smart Connector EWS Client (and Managed Client) has code to deal with this, and a few other quirks.

 

To your questions.

1. Yes this is expected and it is possible to re-use a session, but it requires customizing your SOAP client. You will need to use cookies, the cookies are returned from EBO in their SOAP response. This cookie lasts 5-10 minutes before needing to be refreshed. There will need to be logic to handle the refresh.

2. The sessions automatically expire (after like 5-10 minutes), there is no way to force it to log off (without rebooting EBO).

3. Yes about 1000 in around a 5 minute period, going over that will result in a socket error.

4. Yes, see above. You will need to wait for the timeout period for the sockets to be released. Keep in mind, this socket error does not only affect your application, as it will actually make it so that no one at all can access EBO.

 

Best Regards,

 

-Jeff

 

Tags (1)
  • Tags:
  • english
Reply
henrik_alarmdir
Ensign henrik_alarmdir
Ensign

Posted: ‎2021-03-04 08:48 AM . Last Modified: ‎2021-03-04 09:51 AM

0 Likes
0
925
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-03-04 08:48 AM

Hi Jeff

 

Thanks for your reply.

 

I'm aware of your (SE) preference for us to use SC, however we had to go with EWS since there are missing some functionalities in SC, at least there were at few years back, haven't checked up lately as we have used EWS successfully for some time but on one installation we have seen these issues EBO 3.2.1.630 - and are trying to analyze the issue.

 

I'll look in to your suggestions 🙂

 

Regards

Henrik

 

Tags (1)
  • Tags:
  • english
Reply
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of