Base solution for your next web application
Open Closed

New Application Hanging After Running Generated Code #8132


User avatar
0
dmerf created

We are about to proceed with full-scale development of our new ASP.NET Zero project. The The split .NET Core 3.0 Host/Angular 8 solution which I downloaded about two weeks ago, verified and uploaded to our repo, has started throwing an error message "HttpRequestEntityChangeSetReasonProvider - Unable to get URL from HttpRequest, fallback to null". This happens when we code gen an entity from our SQL database into the solution and try to navigate to the entity's index view while running. We also reproduced this error on another developer machine which also was working before and also with a FRESHLY downloaded solution from ASP.NET Zero. We are completely blocked from starting development. We have just two days left in our 30 day money-back guarantee period. We are contemplating our options moving forward given this showstopper issue along with all the other bugs, flaws and difficulties we have previously reported. We see a similar problem was reported in incident # 8016 early last month which is still apparently unresolved going on 4 weeks later. We cannot afford to continue with ASP.NET Zero if this cannot be rapidly resolved.

INFO 2019-12-01 19:53:35,908 [40 ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetEditionTenantStatistics", controller = "HostDashboard"}. Executing controller action with signature System.Threading.Tasks.Task`1[Company.Application.MultiTenancy.HostDashboard.Dto.GetEditionTenantStatisticsOutput] GetEditionTenantStatistics(Company.Application.MultiTenancy.HostDashboard.Dto.GetEditionTenantStatisticsInput) on controller Company.Application.MultiTenancy.HostDashboard.HostDashboardAppService (Company.Application.Application). INFO 2019-12-01 19:53:35,927 [36 ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'. INFO 2019-12-01 19:53:35,928 [36 ] c.Infrastructure.ControllerActionInvoker - Executed action Company.Application.MultiTenancy.HostDashboard.HostDashboardAppService.GetEditionTenantStatistics (Company.Application.Application) in 20.015ms INFO 2019-12-01 19:53:35,928 [36 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'Company.Application.MultiTenancy.HostDashboard.HostDashboardAppService.GetEditionTenantStatistics (Company.Application.Application)' INFO 2019-12-01 19:53:35,928 [36 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 78.3127ms 200 application/json; charset=utf-8 DEBUG 2019-12-01 19:53:38,494 [41 ] HttpRequestEntityChangeSetReasonProvider - Unable to get URL from HttpRequest, fallback to null DEBUG 2019-12-01 19:53:43,504 [41 ] HttpRequestEntityChangeSetReasonProvider - Unable to get URL from HttpRequest, fallback to null DEBUG 2019-12-01 19:53:48,517 [41 ] HttpRequestEntityChangeSetReasonProvider - Unable to get URL from HttpRequest, fallback to null DEBUG 2019-12-01 19:53:53,525 [36 ] HttpRequestEntityChangeSetReasonProvider - Unable to get URL from HttpRequest, fallback to null DEBUG 2019-12-01 19:53:58,528 [36 ] HttpRequestEntityChangeSetReasonProvider - Unable to get URL from HttpRequest, fallback to null DEBUG 2019-12-01 19:54:03,545 [36 ] HttpRequestEntityChangeSetReasonProvider - Unable to get URL from HttpRequest, fallback to null DEBUG 2019-12-01 19:54:08,561 [36 ] HttpRequestEntityChangeSetReasonProvider - Unable to get URL from HttpRequest, fallback to null DEBUG 2019-12-01 19:54:13,568 [36 ] HttpRequestEntityChangeSetReasonProvider - Unable to get URL from HttpRequest, fallback to null DEBUG 2019-12-01 19:54:18,581 [44 ] HttpRequestEntityChangeSetReasonProvider - Unable to get URL from HttpRequest, fallback to null


17 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi dmerf

    This issue will be resolved in the ABP 5.1 version.

    see https://github.com/aspnetboilerplate/aspnetboilerplate/pull/4956

  • User Avatar
    0
    dmerf created

    I read the GitHub posting. Your terse response is not sufficient. When when can we expect that to happen? What exactly is being fixed? How do you know from the limited information I provided that our issue will be fixed? Is this fixing an erroneous error message or the problem where our run time freezes up and we can't use the framework whatsoever?

  • User Avatar
    0
    dmerf created

    WHY DID YOU CLOSE THIS? We were still completely blocked with our issue from making any progress.

    Based upon all the things we have seen, we have decided to abandon use of ASP.NET Zero and request a refund under your 30 day guarantee. There are just too many problems including very bloated and monolithic solution design, instability, crude and glitchy code generation, poor documentation and inattentively slow software support. For the price it's just not production ready. Good luck))

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @dmerf

    I couldn't understand the problem here. Those are just DEBUG logs. How it is possible to be blocked by some logs ?

  • User Avatar
    0
    maharatha created

    I am in the same boat. I downloaded a fresh copy and the angular application keeps failing to load and the below is the error message in the error log :

    Unable to get URL from HttpRequest, fallback to null

    DEBUG 2019-12-08 21:15:12,188 [16 ] HttpRequestEntityChangeSetReasonProvider - Unable to get URL from HttpRequest, fallback to null

    No matter how many times i download the project it throws the same error. I cleared my browser cache restarted system and did everything ic ould.

    Please provide a solution. I am also stuck and unable to move forward

  • User Avatar
    0
    maliming created
    Support Team

    hi maharatha

    angular application keeps failing to load

    Is there any error message in the browser's console?

  • User Avatar
    0
    maharatha created

    HTML1300: Navigation occurred. localhost:4200 (1,1)

    [WDS] Live Reloading enabled.

    WARN:

    Could not find localization source: AbpWeb

    HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier). (XHR)GET - http://localhost:22742/AbpUserConfiguration/GetAll?d=1575869001307

  • User Avatar
    0
    maharatha created

    Please note I was able to work on this project till today until i downloaded a fresh copy

  • User Avatar
    0
    maliming created
    Support Team

    @maharatha

    Can I check it remotely? Please send teamviewer connection information to [email protected]

  • User Avatar
    0
    maharatha created

    Update : I provided Team Viewer access and the tech support was able to reproduce it in my system. I have also zipped the code and send it across.

    Waiting for them to resolve and get back.

  • User Avatar
    0
    maliming created
    Support Team

    @maharatha

    Temporary solution: Add the following code to the PostInitialize method of WebCoreModule.

    public override void PostInitialize()
    {
    	SetAppFolders();
    
    	IocManager.Resolve<ApplicationPartManager>().ApplicationParts.AddIfNotContains(new AssemblyPart(typeof(AbpAspNetCoreModule).Assembly));
    }
    

    https://github.com/aspnetzero/aspnet-zero-core/issues/2824#issue-534748319

  • User Avatar
    0
    maharatha created

    This doesn't work as I am getting Resource not found error when i login.

    HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier). (XHR)GET - http://localhost:22742/api/TokenAuth/GetExternalAuthenticationProviders

  • User Avatar
    0
    maharatha created

    Team -

    We need to solve this at the earliest as it's kind of bottle neck for me. I deployed the code to Dev environment and it started throwing other kinds of error.

  • User Avatar
    0
    maliming created
    Support Team

    hi @maharatha

    Try the code below, this situation is very strange, even my colleague cannot reproduce your problem. I will continue to investigate this problem.

    public override void PostInitialize()
    {
    	SetAppFolders();
    
    	var applicationParts = IocManager.Resolve<ApplicationPartManager>().ApplicationParts;
    	applicationParts.AddIfNotContains(new AssemblyPart(typeof(AbpAspNetCoreModule).Assembly));
    	applicationParts.AddIfNotContains(new AssemblyPart(typeof(PSLWebCoreModule).Assembly));
    }
    
  • User Avatar
    0
    maharatha created

    The issue was when you download using the latest button in the site this issues comes up. If you choose Version 8 the code that gets downloaded works fine.

    I am not sure what's going on there. However I am able to load the site but having an issue with downloading the CSS

    Error : Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://dev.pslplus.castandcrew.com/assets/primeng/datatable/css/primeng.datatable.min.css".

    Note: In the same server I have hosted another Abp APP of an older version using .Net Core 2.0 and it works fine.

    What has changed ?

  • User Avatar
    0
    maliming created
    Support Team

    I use your project, just apply the changes I mentioned above, there is no problem with css loading after running angular.

    https://support.aspnetzero.com/QA/Questions/8132#answer-88eea83a-f923-3c36-5411-39f1ff74cb88

  • User Avatar
    0
    maharatha created

    The issue doesn't occur while I use localhost. Also I didn't had to use your code as I was able to get it running when I downloaded the 8.0 version isntead of using the latest version download button.

    The issue is somwhere the code is making the IIS think it to be a html file instead of CSS file, so I get this error when I host it.

    Resource interpreted as Stylesheet but transferred with MIME type text/html

    I don't think it to be an IIS confi settings because I am hosting another application built out of ASPNet Zero ANgular abd .NET Core 2.0.

    I suspect there is some malformed CSS tag or the way we are injecting the CSS code.

    Did anyone else has this issue before ?