-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
localhost:5443/settings An unhandled exception has occurred #29
Comments
Hi, thx to contribute. |
thank you for your reply. System's culture
To Reproduce
Here is the full error log I think that when saving, the value of the TokenCleanupInterval attribute 05:00:00 was saved as "00:05:00", with a pair of double quotation marks added. I'm very sorry, my English is not good, this is the sentence translated by Google |
@LEIRONGHUA I moved the issue in DynamicConfiguration because it's related to the |
@aguacongas Thanks for the quick update. Error Log
To Reproduce
thank you again for your dedication, offer my sincere respect. |
@LEIRONGHUA yes, it's because the value is stored into redis db, you need to delete it using redis-cli |
@aguacongas |
Ok, can you open a new bug at https://github.com/Aguafrommars/TheIdServer/issues please |
Ok, A new bug has been created: Aguafrommars/TheIdServer#944 (comment) |
## [1.0.1](1.0.0...1.0.1) (2023-02-02) ### Bug Fixes * cannot override configuration service ([ac04aa0](ac04aa0)) * failed to convert timespan ([0189bae](0189bae)), closes [#29](#29) * sample/YarpSample/YarpServer/YarpServer.csproj to reduce vulnerabilities ([7d0534c](7d0534c)) * update packages ([3cfb1fa](3cfb1fa)) * update packages ([9169f72](9169f72)) * update packages ([f76b769](f76b769)) * update packages ([709de5e](709de5e)) * update packages ([a8a3a8f](a8a3a8f)) * update packages ([1ed38c5](1ed38c5)) * update packages ([da1abd1](da1abd1)) * update packages ([dc51845](dc51845)) * update packages ([b8531b3](b8531b3)) * update packages ([54801a3](54801a3))
Describe the bug
GET URL: https://localhost:5443/api/api/configuration/Aguacongas.TheIdServer.BlazorApp.Models.ServerConfig,%20Aguacongas.TheIdServer.BlazorApp.Infrastructure,%20Version=1.0.0.0,%20Culture=neutral,%20PublicKeyToken=null
Logs
System.InvalidOperationException: Failed to convert configuration value at 'TokenCleanupInterval' to type 'System.TimeSpan'.
---> System.FormatException: "00:05:00" is not a valid value for TimeSpan.
---> System.FormatException: String '"00:05:00"' was not recognized as a valid TimeSpan.
at System.Globalization.TimeSpanParse.TimeSpanResult.SetBadTimeSpanFailure()
at System.Globalization.TimeSpanParse.ProcessTerminal_HM_S_D(TimeSpanRawInfo& raw, TimeSpanStandardStyles style, TimeSpanResult& result)
at System.Globalization.TimeSpanParse.ProcessTerminalState(TimeSpanRawInfo& raw, TimeSpanStandardStyles style, TimeSpanResult& result)
at System.Globalization.TimeSpanParse.TryParseTimeSpan(ReadOnlySpan
1 input, TimeSpanStandardStyles style, IFormatProvider formatProvider, TimeSpanResult& result) at System.TimeSpan.Parse(String input, IFormatProvider formatProvider) at System.ComponentModel.TimeSpanConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) ......... at Microsoft.AspNetCore.Builder.EndpointRoutingApplicationBuilderExtensions.Authenticate(HttpContext context, Func
1 next, String basePath, String authicationScheme) in D:\Work\SourceCode\Git\TheIdServer\src\IdentityServer\Duende\Aguacongas.IdentityServer.Admin.Duende\Extensions\EndpointRoutingApplicationBuilderExtensions.cs:line 138Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: