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

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

SmartConnector recovery after DB connection lost

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
  • SmartConnector recovery after DB connection lost
Options
  • Subscribe to RSS Feed
  • 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
MaximeLaudren
Lieutenant MaximeLaudren Lieutenant
Lieutenant

Posted: ‎2021-06-18 08:28 AM

0 Likes
2
1011
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • 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-06-18 08:28 AM

SmartConnector recovery after DB connection lost

Hi,

 

I had an issue at a customer site (Hotel).

 

Context:

SC and SQL server runs on 2 distinct machine.

SC have 2 processor running to integrate with 2 3rd party system in EBO (Kaba and Micros).

 

Issue:

For some reason the smartconnector service lost the connectivity with the SQL server.

Maybe it was just a timeout due to high network latency, or SQL server connectivity issue. We don't know.

 

This happened shortly before the processors were supposed to run.

Result is that the license verification failed for all processors and stopped the execution.

 

When the connectivity was restored , the SC did not try to recover/recheck the licenses, as far as we can tell from the logs.

 

Only a manual restart of the smartconnector service through the windows service windows trigger a license check and everything went back online.

 

 

 

Here is the interesting log section, I can provide more logs if needed:

2021-06-07 07:14:57.7384,Error,Service,<no principal>,An error occurred while executing the command definition. See the inner exception for details.

Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

The wait operation timed out

   at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)

   at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)

   at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)

   at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__5()

   at System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)

   at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)

   at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0()

   at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()

   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)

   at Mongoose.Service.Licensing.AntiRollbackDateTime.get_UtcNow()

,["Current WindowsIdentity is NT AUTHORITY\\SYSTEM"],

2021-06-07 07:14:57.7384,Trace,Service,<no principal>,Validating framework license,

2021-06-07 07:15:32.7604,Error,Service,<no principal>,An error occurred while executing the command definition. See the inner exception for details.

Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

The wait operation timed out

   at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)

   at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)

   at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)

   at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__5()

   at System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)

   at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)

   at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0()

   at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()

   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)

   at Mongoose.Service.Mongoose.HasValidFrameworkLicense()

,[],

2021-06-07 07:15:32.7634,Debug,WorkerManager,<no principal>,Stopping Processors,

2021-06-07 07:15:32.8374,Debug,WorkerManager,<no principal>,Stopping EWS Servers,

2021-06-07 07:15:32.8994,Debug,WorkerManager,<no principal>,Stopping Endpoints,

2021-06-07 07:15:32.9394,Debug,Database,<no principal>,EwsServerRequestChanged,Could not convert Mongoose.Service.Notifications.EntityChangeEventArgs`1[Mongoose.Ews.Server.Data.EwsServerRequest] to JSON,

2021-06-07 07:15:32.9484,Status,Service,<no principal>,Stopping EWS Server http://localhost:51200/EcoStruxure/DataExchange,

2021-06-07 07:15:33.9400,Debug,Processor,<no principal>,Sent: _LE|DA210607|TI071532|_,

2021-06-07 07:15:33.9400,Debug,Processor,<no principal>,Processor Micros Interface Processor Execute completed,

2021-06-07 07:15:33.9400,Debug,WorkerThread,<no principal>,Micros Interface Processor,Execute (end),2021-06-02T01:08:32,ET=418021821 mSec,

2021-06-07 07:15:33.9400,Info,WorkerThread,<no principal>,Micros Interface Processor,Ended successfully,

2021-06-07 07:15:33.9501,Info,WorkerThread,<no principal>,Micros Interface Processor,Next run will be at next SmartConnector startup,

2021-06-07 07:15:33.9691,Trace,Service,<no principal>,Validating framework license,

2021-06-07 07:15:34.0890,Info,WorkerThread,<no principal>,Micros Server Manager Processor,Started,

2021-06-07 07:15:34.0890,Debug,WorkerThread,<no principal>,Micros Server Manager Processor,InstantiateProcessor,ET=4 mSec,

2021-06-07 07:15:34.0890,Debug,WorkerThread,<no principal>,Micros Server Manager Processor,Execute (start),2021-06-06T21:15:34,

2021-06-07 07:15:34.0890,Debug,Processor,<no principal>,Processor Micros Server Manager Processor Execute started,

2021-06-07 07:15:34.3110,Debug,Processor,<no principal>,Processor Micros Server Manager Processor Execute completed,

2021-06-07 07:15:34.3110,Debug,WorkerThread,<no principal>,Micros Server Manager Processor,Execute (end),2021-06-06T21:15:34,ET=222 mSec,

2021-06-07 07:15:34.3110,Info,WorkerThread,<no principal>,Micros Server Manager Processor,Ended successfully,

2021-06-07 07:15:34.3110,Info,WorkerThread,<no principal>,Micros Server Manager Processor,Next run will be at 2021-06-06T21:16:00,

2021-06-07 07:15:34.3250,Trace,Service,<no principal>,Validating framework license,

2021-06-07 07:15:34.5070,Debug,Processor,<no principal>,Processor Kaba Door Lock Server Connector Execute completed,

2021-06-07 07:15:34.5070,Debug,WorkerThread,<no principal>,Kaba Door Lock Server Connector,Execute (end),2021-06-02T01:15:12,ET=417621684 mSec,

2021-06-07 07:15:34.5070,Info,WorkerThread,<no principal>,Kaba Door Lock Server Connector,Ended successfully,

2021-06-07 07:15:34.5110,Info,WorkerThread,<no principal>,Kaba Door Lock Server Connector,Next run will be at ,

2021-06-07 07:15:34.5110,Trace,Service,<no principal>,Validating framework license,

2021-06-07 07:15:35.4764,Status,Service,<no principal>,Stopping EWS Server http://localhost:8093/EcoStruxure/DataExchange,

 

 

Tags (2)
  • Tags:
  • english
  • smartconnector
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 2
ardak
ardak Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2021-06-19 12:02 AM

0 Likes
1
1007
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • 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-06-19 12:02 AM

Hi!

 

Could you please share the logs, and point out at which time the problems started occurring? 

 

According to the logs you've shared there are some timeouts as you say but the processors start right up again, or am I missing something?

 

BR

Armend

Tags (1)
  • Tags:
  • english
Reply
MaximeLaudren
Lieutenant MaximeLaudren Lieutenant
Lieutenant

Posted: ‎2021-06-25 09:55 AM

0 Likes
0
1000
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • 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-06-25 09:55 AM

Hello Armend,

 

One of the processor was not able to restart, and the other one, even if in the log it appear to be running, from the UI both where stopped.

I will provide you the whole log and screenshot by email, but the interesting part is the one I have put in the first post.

 

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