Activities of "chrisalves"

Provide us with the following info: šŸ§ Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.

  • ABP Framework version: v8.3
  • ABP Studio: 0.9.6
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): NO
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I created a new Blazor Server using ABP Studio. The application configuration is listed below, copied from ABP Studio Configuration. This a new application build.

- **Template**: app

- **Created ABP Studio Version**: 0.9.6 - **Tiered**: No - **UI Framework**: blazor-server - **Theme**: leptonx - **Theme Style**: system - **Database Provider**: ef - **Database Management System**: sqlserver - **Separate Tenant Schema**: Yes - **Mobile Framework**: maui - **Public Website**: Yes - **Optional Modules**: * GDPR * FileManagement * TextTemplateManagement * LanguageManagement * AuditLogging * SaaS * Chat * OpenIddictAdmin

The new application was copied to another machine where IĀ“m doing some tests about the deployment. The first thing is to transfer the application, run the migration etc. BUT the new PC isnĀ“t logged in to my Commercial Account, because the future server will not also logged in to the commercial account.

When running the application (example the Web-Public, or Blazor) it runs very slowly, the time to load the page on the browser is too high. IĀ“ve tried to diagnose the situation running the application through a Windows command prompt, running "DOTNET RUN" to see what happens.

I found many calls to license server getting error, maybe it is running in endless looping affecting the performance of the new application. I understood that it is not needed to LogIn to Commercial Account to run the application. The below picture shows the errors:

What should I do to avoid these endless calls to License Server? Also to improve the response time of the application?

Hi,

The digital certificate defined by the ABP Studio when creating the application already exists in the Blazor folder.

I added "--trust" option at the end of ABP Studio command example and now it is working. The ABP Studio is missing the --Trust option at the end of the example command.

Check the docs before asking a question: https://abp.io/docs/latest Check the samples to see the basic tasks: https://abp.io/docs/latest/samples The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info: šŸ§ Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.

  • ABP Framework version: v8.3.3
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:The SSL certificate is not located so the navigator browser canĀ“t acess the application due to the missing certificate. The available documentation doesnĀ“t cover this detail on how to setup the local certification to run Blazor Server project neigther in ABP Studio, nor in the Command Prompt like dotnet run (inside the project folder of Blazor Server).
  • Steps to reproduce the issue:
  • After creation of Layered (not tiered) Blazor Server application using ABP Studio, after followed the steps to install libs and migration, the application canĀ“t be opened by the any browser without setting up the SSL Certificate.

The below picture shows the browser requesting the valid certificate. There is no instructions about the files to be updated in the code to pass the local certificate path.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: 6.0.0-rc.1 (Prerelease)
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

I updated the ABP and ABP suite to 6.0.0-rc.1 (Prerelease) today and tried to create a sample application to discover the new features announced on 6.0.0-rc.1 (Prerelease).

I just launched ABP Suite, and selected the following fields to create the application and figured out that the applicantion does not run in my local computer. I believe that something is missing in the SUITE when creating the solution. The stable version (5.3.3) works very well, but the prerelease is failing)

Here below is the outputs from ABP suite command line screen.

Here is the Wizard asking for initial build and seed

After this, IĀ“ve tried to run the application using Visual Studio, but after the browser launches the application, nothing is shown in the browser, many alerts appears in the Visual Studio outputs, and many error messages appear in the Server side.

Here is the initial step to build and run the sample application

Multiples warnings on Visual Studio presented below:

The building output has warnings:

<br>


Additionally, the appsettings.json does not contain the Authentication Server or remote server:

There are many errors in the Console of DEV Tools of Chrome:

Please, help.

hi

I tried to replace the Redis Cache "Configuration" in the appsettings.json with the AzureApp-Cache connection string but after this, the Swagger doesnĀ“t load and gets error. IĀ“ve tried to add only the password after the Redis Server separeted by Comma, but it also did not work.

Please share the related error logs.

Hi Maliming, Thanks for your return. Here is the new log, containing data from today (July 6th, 2022): https://sasdsupport.blob.core.windows.net/serverlogs/azureappapi-staging-logs-2022-07-06.txt

IĀ“ve made some tentatives to solve. I updated the solution files to ABP Commercial 5.3.1 including all packages using the ABP Suite feature as you can see in the CLI outputs:

After this, I build the entire solution using Visual Studio 2022.

After this I updated the Redis Configuration in file appsettings.json as presented in the picture below.

IĀ“m not sure what is the root cause, I believe it could be the version of ABP. Now the Application is working.

Hi Maliming, I reported an error about the ABP tool created with ABP Suite, using the ABP default process, and it is not working on the remote servers. Someone in the Support side requested to submit the Log to investigate what can be the error. You are sending an Article from Microsoft and I do not understand the why you are sending this article for me, because the Azure Cache is configured correctly. The problem is certainly related to the configuration of ABP application side, and there is not information on how to configure the application to run correctly with the Azure Redis Cache. Please send to this ticket the step by step process to make configure the Redis Cache, what shoud be done in the ABP Commercial/framework, to allow the applicatioin works correctly.

Thanks,

Christian

using Microsoft.AspNetCore.Extensions.DependencyInjection

