Jellyfin provider not syncing

Issue description:

since updated jellyfin server to last 10.9.6 the sync is not working any longer. it starts but nothing happens. no songs at all. moreover if I try to modify the connection to the provider adding a music directory the https address is no more accepted requesting the port number. if I set the 443 port for https the address displays error: ip not valid.

Logs:

Upload description: demix jellyfin sync issues

Additional information:

 

 

Reproduction steps:

 

 

Media provider:

Jellyfin

Screenshots:

 

    

2024-06-08 15:00:27.211 Verbose/JellyfinLogger: <-- [249] 500 Internal Server Error http://192.168.1.19:49154/Users/934b9df9de784b0c876e8e14587b0da0/Items?Recursive=true&IncludeItemTypes=MusicAlbum&ParentId=1b8414a45d245177d1c134bb724b1d92&ExcludeLocationTypes=Virtual&Fields=Genres,SortName,Path,DateCreated,ProductionYear,CommunityRating,Studios,Tags,UserDataPlayCount,UserDataLastPlayedDate&startIndex=0&limit=1000&UserId=934b9df9de784b0c876e8e14587b0da0 (120ms, unknown-length body)
2024-06-08 15:00:27.211 Verbose/JellyfinLogger: <-- [249] Error processing request.

Your server returns an error, check it’s logs to see why it fails on this basic query.

You need to start the subdirectory with a /.

this is the log server side upon tryng to sync

jellyfin2
date,stream,content
2024/06/08 20:09:07,stdout, at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)

2024/06/08 20:09:07,stdout," at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
"
2024/06/08 20:09:07,stdout, at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)

2024/06/08 20:09:07,stdout, at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)

2024/06/08 20:09:07,stdout, at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)

2024/06/08 20:09:07,stdout, at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)

2024/06/08 20:09:07,stdout," at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
"
2024/06/08 20:09:07,stdout, at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)

2024/06/08 20:09:07,stdout, at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)

2024/06/08 20:09:07,stdout, at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)

2024/06/08 20:09:07,stdout, at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)

2024/06/08 20:09:07,stdout," at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
"
2024/06/08 20:09:07,stdout," at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
"
2024/06/08 20:09:07,stdout," at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
"
2024/06/08 20:09:07,stdout," at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
"
2024/06/08 20:09:07,stdout," at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
"
2024/06/08 20:09:07,stdout," at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
"
2024/06/08 20:09:07,stdout,— End of stack trace from previous location —

2024/06/08 20:09:07,stdout, at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()

2024/06/08 20:09:07,stdout," at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
"
2024/06/08 20:09:07,stdout, at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)

2024/06/08 20:09:07,stdout," at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
"
2024/06/08 20:09:07,stdout,— End of stack trace from previous location —

2024/06/08 20:09:07,stdout, at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()

2024/06/08 20:09:07,stdout," at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
"
2024/06/08 20:09:07,stdout, at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)

2024/06/08 20:09:07,stdout,— End of stack trace from previous location —

2024/06/08 20:09:07,stdout, at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()

2024/06/08 20:09:07,stdout," at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
"
2024/06/08 20:09:07,stdout, at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()

