Starts in:
1 DAY
3 HRS
54 MIN
52 SEC
Starts in:
1 D
3 H
54 M
52 S

Activities of "travom"

Update:

I have managed to get Blazer project published and running running on ISS.

Removed and reseeded database as per:

https://support.abp.io/QA/Questions/1009/Invalid-redirecturi---RedirectAllowedUrls-on-Login-page

Additionally would also appreciate questions re documentation in original post:

Also, is there any documentation/tutorials on how to deploy ABP Commercial (Application Template) to IIS, or any other generic ABP/ABP Commercial deployment documentation, and if so, could you send to me or provide link(s) please?

I’d also would like to have some documentation on the deployment of ABP Commercial Microservices Template to IIS, as I will shortly be attempting to test/research a similar deployment to IIS once I have (hopefully) successfully resolved the above issues and deployed the Application Template to IIS successfully.

I’m researching deployment of a standard ABP Commercial Application (using the Start-up Template Application, SQL Server, Tiered (Identity Server), Blazor Server) to IIS.

I’m using .NET 6, the latest Volo ABP and ABP Commercial libraries 5.0.1, and Windows 10 (latest).

I have published (in Visual Studio 2022) the Blazor project (of the Application Template Solution) and setup successfully in IIS (local) - i.e., I can hit the site in a browser ok.

To test I run the dependencies IdentityServer project and the Api.Host project from Visual Studio (outside of IIS on 127.0.0.1 - not changing the config of the Blazor project to point elsewhere).

