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

Share Your Feedback โ€“ Help Us Improve Search on Community!
Please take a few minutes to participate in our Search Feedback Survey. Your insights will help us deliver the results you need faster and more accurately.
Click here to take the survey

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.

Search in

Improve your search experience:

  • Exact phrase โ†’ Use quotes " " (e.g., "error 404")
  • Wildcard โ†’ Use * for partial words (e.g., build*, *tion)
  • AND / OR โ†’ Combine keywords (e.g., login AND error, login OR signโ€‘in)
  • Keep it short โ†’ Use 2โ€“3 relevant words , not full sentences
  • Filters โ†’ Narrow results by section (Knowledge Base, Users, Products)
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
sesa180908_brid
Commander sesa180908_brid Commander
34
ardak
ardak Schneider Alumni (Retired)
34
View All

Recommended Forums

  • Intelligent Devices Forum

  • Metering & Power Quality

  • EcoStruxure IT Forum

Invite a Colleague

Found this content useful? Share it with a Colleague!

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

Posted: โ€Ž2021-03-04 06:38 AM . Last Modified: โ€Ž2021-03-04 07:07 AM

0 Likes
2
1230
  • 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
1222
  • 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
1220
  • 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

Youโ€™ve reached the end of your document

WHATโ€™S NEXT?

Ask our Experts

Didn't find what you are looking for? Ask our experts!

My Dashboard

Check out the new Feeds and activities that are relevant to you.

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

    Ask our Experts

    Have a question related to our products, solutions or services? Get quick support on community Forums

    Email Us

    For Community platform-related support, please email us

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

Welcome!

Welcome to your new personalized space.

of

Explore