ERROR Exception in UrlAgent (url: /sitecore/service/keepalive.aspx) at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)Is it possible to teach the keepalive agent to overcome TLS/SSL certificate warnings?Sitecore Publishing Service DeadlockAn exception is shown while trying to save any content item in Sitecore Content EditorUnable to load CMS. Request timeout errorSitecore MultiLanguage Content changes the URL. Results 404, Not found errorSitecore Media File upload above 2GB throws Bad Request 400ListControl/LineChart graphs are not displaying due to a server error in Experience AnalyticsSitecore Content Editor Exception : Data at the root level is invalidUnwanted Sitecore URLSitecore Url not working - layout not found errorSitecore Identity server without return url
What caused the tendency for conservatives to not support climate change regulations?
Why would Lupin kill Pettigrew?
What are the problems in teaching guitar via Skype?
Modern approach to radio buttons
Select row of data if next row contains zero
Points within polygons in different projections
Intuition behind eigenvalues of an adjacency matrix
How did early x86 BIOS programmers manage to program full blown TUIs given very few bytes of ROM/EPROM?
How was Apollo supposed to rendezvous in the case of a lunar abort?
How to prevent bad sectors?
Expenditure in Poland - Forex doesn't have Zloty
How to pipe large files through fold before opening?
Term for checking piece whose opponent daren't capture it
Uncommanded roll at high speed
Is there a rule that prohibits us from using 2 possessives in a row?
Strange math syntax in old basic listing
How crucial is a waifu game storyline?
Asking bank to reduce APR instead of increasing credit limit
Is floating in space similar to falling under gravity?
What does the behaviour of water on the skin of an aircraft in flight tell us?
Is it possible to kill all life on Earth?
Can an old DSLR be upgraded to match modern smartphone image quality
If I create magical darkness with the Silent Image spell, can I see through it if I have the Devil's Sight warlock invocation?
If a massive object like Jupiter flew past the Earth how close would it need to come to pull people off of the surface?
ERROR Exception in UrlAgent (url: /sitecore/service/keepalive.aspx) at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
Is it possible to teach the keepalive agent to overcome TLS/SSL certificate warnings?Sitecore Publishing Service DeadlockAn exception is shown while trying to save any content item in Sitecore Content EditorUnable to load CMS. Request timeout errorSitecore MultiLanguage Content changes the URL. Results 404, Not found errorSitecore Media File upload above 2GB throws Bad Request 400ListControl/LineChart graphs are not displaying due to a server error in Experience AnalyticsSitecore Content Editor Exception : Data at the root level is invalidUnwanted Sitecore URLSitecore Url not working - layout not found errorSitecore Identity server without return url
We have Sitecore 8.1, using 2 CD server on-premises and https
protocol.
Log file getting below exception at
System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
Error
ManagedPoolThread #10 00:11:10 ERROR Exception in UrlAgent (url: /sitecore/service/keepalive.aspx)
Exception: System.Net.WebException
Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Source: System
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
at Sitecore.Web.WebUtil.ExecuteWebPage(String url, NameValueCollection headers)
at Sitecore.Tasks.UrlAgent.Run()
Nested Exception
Exception: System.Security.Authentication.AuthenticationException
Message: The remote certificate is invalid according to the validation procedure.
Source: System
at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
Please suggest.
sitecore-client load-balancer
add a comment |
We have Sitecore 8.1, using 2 CD server on-premises and https
protocol.
Log file getting below exception at
System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
Error
ManagedPoolThread #10 00:11:10 ERROR Exception in UrlAgent (url: /sitecore/service/keepalive.aspx)
Exception: System.Net.WebException
Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Source: System
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
at Sitecore.Web.WebUtil.ExecuteWebPage(String url, NameValueCollection headers)
at Sitecore.Tasks.UrlAgent.Run()
Nested Exception
Exception: System.Security.Authentication.AuthenticationException
Message: The remote certificate is invalid according to the validation procedure.
Source: System
at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
Please suggest.
sitecore-client load-balancer
add a comment |
We have Sitecore 8.1, using 2 CD server on-premises and https
protocol.
Log file getting below exception at
System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
Error
ManagedPoolThread #10 00:11:10 ERROR Exception in UrlAgent (url: /sitecore/service/keepalive.aspx)
Exception: System.Net.WebException
Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Source: System
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
at Sitecore.Web.WebUtil.ExecuteWebPage(String url, NameValueCollection headers)
at Sitecore.Tasks.UrlAgent.Run()
Nested Exception
Exception: System.Security.Authentication.AuthenticationException
Message: The remote certificate is invalid according to the validation procedure.
Source: System
at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
Please suggest.
sitecore-client load-balancer
We have Sitecore 8.1, using 2 CD server on-premises and https
protocol.
Log file getting below exception at
System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
Error
ManagedPoolThread #10 00:11:10 ERROR Exception in UrlAgent (url: /sitecore/service/keepalive.aspx)
Exception: System.Net.WebException
Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Source: System
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
at Sitecore.Web.WebUtil.ExecuteWebPage(String url, NameValueCollection headers)
at Sitecore.Tasks.UrlAgent.Run()
Nested Exception
Exception: System.Security.Authentication.AuthenticationException
Message: The remote certificate is invalid according to the validation procedure.
Source: System
at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
Please suggest.
sitecore-client load-balancer
sitecore-client load-balancer
edited May 23 at 5:38
Abhishek Malaviya
asked May 23 at 5:26
Abhishek MalaviyaAbhishek Malaviya
811217
811217
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You can try to set the valid host name in the keep alive config like:
<agent type="Sitecore.Tasks.UrlAgent" method="Run" interval="00:15:00">
<param desc="url">https://<hostname>/sitecore/service/keepalive.aspx</param>
<LogActivity>true</LogActivity>
</agent>
and in the hosts
file on your server make sure that <hostname>
is resolved to 127.0.0.1
IP address. Then your Load Balancer should not be hit - each of the servers should make a request to itself.
Alternatively, you can add http
binding to your web apps with some other hostname (like cd1.local
and cd2.local
) and set that http
url in UrlAgent
like:
<agent type="Sitecore.Tasks.UrlAgent" method="Run" interval="00:15:00">
<param desc="url">http://cd1.local/sitecore/service/keepalive.aspx</param>
<LogActivity>true</LogActivity>
</agent>
add a comment |
Question looks very similar to this one, but a little bit different.
Before doing anything, you need to think whether you really need keepalive.aspx agent on your CD servers at all. You wrote that you have 2 CD servers. I guess that if you have few CD servers then you have load balancer.(I can't imagine how 2 Sitecore CD servers can work without it). All load balancers that I have worked with have healthy check requests. You can configure this health check to call keepalive.aspx. Example from AWS:
When you configure health check to ping keepalive.aspx on your load balancer, you can remove configuration of Sitecore.Tasks.UrlAgent to request /sitecore/service/keepalive.aspx from your servers configurations.
If for some reason you can't(or don't want) to do it on load balancer level then the proper way is to fix certificate on your IIS CD instance configuration.
If for some reasons you can't(or don't want) to fix certificate then you can configure HTTP binding as was suggested by Marek.
If you want to teach the keepalive.aspx agent to overcome TLS/SSL certificate warnings like in a referenced question then you can use my answer on that question.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "664"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f18870%2ferror-exception-in-urlagent-url-sitecore-service-keepalive-aspx-at-system-ne%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can try to set the valid host name in the keep alive config like:
<agent type="Sitecore.Tasks.UrlAgent" method="Run" interval="00:15:00">
<param desc="url">https://<hostname>/sitecore/service/keepalive.aspx</param>
<LogActivity>true</LogActivity>
</agent>
and in the hosts
file on your server make sure that <hostname>
is resolved to 127.0.0.1
IP address. Then your Load Balancer should not be hit - each of the servers should make a request to itself.
Alternatively, you can add http
binding to your web apps with some other hostname (like cd1.local
and cd2.local
) and set that http
url in UrlAgent
like:
<agent type="Sitecore.Tasks.UrlAgent" method="Run" interval="00:15:00">
<param desc="url">http://cd1.local/sitecore/service/keepalive.aspx</param>
<LogActivity>true</LogActivity>
</agent>
add a comment |
You can try to set the valid host name in the keep alive config like:
<agent type="Sitecore.Tasks.UrlAgent" method="Run" interval="00:15:00">
<param desc="url">https://<hostname>/sitecore/service/keepalive.aspx</param>
<LogActivity>true</LogActivity>
</agent>
and in the hosts
file on your server make sure that <hostname>
is resolved to 127.0.0.1
IP address. Then your Load Balancer should not be hit - each of the servers should make a request to itself.
Alternatively, you can add http
binding to your web apps with some other hostname (like cd1.local
and cd2.local
) and set that http
url in UrlAgent
like:
<agent type="Sitecore.Tasks.UrlAgent" method="Run" interval="00:15:00">
<param desc="url">http://cd1.local/sitecore/service/keepalive.aspx</param>
<LogActivity>true</LogActivity>
</agent>
add a comment |
You can try to set the valid host name in the keep alive config like:
<agent type="Sitecore.Tasks.UrlAgent" method="Run" interval="00:15:00">
<param desc="url">https://<hostname>/sitecore/service/keepalive.aspx</param>
<LogActivity>true</LogActivity>
</agent>
and in the hosts
file on your server make sure that <hostname>
is resolved to 127.0.0.1
IP address. Then your Load Balancer should not be hit - each of the servers should make a request to itself.
Alternatively, you can add http
binding to your web apps with some other hostname (like cd1.local
and cd2.local
) and set that http
url in UrlAgent
like:
<agent type="Sitecore.Tasks.UrlAgent" method="Run" interval="00:15:00">
<param desc="url">http://cd1.local/sitecore/service/keepalive.aspx</param>
<LogActivity>true</LogActivity>
</agent>
You can try to set the valid host name in the keep alive config like:
<agent type="Sitecore.Tasks.UrlAgent" method="Run" interval="00:15:00">
<param desc="url">https://<hostname>/sitecore/service/keepalive.aspx</param>
<LogActivity>true</LogActivity>
</agent>
and in the hosts
file on your server make sure that <hostname>
is resolved to 127.0.0.1
IP address. Then your Load Balancer should not be hit - each of the servers should make a request to itself.
Alternatively, you can add http
binding to your web apps with some other hostname (like cd1.local
and cd2.local
) and set that http
url in UrlAgent
like:
<agent type="Sitecore.Tasks.UrlAgent" method="Run" interval="00:15:00">
<param desc="url">http://cd1.local/sitecore/service/keepalive.aspx</param>
<LogActivity>true</LogActivity>
</agent>
answered May 23 at 6:08
Marek MusielakMarek Musielak
12.3k11238
12.3k11238
add a comment |
add a comment |
Question looks very similar to this one, but a little bit different.
Before doing anything, you need to think whether you really need keepalive.aspx agent on your CD servers at all. You wrote that you have 2 CD servers. I guess that if you have few CD servers then you have load balancer.(I can't imagine how 2 Sitecore CD servers can work without it). All load balancers that I have worked with have healthy check requests. You can configure this health check to call keepalive.aspx. Example from AWS:
When you configure health check to ping keepalive.aspx on your load balancer, you can remove configuration of Sitecore.Tasks.UrlAgent to request /sitecore/service/keepalive.aspx from your servers configurations.
If for some reason you can't(or don't want) to do it on load balancer level then the proper way is to fix certificate on your IIS CD instance configuration.
If for some reasons you can't(or don't want) to fix certificate then you can configure HTTP binding as was suggested by Marek.
If you want to teach the keepalive.aspx agent to overcome TLS/SSL certificate warnings like in a referenced question then you can use my answer on that question.
add a comment |
Question looks very similar to this one, but a little bit different.
Before doing anything, you need to think whether you really need keepalive.aspx agent on your CD servers at all. You wrote that you have 2 CD servers. I guess that if you have few CD servers then you have load balancer.(I can't imagine how 2 Sitecore CD servers can work without it). All load balancers that I have worked with have healthy check requests. You can configure this health check to call keepalive.aspx. Example from AWS:
When you configure health check to ping keepalive.aspx on your load balancer, you can remove configuration of Sitecore.Tasks.UrlAgent to request /sitecore/service/keepalive.aspx from your servers configurations.
If for some reason you can't(or don't want) to do it on load balancer level then the proper way is to fix certificate on your IIS CD instance configuration.
If for some reasons you can't(or don't want) to fix certificate then you can configure HTTP binding as was suggested by Marek.
If you want to teach the keepalive.aspx agent to overcome TLS/SSL certificate warnings like in a referenced question then you can use my answer on that question.
add a comment |
Question looks very similar to this one, but a little bit different.
Before doing anything, you need to think whether you really need keepalive.aspx agent on your CD servers at all. You wrote that you have 2 CD servers. I guess that if you have few CD servers then you have load balancer.(I can't imagine how 2 Sitecore CD servers can work without it). All load balancers that I have worked with have healthy check requests. You can configure this health check to call keepalive.aspx. Example from AWS:
When you configure health check to ping keepalive.aspx on your load balancer, you can remove configuration of Sitecore.Tasks.UrlAgent to request /sitecore/service/keepalive.aspx from your servers configurations.
If for some reason you can't(or don't want) to do it on load balancer level then the proper way is to fix certificate on your IIS CD instance configuration.
If for some reasons you can't(or don't want) to fix certificate then you can configure HTTP binding as was suggested by Marek.
If you want to teach the keepalive.aspx agent to overcome TLS/SSL certificate warnings like in a referenced question then you can use my answer on that question.
Question looks very similar to this one, but a little bit different.
Before doing anything, you need to think whether you really need keepalive.aspx agent on your CD servers at all. You wrote that you have 2 CD servers. I guess that if you have few CD servers then you have load balancer.(I can't imagine how 2 Sitecore CD servers can work without it). All load balancers that I have worked with have healthy check requests. You can configure this health check to call keepalive.aspx. Example from AWS:
When you configure health check to ping keepalive.aspx on your load balancer, you can remove configuration of Sitecore.Tasks.UrlAgent to request /sitecore/service/keepalive.aspx from your servers configurations.
If for some reason you can't(or don't want) to do it on load balancer level then the proper way is to fix certificate on your IIS CD instance configuration.
If for some reasons you can't(or don't want) to fix certificate then you can configure HTTP binding as was suggested by Marek.
If you want to teach the keepalive.aspx agent to overcome TLS/SSL certificate warnings like in a referenced question then you can use my answer on that question.
answered May 23 at 8:48
AntonAnton
2,041315
2,041315
add a comment |
add a comment |
Thanks for contributing an answer to Sitecore Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f18870%2ferror-exception-in-urlagent-url-sitecore-service-keepalive-aspx-at-system-ne%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown