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













1















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.










share|improve this question




























    1















    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.










    share|improve this question


























      1












      1








      1








      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.










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 23 at 5:38







      Abhishek Malaviya

















      asked May 23 at 5:26









      Abhishek MalaviyaAbhishek Malaviya

      811217




      811217




















          2 Answers
          2






          active

          oldest

          votes


















          1














          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>





          share|improve this answer






























            1














            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:
            AWS Health Check



            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.






            share|improve this answer























              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
              );



              );













              draft saved

              draft discarded


















              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









              1














              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>





              share|improve this answer



























                1














                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>





                share|improve this answer

























                  1












                  1








                  1







                  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>





                  share|improve this answer













                  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>






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered May 23 at 6:08









                  Marek MusielakMarek Musielak

                  12.3k11238




                  12.3k11238





















                      1














                      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:
                      AWS Health Check



                      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.






                      share|improve this answer



























                        1














                        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:
                        AWS Health Check



                        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.






                        share|improve this answer

























                          1












                          1








                          1







                          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:
                          AWS Health Check



                          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.






                          share|improve this answer













                          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:
                          AWS Health Check



                          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.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered May 23 at 8:48









                          AntonAnton

                          2,041315




                          2,041315



























                              draft saved

                              draft discarded
















































                              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.




                              draft saved


                              draft discarded














                              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





















































                              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







                              Popular posts from this blog

                              Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                              Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                              Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form