Thanks. I added this "Using" and now it is building correctly.

Thanks

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.3.1
  • UI type: Blazor WebAssembly PWA
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): No / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:
  1. Create a New Solution using ABP Suite as the picture below. The feature "Public Web Site" is not selected. This is causing the application do not run.
  2. ABP Suite creates the new application
  3. Seed the Initial Data
  4. ABP executing the Initial Seed in the created database and builds the application
  5. The application is created with success according to the Popup
  6. Create a simple Entity like "Customer" and add a simple property like "Name" with 50 of max size and required as pictures below: (Entity)

(Property)

7. Hit the buton "Save and generate".

  1. Select the buton "Yes"
  2. The application is being built
  3. You will see an error at the end of this process.
  4. The Database was created with success
  5. Try to build and RUN the HttpApi.Host manually using Visual Studio 2022 (same used for other projects), selecting this project and using CRTL+F5
  6. See the error presented by Visual Studio during the Build process.
  7. Read the Error description after this process

Severity Code Description Project File Line Suppression State Error CS1061 'IServiceCollection' does not contain a definition for 'ForwardIdentityAuthenticationForBearer' and no accessible extension method 'ForwardIdentityAuthenticationForBearer' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?) MyApp.HttpApi.Host D:\Data\visualstudio\MyApp\src\MyApp.HttpApi.Host\MyAppHttpApiHostModule.cs 157 Active

IĀ“ve tried to create this app many times, without success. ABP Suite only works fine if the feature "Public Web Site" is selected in the begining of the process. I have other applications created with sucess if the feature "Public Web Site" is selectec. IĀ“m trying to create a new application withou "Public Web Site" because I do want to avoid to install Redis Cache, required by the Public Web Site.

I believe this is an error injected recently in the ABP Suite.

On screenshot 3 you get 500 error. Can you share the related error logs of azureappapi-staging. The logs can be found under the Logs folder with the name logs.txt

Hi! Thanks for you return. I took longer because I was trying to find a root cause, but I found in the log some traces of Redis Cache endpoint requesting the credentials. The log.txt file is available in the URL from my Azure blog storage (public access for read/download) https://sasdsupport.blob.core.windows.net/serverlogs/azureappapi-staging-logs.txt Below I present a cut of the log file where I found Error message and the Systems Exception related. I believe it is required to pass the credentials, but I did not find how to do this. Additionally, I found in Azure Redis Cache Service a connection string to be used by the application, so if it is possible to pass the connection string, it also can be a trial for the solution.

<br>

Additionally, I found these options on Azure Redis Cache available for usage, but I do not know how to apply it on ABP.IO I hided the Primary and Seondary secrets, but I belive we need to use the connection string in ABP.IO.

I tried to replace the Redis Cache "Configuration" in the appsettings.json with the AzureApp-Cache connection string but after this, the Swagger doesnĀ“t load and gets error. IĀ“ve tried to add only the password after the Redis Server separeted by Comma, but it also did not work.

Please, give a help! šŸ˜Š

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.3.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: Blazor Server receiving error message 500 when trying to access the Aplication API
  • Steps to reproduce the issue:" To create an application using ABP Suite, select "Application Template", UI Framework "Blazor WebAssembly", Mobile "React Native", Database "Entity Framework Core", Database SQL, check "Public Website", check "Cms-Kit", check "Separeted Tenant Schema" and check "Progressive Web Application". Build the solution and run locally in the PC to to ensure it runs locally perfectly. Prepare the projects to be published using Visual Studio to remote servers (IĀ“m using Azure WebApp) setting them up by the appsettings.json file in Blazor Projetct, DB Migration and HostAPI project changing the URL of the new web servers. Define the remote servers with configuration settings for ASPNETCORE_ENVIRONMENT=Staging to define the environment name, the same used by the projects".

I will present the settings prepared to publish the application. No sensitive information.

appsettings.json file for Blazor project is presented below containing the new Blazor and HttpApi.Host endpoints.

appsettings.json file for HttpApi.Host project is presented below containing the CorsOrigins and RedirectAllowedUrls containg the Blazor endpoint.

appsettings.json file for DbMigrator project is presented below, with the endpoints for Blazor and the API defined for the remote servers.

After the publish is done, the Swagger runs fine, so the API endpoint seems to be well configured as presented below:

But the Blazor front end is loading endless as presented below:

IĀ“ve already rebuilt the application to avoid mistakes. I searched on the web, also on the ABP support and community and reviewed the settings. I found many other folks having the same issue reported in the support and comunity. I believe there is a trick that is missed by blog authors on community also in the answers from support tickets found.

Here is the symptons found using the "Dev tools" available in the Google Chrome browser:

here is an additional information on the "network" available in the "Dev tools" presenting many failures:

Here is the check-point about the endpoint being pointed correctly by the Blazor app:

Here are the detailed screens that might be the problem: Screen 1:

Screen 2:

Screen 3:

Screen 4:

IĀ“m really blocked for a long time trying to find a solution by myself but I was not able to find what is going wrong with the settings.

Please help on this! šŸ˜Š

Best Regards,

Christian

<br> <br> <br>

Showing 1 to 10 of 21 entries
Made with ā¤ļø on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09