ServicePulse showing that license has expired

1,174 views
Skip to first unread message

Nicholas Sneeringer

unread,
Jun 12, 2014, 9:55:54 AM6/12/14
to particula...@googlegroups.com
Hello,

Issue Details:

In our testing environment we have multiple NServiceBus hosted endpoint services running.  They are using the ServiceControl plugins: CustomChecks, DebugSession, Heartbeat, and SagaAudit.  We also have ServiceControl, ServicePulse, and ServiceInsight installed with the default settings for each.

We are running into an issue where the ServicePulse dashboard is showing that the license has expired.  However, NServiceBus and ServiceInsight are both showing that there are still 80+ days left on the trial license.  Now, I'm not 100% clear about how licensing works with Particular, so I am not sure if this is due to a licensing issue, or if it's simply a configuration issue on the server.

In the event that this is a configuration issue, I have tried the following in an attempt to resolve this:
  1. Uninstall/remove everything related to the Particular platform – apps, services, registry keys, licenses, configs, etc.  Everything except for the existing queues – both backend queues used by our internal endpoint services, and the queues used by particular were retained.
  2. Re-install Particular platform – NServiceBus, ServiceInsight, ServiceControl, ServicePulse
  3. Re-install the Particular license into the registry
  4. Started the Particular services - ServiceInsight and ServicePulse
  5. Set NServiceBus logging to debug mode on one of the endpoints and restarted the service
    1. Verified the license said it was valid for X number of days.  X=81
  6. Opened ServiceInsight 
    1. Verified that it could see the service endpoints
    2. Saw that the license was valid for X number of days.  X=81
  7. Opened ServicePulse 
    1. Verified that it could see the service endpoints
    2. Message indicating that the license has expired
  8. Called the ServiceControl api, and the License status = “Invalid”
At this point, I feel like I am missing something obvious, or this is an licensing issue.  Any help you can provide would be greatly appreciated.

Product Details:
  • ServiceControl v1.1.0
  • ServicePulse v1.0.1
  • NServiceBus v4.6.1
  • ServiceInsight v1.0.0
Message has been deleted
Message has been deleted

Romiko van de dronker Derbynew

unread,
Jun 12, 2014, 11:30:29 PM6/12/14
to particula...@googlegroups.com
Here is a PS script I use.


Write "Installing NServiceBus License"

$content = [xml]"<?xml version=`"1.0`" encoding=`"utf-8`"?> blah blah blah"
Set-ItemProperty -Path HKLM:\Software\ParticularSoftware -Name License -Force -Value $content.InnerXml

$value = Get-ItemProperty -Path HKLM:\Software\ParticularSoftware -Name License
Write "License Installed"
Write $value.PSPath

Nicholas Sneeringer

unread,
Jun 13, 2014, 9:10:06 AM6/13/14
to particula...@googlegroups.com
Hi Romiko,

We are using a script similar to this to install the license in the registry.  That is step #3 that I listed in the original message.  I have verified that the license content is in that registry path after running it.

Does ServicePulse depend on a certain type of license?  As I said previously, ServiceInsight and NServiceBus are working as expected.  Only ServicePulse is complaining about an expired license.  I am fairly confident that ServicePulse is configured correctly because it can see the endpoints and messages from ServiceControl.

Nicholas Sneeringer

unread,
Jun 13, 2014, 12:06:00 PM6/13/14
to particula...@googlegroups.com
After poking around in the registry, and restarting the ServiceControl and ServicePulse services after each change, I have it narrowed down to the following scenarios:

  1. The license is added to the registry under HKLM\\Software\\ParticularSoftware only.
    • ServiceInsight will show the default 14 trial days remaining
    • ServicePulse will show the license expired error
  2. The license is added to the registry under HKCU\\Software\\ParticularSoftware only.
    • ServiceInsight will show the number of days remaining specific to my license
    • ServicePulse will not show an error about licensing
  3. The license is added to both HKLM\\Software\\ParticularSoftware and HKCU\\Software\\ParticularSoftware
    • ServiceInsight will show the number of days remaining specific to my license
    • ServicePulse will show the license expired error
So it appears that having the license installed for the local machine is what's causing the licensing error to show in ServicePulse, even if the license is installed for the current user as well.  The only way the error won't show is if the license isn't installed for the local machine.

Can someone please try to recreate these scenarios on another server to see if you get the same results?

Particular Software Support

unread,
Jun 15, 2014, 4:31:31 AM6/15/14
to almacn...@gmail.com, sean....@particular.net, danny...@particular.net
__________________________________

Hi,

I am currently unable to reproduce this usign a valid license installed just in HKLM and not HKCU.
1. Can you please send us the license file you are using and a screen shot of the Service Pulse error?
2. Are the endpoints that are installed currently on the server, running with valid licenses ? Can you please check?

Thanks much,
Indu Alagarsamy

[[071bdede485280d2cde39cee9f370c7979af17b7-250333396]]

Nicholas Sneeringer

unread,
Jun 16, 2014, 9:17:21 AM6/16/14
to almacn...@gmail.com, sean....@particular.net, danny...@particular.net, sup...@nservicebus.com
Hello,

I have submitted a non-critical incident form on the Particular site -- case ID 5657.  I attached the license and a screenshot of the error, and I referenced this discussion in the description.

The endpoints, the Particular Platform, etc. are all installed and configured on the same server.  I was hoping that having the license installed in the registry under the local machine would cover the licensing for all of the apps and endpoints.

Romiko van de dronker Derbynew

unread,
Jun 16, 2014, 8:54:09 PM6/16/14
to almacn...@gmail.com, sean....@particular.net, danny...@particular.net, sup...@nservicebus.com
This is interesting, as I am now having the same problem, but with Service Insight. I have the license in the registry but it says: Trial License: 14 days left on bottom right corner.




--
You received this message because you are subscribed to a topic in the Google Groups "Particular Software" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/particularsoftware/X8UOR7TyZx4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to particularsoftware+unsub...@googlegroups.com.
To post to this group, send email to particularsoftware@googlegroups.com.
Visit this group at http://groups.google.com/group/particularsoftware.
To view this discussion on the web visit https://groups.google.com/d/msgid/particularsoftware/25c9221d-6d06-4c4b-9ab1-1ef363271357%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Romiko Derbynew
Mobile: +61 4000 90251




Particular Software Support

unread,
Jun 16, 2014, 9:14:17 PM6/16/14
to almacn...@gmail.com, sean....@particular.net, danny...@particular.net
__________________________________

Hi,

The original probem reported by Nicholas was to due to an old trial license file.

For ServiceInsight not recognizing the license under HKLM, I’ve raised an issue. For more details, please see:
https://github.com/Particular/ServiceInsight/issues/342

Thank you,
Indu Alagarsamy

On Jun 17, 2014 at 03:54AM IDT Romiko van de dronker Derbynew <rom...@gmail.com> wrote:

This is interesting, as I am now having the same problem, but with Service
Insight. I have the license in the registry but it says: Trial License: 14
days left on bottom right corner.
On Jun 15, 2014 at 09:08AM IDT "Particular Software Support" <sup...@nservicebus.com> wrote:

Hi,

I am currently unable to reproduce this usign a valid license installed just in HKLM and not HKCU.
1. Can you please send us the license file you are using and a screen shot of the Service Pulse error?
2. Are the endpoints that are installed currently on the server, running with valid licenses ? Can you please check?

Thanks much,
Indu Alagarsamy


[[071bdede485280d2cde39cee9f370c7979af17b7-250333396]]
Reply all
Reply to author
Forward
0 new messages