rhino-licensing icon indicating copy to clipboard operation
rhino-licensing copied to clipboard

nist1.sjc.certifiedtime.com is no longer.

Open DrivenLogic opened this issue 12 years ago • 1 comments

Rhino.Licensing. AbstractLicenseValidator Contains a hardcoded list of time servers.

https://github.com/ayende/rhino-licensing/blob/master/Rhino.Licensing/AbstractLicenseValidator.cs#L39

One of which is nist1.sjc.certifiedtime.com which is no longer up and causes a cascade of exceptions to be thrown.

System.Net.Sockets.SocketException occurred
  Message=No such host is known
       at System.Net.Dns.HostResolutionEndHelper(IAsyncResult asyncResult)

Then:

System.ObjectDisposedException occurred
  Message=Cannot access a disposed object.
Object name: 'System.Net.Sockets.UdpClient'.
       at System.Net.Sockets.UdpClient.EndReceive(IAsyncResult asyncResult, IPEndPoint& remoteEP)

and:

System.NullReferenceException occurred
  Message=Object reference not set to an instance of an object.
  StackTrace:
       at Rhino.Licensing.SntpClient.MaybeOperationTimeout(Object state, Boolean timedOut) in :line 
  InnerException:
{System.NullReferenceException: Object reference not set to an instance of an object.
   at Rhino.Licensing.SntpClient.MaybeOperationTimeout(Object state, Boolean timedOut) in :line 0}

DrivenLogic avatar Jan 29 '13 07:01 DrivenLogic

This is fixed in RavenDB now.

On Tue, Jan 29, 2013 at 9:44 AM, drivenlogic.com.au < [email protected]> wrote:

Rhino.Licensing. AbstractLicenseValidator Contains a hardcoded list of time servers.

https://github.com/ayende/rhino-licensing/blob/master/Rhino.Licensing/AbstractLicenseValidator.cs#L39

One of which is nist1.sjc.certifiedtime.com which is no longer up and causes a cascade of exceptions to be thrown.

System.Net.Sockets.SocketException occurred Message=No such host is known at System.Net.Dns.HostResolutionEndHelper(IAsyncResult asyncResult)

Then:

System.ObjectDisposedException occurred Message=Cannot access a disposed object. Object name: 'System.Net.Sockets.UdpClient'. at System.Net.Sockets.UdpClient.EndReceive(IAsyncResult asyncResult, IPEndPoint& remoteEP)

and:

System.NullReferenceException occurred Message=Object reference not set to an instance of an object. StackTrace: at Rhino.Licensing.SntpClient.MaybeOperationTimeout(Object state, Boolean timedOut) in :line InnerException: {System.NullReferenceException: Object reference not set to an instance of an object. at Rhino.Licensing.SntpClient.MaybeOperationTimeout(Object state, Boolean timedOut) in :line 0}

— Reply to this email directly or view it on GitHubhttps://github.com/ayende/rhino-licensing/issues/5.

ayende avatar Jan 29 '13 09:01 ayende