Error while running the 'Keep alive' schedule task

Posted: November 12, 2015 at 7:33 AM Quote #154698
Hi People! After change the Host to a new one with cloud server the registry log fulls with such message:

Error while running the 'Keep alive' schedule task. The underlying connection was closed: An unexpected error occurred on a receive.

System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead) --- End of inner exception stack trace --- at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at Nop.Services.Common.KeepAliveTask.Execute() at Nop.Services.Tasks.Task.Execute(Boolean throwException, Boolean dispose)

Can you pls help me on this issue? Tks a lot.
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: November 13, 2015 at 1:31 AM Quote #154736
Receiving a slightly different exception in log here as well:

Error while running the 'Keep alive' schedule task. The remote server returned an error: (403) Forbidden.


System.Net.WebException: The remote server returned an error: (403) Forbidden. at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at System.Net.WebClient.DownloadString(String address) at Nop.Services.Common.KeepAliveTask.Execute() at Nop.Services.Tasks.Task.Execute(Boolean throwException, Boolean dispose)
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
nopCommerce Gold Solution Partner & nopCommerce Certified Developer
https://dotcontrol.nl
Posted: January 05, 2016 at 7:12 PM Quote #158645
i'm using nop 3.70.

it's error same. What happened? Every body HELP mE

Error while running the 'Keep alive' schedule task. The remote server returned an error: (403) Forbidden.

System.Net.WebException: The remote server returned an error: (403) Forbidden. at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at System.Net.WebClient.DownloadString(String address) at Nop.Services.Common.KeepAliveTask.Execute() at Nop.Services.Tasks.Task.Execute(Boolean throwException, Boolean dispose, Boolean ensureRunOnOneWebFarmInstance) at Nop.Admin.Controllers.ScheduleTaskController.RunNow(Int32 id)
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
I have a dream ...
Posted: January 06, 2016 at 12:34 AM Quote #158652
Please go to admin Configuration -> Stores

and check that existing store url should be like http://yourstore.com/
This post/answer is useful
2
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Thanks & Regards
Vipul Dumaniya

Did you find this post useful? If so, please vote it up!

Email:[email protected]
Skype:vipul.dumaniya
Website: https://www.satyanamsoft.com/
Posted: January 06, 2016 at 4:33 AM Quote #158687
it's store URL correct.

My store URL  http://www.demostore.com.

i changed store URL http://www.demostore2.com, Schedule task was run. WHY?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
I have a dream ...
Posted: January 06, 2016 at 10:54 PM Quote #158741
onebox wrote:
it's store URL correct.

My store URL  http://www.demostore.com.

i changed store URL http://www.demostore2.com, Schedule task was run. WHY?


the keppAlive will just ping the StoreURL that we set in store so if that url will is active then it will work

your storeurl must have "/" at end of the store url so your store url should be http://www.demostore.com/ or http://www.demostore2.com/ or whatever your current url on which your site is working
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Thanks & Regards
Vipul Dumaniya

Did you find this post useful? If so, please vote it up!

Email:[email protected]
Skype:vipul.dumaniya
Website: https://www.satyanamsoft.com/
Posted: January 20, 2016 at 8:25 AM Quote #160065
My store URL correct.

Error link.

https://drive.google.com/file/d/0B4k85LPUMoYZUElLVDNqNWhZbDA/view?usp=sharing
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
I have a dream ...
Posted: January 20, 2016 at 8:34 AM Quote #160066
Error screenshot


https://drive.google.com/file/d/0B4k85LPUMoYZazJMbUQ1UTRlQk0/view?usp=sharing
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
I have a dream ...
Posted: March 14, 2019 at 3:57 AM Quote #225037
Hi there,

I  deploy nopcommerce 4 on azure using azure web app services.I received following exception in Log.even I disable Keep alive schedule.My url setting is correct.


Error while running the 'Keep alive' schedule task. The underlying connection was closed: An unexpected error occurred on a send.

Full message  


System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   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.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.TlsStream.CallProcessAuthentication(Object state)
   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)
   --- End of inner exception stack trace ---
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadString(Uri address)
   at System.Net.WebClient.DownloadString(String address)
   at Nop.Services.Common.KeepAliveTask.Execute()
   at Nop.Services.Tasks.Task.Execute(Boolean throwException)
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
eCommerce CONFERENCE 2019
Learn more