Scheduled tasks

11 个月 前
We are getting errors on keep alive and otherscheduled tasks only run manual.

Log level
Error
Short message
One or more errors occurred. (Response status code does not indicate success: 403 (Forbidden).)
Full message
System.AggregateException: One or more errors occurred. (Response status code does not indicate success: 403 (Forbidden).)
---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 403 (Forbidden).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at System.Net.Http.HttpClient.GetStringAsyncCore(Task`1 getTask)
   at Nop.Services.Common.StoreHttpClient.KeepAliveAsync() in C:\andrei\nop_sources\src\Libraries\Nop.Services\Common\StoreHttpClient.cs:line 40
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Nop.Services.Common.KeepAliveTask.Execute() in C:\andrei\nop_sources\src\Libraries\Nop.Services\Common\KeepAliveTask.cs:line 33
   at Nop.Services.Tasks.Task.ExecuteTask() in C:\andrei\nop_sources\src\Libraries\Nop.Services\Tasks\Task.cs:line 80
   at Nop.Core.Caching.MemoryCacheManager.PerformActionWithLock(String key, TimeSpan expirationTime, Action action) in C:\andrei\nop_sources\src\Libraries\Nop.Core\Caching\MemoryCacheManager.cs:line 171
   at Nop.Services.Tasks.Task.Execute(Boolean throwException, Boolean ensureRunOncePerPeriod) in C:\andrei\nop_sources\src\Libraries\Nop.Services\Tasks\Task.cs:line 143
   at Nop.Web.Areas.Admin.Controllers.ScheduleTaskController.RunNow(Int32 id) in C:\andrei\nop_sources\src\Presentation\Nop.Web\Areas\Admin\Controllers\ScheduleTaskController.cs:line 117
IP address
2601:548:c100:7a10:e42f:10d2:fa6d:9381
Customer
[email protected]
Page URL
https://shopcba.castbulletassoc.org/Admin/ScheduleTask/RunNow/2
Referrer URL
https://shopcba.castbulletassoc.org/Admin/ScheduleTask/List
Created on
6/15/2023 12:49:06 PM
11 个月 前
Check your store settings.  See recent post
https://www.nopcommerce.com/en/boards/topic/97246/one-or-more-errors-occurred-response-status-code-does-not-indicate-success-403-forbidden