2024/06/08 20:09:07,stdout," at lambda_method403(Closure, Object, Object)
"
2024/06/08 20:09:07,stdout," at Jellyfin.Api.Controllers.ItemsController.GetItemsByUserIdLegacy(Guid userId, String maxOfficialRating, Nullable1 hasThemeSong, Nullable1 hasThemeVideo, Nullable1 hasSubtitles, Nullable1 hasSpecialFeature, Nullable1 hasTrailer, Nullable1 adjacentTo, Nullable1 parentIndexNumber, Nullable1 hasParentalRating, Nullable1 isHd, Nullable1 is4K, LocationType locationTypes, LocationType excludeLocationTypes, Nullable1 isMissing, Nullable1 isUnaired, Nullable1 minCommunityRating, Nullable1 minCriticRating, Nullable1 minPremiereDate, Nullable1 minDateLastSaved, Nullable1 minDateLastSavedForUser, Nullable1 maxPremiereDate, Nullable1 hasOverview, Nullable1 hasImdbId, Nullable1 hasTmdbId, Nullable1 hasTvdbId, Nullable1 isMovie, Nullable1 isSeries, Nullable1 isNews, Nullable1 isKids, Nullable1 isSports, Guid[] excludeItemIds, Nullable1 startIndex, Nullable1 limit, Nullable1 recursive, String searchTerm, SortOrder sortOrder, Nullable1 parentId, ItemFields[] fields, BaseItemKind[] excludeItemTypes, BaseItemKind[] includeItemTypes, ItemFilter[] filters, Nullable1 isFavorite, MediaType mediaTypes, ImageType imageTypes, ItemSortBy sortBy, Nullable1 isPlayed, String[] genres, String[] officialRatings, String[] tags, Int32[] years, Nullable1 enableUserData, Nullable1 imageTypeLimit, ImageType[] enableImageTypes, String person, Guid[] personIds, String[] personTypes, String[] studios, String[] artists, Guid[] excludeArtistIds, Guid[] artistIds, Guid[] albumArtistIds, Guid[] contributingArtistIds, String[] albums, Guid[] albumIds, Guid[] ids, VideoType[] videoTypes, String minOfficialRating, Nullable1 isLocked, Nullable1 isPlaceHolder, Nullable1 hasOfficialRating, Nullable1 collapseBoxSetItems, Nullable1 minWidth, Nullable1 minHeight, Nullable1 maxWidth, Nullable1 maxHeight, Nullable1 is3D, SeriesStatus seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, Guid studioIds, Guid genreIds, Boolean enableTotalRecordCount, Nullable1 enableImages) " 2024/06/08 20:09:07,stdout," at Jellyfin.Api.Controllers.ItemsController.GetItems(Nullable1 userId, String maxOfficialRating, Nullable1 hasThemeSong, Nullable1 hasThemeVideo, Nullable1 hasSubtitles, Nullable1 hasSpecialFeature, Nullable1 hasTrailer, Nullable1 adjacentTo, Nullable1 parentIndexNumber, Nullable1 hasParentalRating, Nullable1 isHd, Nullable1 is4K, LocationType locationTypes, LocationType excludeLocationTypes, Nullable1 isMissing, Nullable1 isUnaired, Nullable1 minCommunityRating, Nullable1 minCriticRating, Nullable1 minPremiereDate, Nullable1 minDateLastSaved, Nullable1 minDateLastSavedForUser, Nullable1 maxPremiereDate, Nullable1 hasOverview, Nullable1 hasImdbId, Nullable1 hasTmdbId, Nullable1 hasTvdbId, Nullable1 isMovie, Nullable1 isSeries, Nullable1 isNews, Nullable1 isKids, Nullable1 isSports, Guid[] excludeItemIds, Nullable1 startIndex, Nullable1 limit, Nullable1 recursive, String searchTerm, SortOrder sortOrder, Nullable1 parentId, ItemFields[] fields, BaseItemKind[] excludeItemTypes, BaseItemKind[] includeItemTypes, ItemFilter[] filters, Nullable1 isFavorite, MediaType mediaTypes, ImageType imageTypes, ItemSortBy sortBy, Nullable1 isPlayed, String[] genres, String[] officialRatings, String[] tags, Int32[] years, Nullable1 enableUserData, Nullable1 imageTypeLimit, ImageType[] enableImageTypes, String person, Guid[] personIds, String[] personTypes, String[] studios, String[] artists, Guid[] excludeArtistIds, Guid[] artistIds, Guid[] albumArtistIds, Guid[] contributingArtistIds, String[] albums, Guid[] albumIds, Guid[] ids, VideoType[] videoTypes, String minOfficialRating, Nullable1 isLocked, Nullable1 isPlaceHolder, Nullable1 hasOfficialRating, Nullable1 collapseBoxSetItems, Nullable1 minWidth, Nullable1 minHeight, Nullable1 maxWidth, Nullable1 maxHeight, Nullable1 is3D, SeriesStatus seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, Guid studioIds, Guid genreIds, Boolean enableTotalRecordCount, Nullable1 enableImages) " 2024/06/08 20:09:07,stdout," at Emby.Server.Implementations.Dto.DtoService.GetBaseItemDtos(IReadOnlyList1 items, DtoOptions options, User user, BaseItem owner)
"
2024/06/08 20:09:07,stdout," at Emby.Server.Implementations.Dto.DtoService.GetBaseItemDtoInternal(BaseItem item, DtoOptions options, User user, BaseItem owner)
"
2024/06/08 20:09:07,stdout," at Emby.Server.Implementations.Dto.DtoService.AttachBasicFields(BaseItemDto dto, BaseItem item, BaseItem owner, DtoOptions options)
"
2024/06/08 20:09:07,stdout, at MediaBrowser.Controller.Entities.BaseItem.CreateSortName()