All is good until I try to login (from the Blazor front end – which runs successfully), where upon I get error when re-directing to IdentityServer (https://localhost:44346/) – Internal Server Error – invalid redirect url.

Guessing my config somewhere is wrong - CORS – Tokens – Certs maybe?

Are you able to help me solve this issue please?

Also, is there any documentation/tutorials on how to deploy ABP Commercial (Application Template) to IIS, or any other generic ABP/ABP Commercial deployment documentation, and if so, could you send to me or provide link(s) please?

I’d also would like to have some documentation on the deployment of ABP Commercial Microservices Template to IIS, as I will shortly be attempting to test/research a similar deployment to IIS once I have (hopefully) successfully resolved the above issues and deployed the Application Template to IIS successfully.

Thanks and best regards,

Mike

Resolved:

Changed Windows WSL distribution to Ubuntu 20.04 from Debian.

Debian used v3 of Redis Server, whereas Ubuntu uses v5, which overcomes the .NET 6 issue of requiring version 4 or later of Redis Server.

Thanks for your help. Much appreciated.

Mike

I have attached (snippets) logs for Blazor Server based non-microservices application.

Extremely slow (unworkable) - this is with Redis enabled, running version in WSL (Windows 10) - "redis-server is already the newest version (5:5.0.14-1+deb10u1)".

Your help would be appreciated. How do I upload file here?

2021-12-30 11:36:20.128 +10:00 [INF] Request finished HTTP/2 GET https://localhost:44314/_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/js/abp.js?_v=637745468120000000 - - - 304 - application/javascript 15.0996ms
2021-12-30 11:36:20.162 +10:00 [INF] Request starting HTTP/2 GET https://localhost:44314/_blazor/initializers - -
2021-12-30 11:36:20.166 +10:00 [INF] Request starting HTTP/2 GET https://localhost:44314/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/backgrounds/bg-transparent.png - -
2021-12-30 11:36:20.167 +10:00 [INF] The file /_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/backgrounds/bg-transparent.png was not modified
2021-12-30 11:36:20.167 +10:00 [INF] Request finished HTTP/2 GET https://localhost:44314/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/backgrounds/bg-transparent.png - - - 304 - image/png 0.7792ms
2021-12-30 11:36:20.168 +10:00 [INF] Executing endpoint 'Blazor initializers'
2021-12-30 11:36:20.174 +10:00 [INF] Executed endpoint 'Blazor initializers'
2021-12-30 11:36:20.174 +10:00 [INF] Request finished HTTP/2 GET https://localhost:44314/_blazor/initializers - - - 200 - application/json;+charset=utf-8 11.6727ms
2021-12-30 11:36:20.209 +10:00 [INF] Request starting HTTP/2 GET https://localhost:44314/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-regular.woff2 - -
2021-12-30 11:36:20.209 +10:00 [INF] The file /_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-regular.woff2 was not modified
2021-12-30 11:36:20.209 +10:00 [INF] Request finished HTTP/2 GET https://localhost:44314/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-regular.woff2 - - - 304 - font/woff2 1.0022ms
2021-12-30 11:36:20.213 +10:00 [INF] Request starting HTTP/2 POST https://localhost:44314/_blazor/negotiate?negotiateVersion=1 text/plain;charset=UTF-8 0
2021-12-30 11:36:20.217 +10:00 [INF] Executing endpoint '/_blazor/negotiate'
2021-12-30 11:36:20.226 +10:00 [INF] Executed endpoint '/_blazor/negotiate'
2021-12-30 11:36:20.226 +10:00 [INF] Request finished HTTP/2 POST https://localhost:44314/_blazor/negotiate?negotiateVersion=1 text/plain;charset=UTF-8 0 - 200 316 application/json 13.1632ms
2021-12-30 11:36:20.243 +10:00 [INF] Request starting HTTP/1.1 GET https://localhost:44314/_blazor?id=4ZoHH-SsrXIycgBR0fch2w - -
2021-12-30 11:36:20.245 +10:00 [INF] Executing endpoint '/_blazor'
2021-12-30 11:36:20.856 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:20.856 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:20.856 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:21.155 +10:00 [INF] Received HTTP response headers after 298.9826ms - 200
2021-12-30 11:36:21.155 +10:00 [INF] End processing HTTP request after 299.2067ms - 200
2021-12-30 11:36:21.206 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
   at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
   at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:21.240 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:21.240 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:21.240 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:21.562 +10:00 [INF] Received HTTP response headers after 322.236ms - 200
2021-12-30 11:36:21.562 +10:00 [INF] End processing HTTP request after 322.5054ms - 200
2021-12-30 11:36:21.614 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
   at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
   at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:21.618 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:21.618 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:21.618 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:21.925 +10:00 [INF] Received HTTP response headers after 306.3557ms - 200
2021-12-30 11:36:21.925 +10:00 [INF] End processing HTTP request after 306.6692ms - 200
2021-12-30 11:36:21.976 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
   at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
   at Volo.Abp.Caching.DistributedCache`2.&lt;&gt;c__DisplayClass51_0.&lt;&lt;SetAsync&gt;g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:21.977 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:21.977 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:21.977 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:22.266 +10:00 [INF] Received HTTP response headers after 288.0483ms - 200
2021-12-30 11:36:22.266 +10:00 [INF] End processing HTTP request after 288.315ms - 200
2021-12-30 11:36:22.310 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
   at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
   at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:22.313 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:22.314 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:22.314 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:22.662 +10:00 [INF] Received HTTP response headers after 347.7942ms - 200
2021-12-30 11:36:22.662 +10:00 [INF] End processing HTTP request after 348.3986ms - 200
2021-12-30 11:36:22.709 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
   at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
   at Volo.Abp.Caching.DistributedCache`2.&lt;&gt;c__DisplayClass51_0.&lt;&lt;SetAsync&gt;g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:22.711 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:22.711 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:22.711 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:23.009 +10:00 [INF] Received HTTP response headers after 297.8752ms - 200
2021-12-30 11:36:23.009 +10:00 [INF] End processing HTTP request after 298.1163ms - 200
2021-12-30 11:36:23.050 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
   at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
   at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:23.051 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:23.051 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:23.051 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:23.334 +10:00 [INF] Received HTTP response headers after 282.8674ms - 200
2021-12-30 11:36:23.334 +10:00 [INF] End processing HTTP request after 283.1578ms - 200
2021-12-30 11:36:23.369 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
   at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
   at Volo.Abp.Caching.DistributedCache`2.&lt;&gt;c__DisplayClass51_0.&lt;&lt;SetAsync&gt;g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:23.371 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:23.371 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:23.371 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:23.642 +10:00 [INF] Received HTTP response headers after 270.6388ms - 200
2021-12-30 11:36:23.642 +10:00 [INF] End processing HTTP request after 270.9239ms - 200
2021-12-30 11:36:23.687 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
   at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
   at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:23.689 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:23.689 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:23.689 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:23.964 +10:00 [INF] Received HTTP response headers after 274.4126ms - 200

I have attached logs for Blazor Server based non-microservices application.

Extremely slow (unworkable) - this is with Redis enabled, running version in WSL (Windows 10) - redis-server is already the newest version (5:5.0.14-1+deb10u1).

Your help would be appreciated.

What version of Redis do you run when not using the microservices template which uses the Docker version?

I had to disable it in these cases to get the standard Application template to work - it does not use the Docker version.

"Redis": { "IsEnabled": "false", "Configuration": "127.0.0.1" },

Hi, Thanks for your reply…appreciated.

I followed the same steps…

  1. abp new MicroTemp -t microservice-pro -csf -u blazor or abp new MicroTemp -t microservice-pro -csf -u blazor-server
  2. cd MicroTemp
  3. dotnet build /graphBuild
  4. cd shared/MicroTem.DbMigrator
  5. cd .. && cd ..
  6. I ran the script ./run-tye.ps1

I managed to get the non-microservice version working, but only after disabling Redis in the appsettings.json files: "Redis": { "IsEnabled": "false", "Configuration": "127.0.0.1" },

What version of Redis do require to be installed in these environments? My dev environment is latest windows 10, VS 2022. Can you point me to the Redis download (link/instructions) I need to install it (if that is the issue) please? I note all this worked fine with ABP 4.3. Regarding the Microservices solution, I have all projects running ok (tye run), except the Blazor (server) one. Redis is (as I understand) in the Docker images and seems to be running (see screen shot below), but I still cannot successfully run the Blazor app. SQL in the Docker images and the migrations worked fine…so I’m guessing the Docke Your help sorting this issue out is appreciated.

Best regards,

Mike

Are there issues with creating and running Start-up Templates with ABP Commercial version 5? Has this been tested?

I have tried unsuccessfully to create and get running a new Application Template Solution v5 (Tiered, Blazor Server, Entity Framework) and also (when I could not get that successfully running), a microservice Blazor Server, EF solution. Again v5 and frustratingly no luck there also.

In Tye with the microservice everything runs except the Blazor (44314) service. Same as the application template based solution, which is horrendously slow when it does manage to come to life (the Blazor project), albeit it briefly and randomly before failing.

Both template solutions fail with various errors here is one:

Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting 'DetailedErrors: true' in 'appSettings.Development.json' or set 'CircuitOptions.DetailedErrors'.

I could spend a lot of time documenting all the hours of dramas and problems I've encountered endeavouring to just try and create some new solutions and get them running (documentation needs a lot of improvement), but first I thought I'd reach out and ask if there are known issues with Blazor environments and if so, what are they and are they similar to what troubles I have experienced and possibly when can patches be released?

I note, I last used ABP Commercial with version 4.3, and the above worked pretty well and was straightforward with that version.

I'm using VS 2022 and .NET 6

Many thanks @EngincanV

Mike

Is it possible to update the Easy CRM sample to the latest versions of ABP Commecial and required libraries, as the current version is looking at v4.0.0.0-rc.3 (and 4.1.0?) older (preview) versions of blazorise libraries etc etc?

Showing 11 to 20 of 21 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06