Activities of "maliming"

hi

Is this endpoint success? you can open it in your browser.

Thanks, I will create a internal issue for thsi.

Why you generate all of these clients regardless the template used !!!

hi

This is exactly what template projects are for, you can remove clients you don't need.

Thanks

hi

Can you share a simple project to reproduce?

You can create a new template project, Thanks

liming.ma@volosoft.com

hi Can you share your project source code? Include the steps that I can reproduce locally.

hi

liming.ma@volosoft.com

Can you share how you deployed your application? Can you share the steps to reproduce the issue?

It's hard for me to confirm the problem now, but I can confirm that this is a deployment problem. It has nothing to do with the code

System.UriFormatException: Invalid URI: The hostname could not be parsed.

You can also share the context logs when this exception occor


app.Use(async (httpContext, next) =>
{
    var logger = httpContext.RequestServices.GetRequiredService<ILogger<YourModule>>();

    try
    {
        //BaseUri: new Uri(request.Scheme + Uri.SchemeDelimiter + host + request.PathBase, UriKind.Absolute),
        // RequestUri: new Uri(request.GetEncodedUrl(), UriKind.Absolute)),
        logger.LogError("BaseUri: " + httpContext.Request.Scheme + Uri.SchemeDelimiter + httpContext.Request.Host + httpContext.Request.PathBase);
        logger.LogError("RequestUri: " + httpContext.Request.GetEncodedUrl());

    }
    catch (Exception e)
    {
        logger.LogError(e, e.Message);
    }

    await next(httpContext);
});
app.UseAuthentication();
app.UseAuthorization();

hi

I checked the error, and it seems to occur on these lines.

https://github.com/openiddict/openiddict-core/blob/dev/src/OpenIddict.Client.AspNetCore/OpenIddictClientAspNetCoreHandlers.cs#L120-L121

Can you check the HttpRequest info of your production environment

You can add a middleware to output the HttpRequest info to logs.

Showing 6481 to 6490 of 11529 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.