2024/06/08 20:09:07,stdout, at MediaBrowser.Controller.Entities.BaseItem.ModifySortChunks(ReadOnlySpan`1 name)

2024/06/08 20:09:07,stdout, at Jellyfin.Extensions.StringExtensions.Transliterated(String text)

2024/06/08 20:09:07,stdout, at System.Lazy`1.CreateValue()

2024/06/08 20:09:07,stdout,— End of stack trace from previous location —

2024/06/08 20:09:07,stdout, at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)

2024/06/08 20:09:07,stdout, at Jellyfin.Extensions.StringExtensions.<>c.<.cctor>b__8_0()

2024/06/08 20:09:07,stdout, at ICU4N.Text.Transliterator.GetInstance(String id)

2024/06/08 20:09:07,stdout, — End of inner exception stack trace —

2024/06/08 20:09:07,stdout, at ICU4N.Text.Transliterator…cctor()

2024/06/08 20:09:07,stdout," at ICU4N.Util.UResourceBundle.GetBundleInstance(String baseName, String localeName, Assembly root)
"
2024/06/08 20:09:07,stdout," at ICU4N.Util.UResourceBundle.GetBundleInstance(String baseName, String localeName, Assembly root, Boolean disableFallback)
"
2024/06/08 20:09:07,stdout," at ICU4N.Util.UResourceBundle.InstantiateBundle(String baseName, String localeName, Assembly root, Boolean disableFallback)
"
2024/06/08 20:09:07,stdout," at ICU4N.Util.UResourceBundle.GetRootType(String baseName, Assembly root)
"
2024/06/08 20:09:07,stdout," at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory)
"
2024/06/08 20:09:07,stdout, at ICU4N.Util.UResourceBundle.<>c__DisplayClass25_0.b__0(String key)

2024/06/08 20:09:07,stdout," at ICU4N.Impl.ICUResourceBundle.GetBundleInstance(String baseName, String localeID, Assembly root, Boolean disableFallback)
"
2024/06/08 20:09:07,stdout," at ICU4N.Impl.ICUResourceBundle.GetBundleInstance(String baseName, String localeID, Assembly root, OpenType openType)
"
2024/06/08 20:09:07,stdout, at ICU4N.Globalization.UCultureInfo.get_CurrentCulture()

2024/06/08 20:09:07,stdout, — End of inner exception stack trace —

2024/06/08 20:09:07,stdout, at ICU4N.Globalization.UCultureInfo…cctor()

2024/06/08 20:09:07,stdout," at System.Globalization.CultureInfo…ctor(String name, Boolean useUserOverride)
"
2024/06/08 20:09:07,stdout,en is an invalid culture identifier.

2024/06/08 20:09:07,stdout, —> System.Globalization.CultureNotFoundException: Only the invariant culture is supported in globalization-invariant mode. See Globalization config settings - .NET | Microsoft Learn for more information. (Parameter ‘name’)

2024/06/08 20:09:07,stdout, —> System.TypeInitializationException: The type initializer for ‘ICU4N.Globalization.UCultureInfo’ threw an exception.

2024/06/08 20:09:07,stdout,System.TypeInitializationException: The type initializer for ‘ICU4N.Text.Transliterator’ threw an exception.

2024/06/08 20:09:07,stdout,[20:09:07] [ERR] [59] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /Users/934b9df9de784b0c876e8e14587b0da0/Items.

Don’t paste log extract like that it’s not readable …

Use the proper forum balise or upload the file.

Anyway


2024/06/08 20:09:07,stdout, at ICU4N.Globalization.UCultureInfo…cctor()
2024/06/08 20:09:07,stdout," at System.Globalization.CultureInfo…ctor(String name, Boolean useUserOverride)
"
2024/06/08 20:09:07,stdout,en is an invalid culture identifier.
2024/06/08 20:09:07,stdout, —> System.Globalization.CultureNotFoundException: Only the invariant culture is supported in globalization-invariant mode. See Globalization config settings - .NET | Microsoft Learn for more information. (Parameter ‘name’)
2024/06/08 20:09:07,stdout, —> System.TypeInitializationException: The type initializer for ‘ICU4N.Globalization.UCultureInfo’ threw an exception.
2024/06/08 20:09:07,stdout,System.TypeInitializationException: The type initializer for ‘ICU4N.Text.Transliterator’ threw an exception.
2024/06/08 20:09:07,stdout,[20:09:07] [ERR] [59] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /Users/934b9df9de784b0c876e8e14587b0da0/Items.

This is a Jellyfin internal but with localization.

According to a few issues there:

You need to fix your configuration and remove

"DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1" remove this from you env vars.

it works again. you saved my day! THX A LOT