Version 4.1 - Scheduled Tasks Send emails Errors in Log

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
My log is filled with the following error messages due to Scheduled Tasks Send emails task. If I manually click on RUN NOW, emails go out fine.  However, the task itself is getting this [The remote server returned an error: (403) Forbidden] error message.  Any ideas?

------------------
Log level  
Error
Short message  
The remote server returned an error: (403) Forbidden.
Full message  
System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.HttpWebRequest.GetResponse()
   at System.Net.WebClient.GetWebResponse(WebRequest request)
   at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
   at System.Net.WebClient.UploadBits(WebRequest request, Stream readStream, Byte[] buffer, Int32 chunkSize, Byte[] header, Byte[] footer)
   at System.Net.WebClient.UploadValues(Uri address, String method, NameValueCollection data)
   at Nop.Services.Tasks.TaskThread.Run() in C:\Users\Koray\Google Drive\ZamliyConsulting\www\nopcommerce_4.1\Libraries\Nop.Services\Tasks\TaskThread.cs:line 65
4 years ago
Hi,

are you sure that error is coming from e-mail task? We have seen that before and was the Keep-Alive task.

Can you disable that task and see if the error stops?

Thanks!
4 years ago
nop-world.com wrote:
Hi,

are you sure that error is coming from e-mail task? We have seen that before and was the Keep-Alive task.

Can you disable that task and see if the error stops?

Thanks!


I am 100% sure that it is the email task.  Not only I tested it by isolating every task, also the fact that this task is NOT running unless I manually run it is another proof.
4 years ago
nop-world.com wrote:
Hi,

are you sure that error is coming from e-mail task? We have seen that before and was the Keep-Alive task.

Can you disable that task and see if the error stops?

Thanks!



OK, I am eating my previous posting.  It is indeed the Keep Alive task. How did you fix it?
4 years ago
koray wrote:
Hi,

are you sure that error is coming from e-mail task? We have seen that before and was the Keep-Alive task.

Can you disable that task and see if the error stops?

Thanks!


OK, I am eating my previous posting.  It is indeed the Keep Alive task. How did you fix it?



Yep, it turns out it is both.
4 years ago
koray wrote:
Hi,

are you sure that error is coming from e-mail task? We have seen that before and was the Keep-Alive task.

Can you disable that task and see if the error stops?

Thanks!


OK, I am eating my previous posting.  It is indeed the Keep Alive task. How did you fix it?


Yep, it turns out it is both.


finally.. it turns out ALL scheduled tasks are giving the same error.  ANY IDEAS people?  No, it is not my store URL, which is correct.
4 years ago
Hello,

Do you have multiple store?
4 years ago
Yes, 2
4 years ago
sk5202 wrote:
Hello,

Do you have multiple store?


You are my hero.  Yes, that was the problem.  Scheduled tasks look at the store on id 0.  That store had a problem with the SSL certificate.  I changed the URL of that store to the active store.  

Thank you so much.
4 years ago
Some times ago I got same issue.

For testing I removed 2nd store and my error was gone.

And set properly ssl,url and all still at store edit.

May be this thing resolve with
Both store configuration.

Can you please try this?

Tomorrow once I get time I will surely find solution and let you know.

I faced same issue with multistore.

Hope you could understand..!!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.