{"action":"opened","issue":{"url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/964","repository_url":"https://api.github.com/repos/HangfireIO/Hangfire","labels_url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/964/labels{/name}","comments_url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/964/comments","events_url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/964/events","html_url":"https://github.com/HangfireIO/Hangfire/issues/964","id":249581060,"number":964,"title":"System.Globalization.CultureNotFoundException. Culture is not supported.","user":{"login":"mspace","id":1265588,"avatar_url":"https://avatars3.githubusercontent.com/u/1265588?v=4","gravatar_id":"","url":"https://api.github.com/users/mspace","html_url":"https://github.com/mspace","followers_url":"https://api.github.com/users/mspace/followers","following_url":"https://api.github.com/users/mspace/following{/other_user}","gists_url":"https://api.github.com/users/mspace/gists{/gist_id}","starred_url":"https://api.github.com/users/mspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mspace/subscriptions","organizations_url":"https://api.github.com/users/mspace/orgs","repos_url":"https://api.github.com/users/mspace/repos","events_url":"https://api.github.com/users/mspace/events{/privacy}","received_events_url":"https://api.github.com/users/mspace/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-11T09:25:04Z","updated_at":"2017-08-11T09:25:04Z","closed_at":null,"body":"I'm using:\r\n- HangFire.Core v1.4.6\r\n- Hangfire.SqlServer v1.4.6\r\n- Windows 10 x64\r\n- IIS 10.0 (not important probably but still)\r\n\r\nSuddenly I got failed jobs containing next exception:\r\n\r\n```\r\nSystem.Globalization.CultureNotFoundException\r\n\r\nCulture is not supported. Parameter name: name en-SI is an invalid culture identifier.\r\n\r\nSystem.Globalization.CultureNotFoundException: Culture is not supported.\r\nParameter name: name\r\nen-SI is an invalid culture identifier.\r\n   at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)\r\n   at Hangfire.CaptureCultureAttribute.OnPerforming(PerformingContext filterContext)\r\n   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation)\r\n```\r\n\r\nHangfire was using two servers if that makes any difference. After deleting all Hangfire tables it now works, but still don't know why this happened.\r\n\r\nBut why does CultureNotFoundException occurs? Thread is always running under valid culturename. I found next post: https://stackoverflow.com/questions/38690850/disable-preservecultureattribute-in-hangfire\r\n\r\n"}}
{"actor":{"display_login":"mspace"}}