Developer forum

Forum » Development » Refresh License Fails

Refresh License Fails

Keerthy Sethupathy
Reply

A customer running 9.8.9 has been experiencing the following failure from the 11th of July. They got upgraded to 9.8.8 in June and yesterday to 9.8.9 to see if this would resolve the problem. The login time when logging in to Admin is also quite long, and i think that this issue here could be the culprit.  

Anyone who has experinced similar and knows what to do?

2020-07-28 09:15:47.8554|ERROR|Licensing|LicenseApplicationStartSubscriber:OnNotify|Failed refresh license
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 81.95.251.203:80
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Dynamicweb.Security.Licensing.LicenseServiceManagerInternal.SetInstallationProperties(String installationProperties, String installationChecksum)
at Dynamicweb.Security.Licensing.LicenseServiceManagerInternal.RefreshLicense(String installationChecksum, String installationProperties)
at Dynamicweb.Content.Management.LicenseApplicationStartSubscriber.OnNotify(String notification, NotificationArgs args)
---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 81.95.251.203:80
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
--- End of inner exception stack trace ---<---                             


Replies

 
Steffen Kruse Hansen Dynamicweb Employee
Steffen Kruse Hansen
Reply

Hi Keerthy,

From the exception, it could look like there might be something blocking the connection between the customer solution and the license service. Is the solution behind a firewall which blocks out-going traffic?

Can you provide me the "Installation Id", which you can find under "Settings/System/License information"? Then maybe I can see a bit more about what's happening.

Best regards,

Steffen

 

 
Keerthy Sethupathy
Reply

Hi Steffen, 

Thanks for the reply. The id is: 0595229aaa09fd07f849957ab8a5b181

 
Steffen Kruse Hansen Dynamicweb Employee
Steffen Kruse Hansen
Reply
This post has been marked as an answer

Hi Keerthy,

I can see that the license was last updated on the 26th of June, so that fits really well with you seeing the exception for the first time on the 11th of July. 
I'm almost 100% sure that it's a hosting problem because the problem occurs on both the test-solution and the live-solution, which are both located on the same server. There aren't any other solutions on that server, so I'm not able to see if they are working.
So I think they need to make sure that they don't block out-going traffic in the firewall.

Best regards,

Steffen

Votes for this answer: 1
 
Keerthy Sethupathy
Reply

Hi Steffen, 

Thanks for the help. I will contact them!

 

You must be logged in to post in the forum