Skip to content

Не выгружается расписание после апгрейда Ical #3705

@leotsarev

Description

@leotsarev

{
"@timestamp": "2025-10-29T04:51:47.267Z",
"ActionId": "2b5e7bec-64a6-436d-a4ec-c32e6de12033",
"ActionName": "/Error/Error",
"AppName": "JoinRpg.Portal",
"ConnectionId": "0HNGM9KSQ966F",
"Level": "Error",
"LoggedUser": null,
"MachineName": "joinrpg-portal-c794d949c-tx9rq",
"RequestId": "0HNGM9KSQ966F:00000002",
"RequestPath": "/316/schedule/ical",
"SourceContext": "JoinRpg.Portal.Pages.Error.ErrorPageModel",
"SpanId": "22cdc0e882e0bf1b",
"TraceId": "74b7ea9b73b60776db27d3d8564871d2",
"_p": "F",
"exceptions": [
{
"ClassName": "System.ArgumentException",
"Depth": 0,
"HResult": -2147024809,
"HelpURL": null,
"Message": "An instance of CalDateTime can only be initialized from a DateTime of kind Utc or Unspecified.",
"RemoteStackIndex": 0,
"RemoteStackTraceString": null,
"Source": "Ical.Net",
"StackTraceString": " at Ical.Net.DataTypes.CalDateTime..ctor(DateTime value, Boolean hasTime)\n at JoinRpg.WebPortal.Managers.Schedule.SchedulePageManager.BuildIcalEvent(ProgramItemPlaced evt) in /home/runner/work/joinrpg-net/joinrpg-net/src/JoinRpg.WebPortal.Managers/Schedule/SchedulePageManager.cs:line 59\n at System.Linq.Enumerable.ListSelectIterator2.MoveNext()\n at Ical.Net.Proxies.UniqueComponentListProxy1.AddRange(IEnumerable`1 collection)\n at JoinRpg.WebPortal.Managers.Schedule.SchedulePageManager.GetIcalSchedule() in /home/runner/work/joinrpg-net/joinrpg-net/src/JoinRpg.WebPortal.Managers/Schedule/SchedulePageManager.cs:line 51\n at JoinRpg.Portal.Controllers.Schedule.ShowScheduleController.Ical(Int32 projectId) in /home/runner/work/joinrpg-net/joinrpg-net/src/JoinRpg.Portal/Controllers/Schedule/ShowScheduleController.cs:line 58\n at lambda_method4471(Closure, Object)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Logged|12_1(ControllerActionInvoker invoker)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ExceptionContextSealed context)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker)\n at JoinRpg.Portal.Infrastructure.CsrfTokenCookieMiddleware.InvokeAsync(HttpContext context, IAntiforgery antiforgery) in /home/runner/work/joinrpg-net/joinrpg-net/src/JoinRpg.Portal/Infrastructure/CsrfTokenCookieMiddleware.cs:line 24\n at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at JoinRpg.Portal.Infrastructure.DiscoverFilters.DiscoverProjectMiddleware.InvokeAsync(HttpContext context) in /home/runner/work/joinrpg-net/joinrpg-net/src/JoinRpg.Portal/Infrastructure/DiscoverFilters/DiscoverProjectMiddleware.cs:line 23\n at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)\n at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)\n at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)\n at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)"
}
],
"fields": {
"errorPath": "/316/schedule/ical",
"http.request.method": "GET",
"network.protocol.version": "1.1",
"server.address": "dev.joinrpg.ru",
"url.path": "/316/schedule/ical",
"url.scheme": "http",
"user_agent.original": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
},
"kubernetes": {
"container_hash": "cr.yandex/crp3fr717nr1rn78qeij/joinrpg-portal@sha256:04b2550fab4e2e259952268b9c7247fbef133c8696787ea1cee9b926f531a684",
"container_image": "sha256:aa831dd9c43716ca8e6cf3a7c3aba54301fd240f7b4a40615204372ea31a889a",
"container_name": "joinrpg-portal",
"docker_id": "b8b92491d4688ac49fc936717df7e228b5a098601795524620229b115f86f2d2",
"host": "cl1srs3vm9kpbequ05mn-exod",
"labels": {
"app.kubernetes.io/name": "joinrpg-portal",
"managed-by-kustomize-dev": "true",
"pod-template-hash": "c794d949c"
},
"namespace_name": "dev",
"pod_id": "611e373e-5e1e-467c-9a7e-4441b936d19a",
"pod_name": "joinrpg-portal-c794d949c-tx9rq"
},
"stream": "stdout",
"time": "2025-10-29T04:51:47.26880543Z"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions