cancel
Showing results for 
Search instead for 
Did you mean: 

Decipher 2.2 services not triggering and running properly

Hello,

We have multiple members reporting issue with services after Decipher 2.2 update.
Services are not triggering and running automatically and in a proper manner.

We have tried restarting computers, several folks also reinstalled them but same observation.

Has anyone else noticed this with Decipher 2.2 and let us know if any resolution for the same?

9216.png



------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------

17 REPLIES 17

So finally now I'm past the Erlang and Rabbit issue and able to run the RabbitMQ service consistently.

Now out of the 4 only 2 services are running. Before the restart, all 4 services were running. I made sure the Erl and Rabbit versions are as mentioned in the guide.

While manually triggering service using the admin account it works fine but when the local user starts the laptop these 2 service fails with the below error in EV.

Also ran this through IT team and nothing is blocking these services to auto trigger.




Log Name:      Application
Source:        DecipherService
Date:          5/26/2023 4:32:29 PM
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      WBZ-IN-PG02S8RQ
Description:
Failed to initialize the server.
-- Error Message = Unable to validate the custom licensing module.
-- Error Details = System.InvalidOperationException: Unable to validate the custom licensing module. ---> System.AggregateException: One or more errors occurred. ---> MassTransit.RequestTimeoutException: Timeout waiting for response, RequestId: 2ecc0000-d733-ec63-c13f-08db5dd8acc5
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MassTransit.Clients.ResponseHandlerConnectHandle`1.<GetTask>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MassTransit.Clients.RequestClient`1.<GetResponseInternal>d__8`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MassTransit.Clients.ClientRequestHandle`1.<HandleFault>d__32.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at CustomLicModule.LicManager.<>c__DisplayClass20_0.<<IsLicenseValid>b__0>d.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at CustomLicModule.LicManager.IsLicenseValid()
   at SsiServer.Licensing.Volume.VolumeLicenseCustom.InitCustomLicenseManager()
   at SsiServer.Licensing.LicenseManager.ActivateVolumeLicense(String licenseKey, String proxyName)
   --- End of inner exception stack trace ---
   at SsiServer.Licensing.LicenseManager.ActivateVolumeLicense(String licenseKey, String proxyName)
   at SsiServer.SsiServer.ApplyLicenseConfig(Configuration config)
   at SsiServer.SsiServer.ApplyConfig(Configuration config)
   at SsiServer.SsiServer..ctor(Configuration config)
   at SsiServer.Program.Start(String[] args)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="DecipherService" />
    <EventID Qualifiers="0">0</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2023-05-26T11:02:29.6093806Z" />
    <EventRecordID>97971</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>WBZ-IN-PG02S8RQ</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Failed to initialize the server.
-- Error Message = Unable to validate the custom licensing module.
-- Error Details = System.InvalidOperationException: Unable to validate the custom licensing module. ---&gt; System.AggregateException: One or more errors occurred. ---&gt; MassTransit.RequestTimeoutException: Timeout waiting for response, RequestId: 2ecc0000-d733-ec63-c13f-08db5dd8acc5
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MassTransit.Clients.ResponseHandlerConnectHandle`1.&lt;GetTask&gt;d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MassTransit.Clients.RequestClient`1.&lt;GetResponseInternal&gt;d__8`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MassTransit.Clients.ClientRequestHandle`1.&lt;HandleFault&gt;d__32.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at CustomLicModule.LicManager.&lt;&gt;c__DisplayClass20_0.&lt;&lt;IsLicenseValid&gt;b__0&gt;d.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at CustomLicModule.LicManager.IsLicenseValid()
   at SsiServer.Licensing.Volume.VolumeLicenseCustom.InitCustomLicenseManager()
   at SsiServer.Licensing.LicenseManager.ActivateVolumeLicense(String licenseKey, String proxyName)
   --- End of inner exception stack trace ---
   at SsiServer.Licensing.LicenseManager.ActivateVolumeLicense(String licenseKey, String proxyName)
   at SsiServer.SsiServer.ApplyLicenseConfig(Configuration config)
   at SsiServer.SsiServer.ApplyConfig(Configuration config)
   at SsiServer.SsiServer..ctor(Configuration config)
   at SsiServer.Program.Start(String[] args)</Data>
  </EventData>
</Event>



------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------

Hi Tejaskumar,

If you're having technical issues with your install, the best way for us to support you is if you raise a support ticket. Our product support team are the best and most experienced people when it comes to installation issues.

Thanks



------------------------------
Ben Lyons
Senior Product Specialist - Decipher
SS&C Blue Prism
UK based
------------------------------
Ben Lyons Senior Product Specialist - Decipher SS&C Blue Prism UK based

Finally Good News Update:

After spending a lot of hours on this and trying literally every possible scenario, finally I was able to fix the issue.

If anyone stumbles upon this then you need to update, the RabbitMQ timeout parameter in "C:\Program Files(x86)\Blue Prism\Decipher Licensing Service\config" file.

I tested this on a couple of machines and it immediately started running all the services and working consistently now.

See if this helps.



------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

LinkedIn - https://www.linkedin.com/in/tejaskumardarji/

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------

Hi Teja.

I'm happy to hear that you resolved this issue. I was trying to find the RMQ timeout parameter you mentioned. I looked in the "BluePrism.Decipher.LicensingService.exe.config" file in C:\Program Files (x86)\Blue Prism\Decipher Licensing Service and did not find it.

What is the parameter name and what file is it found in?

Thanks

jack



------------------------------
Jack Look
Sr Product Consultant
Blue Prism
------------------------------

Apologies Jack, the file name is config.json - Full path="C:\Program Files (x86)\Blue Prism\Decipher Licensing Service\config.json"

I guess it was 5 by default and I increased it to 30.

9190.png



------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

LinkedIn - https://www.linkedin.com/in/tejaskumardarji/

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------

Thank you Tejas. It worked for me!!!



------------------------------
Athiban Mahamathi ,
SimplifyNext,
Technical Consultant
------------------------------

We now have some new folks reporting the same error while upgrading and the fix that worked for a few of us earlier does not seem to be working in their case!



------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji - https://www.linkedin.com/in/tejaskumardarji/
Technical Lead
------------------------------

I don't believe there was an update to the licensing service in v2.2 release. Have you upgraded the version of RabbitMQ?

If the issue was being caused by connectivity timeout, have you carried out any network tests?



------------------------------
Ben Lyons
Senior Product Specialist - Decipher
SS&C Blue Prism
UK based
------------------------------
Ben Lyons Senior Product Specialist - Decipher SS&C Blue Prism UK based