Learn More, Pay Less!
Hurry up, ends March 14!

Activities of "carl.hallqvist"

Thanks Berkan,

This working great. I think that we got something to start with. The errors was not shown in Chrome.

Great support!

Thanks Berkan,

Looking good! Its just the last thing that is not working:

[Error] Failed to load resource: the server responded with a status of 404 () (bootstrap.min.css.map, line 0) https://staging.myproject.io/bootstrap.min.css.map

[Error] Failed to load resource: the server responded with a status of 404 () (dotnet.js.map, line 0) https://staging.myproject.io/_framework/dotnet.js.map

[Error] Failed to load resource: the server responded with a status of 404 () (dotnet.runtime.js.map, line 0) https://staging.myproject.io/_framework/dotnet.runtime.js.map

[Error] Failed to load resource: the server responded with a status of 404 () (bootstrap.bundle.min.js.map;, line 0) https://staging.myproject.io/bootstrap.bundle.min.js.map;

Thanks for the advice, I have implemented these but unfortunately without success. I have also verified that the correct Docker image is being used in the Kubernetes deployment. In the Blazor container, I have opened a pod shell and verified the app/wwwroot/appsettings.json, and its contents are correct as follows:

root@myproject-blazor-6d98cf46bf-lrdqn:/app/wwwroot# cat appsettings.json
{
  "App": {
    "SelfUrl": "https://staging.myproject.io"
  },
  "AuthServer": {
    "Authority": "https://auth.staging.myproject.io",
    "ClientId": "Blazor",
    "ResponseType": "code"
  },
  "RemoteServices": {
    "Default": {
      "BaseUrl": "https://gateway-web.staging.myproject.io"
    }
  },
  "AbpCli": {
    "Bundle": {
      "Mode": "BundleAndMinify", /* Options: None, Bundle, BundleAndMinify */
      "Name": "global"
    }
  }
}

I have also executed the following:

root@myproject-blazor-6d98cf46bf-lrdqn:/app# grep "localhost" -r
wwwroot/_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/libs/bootstrap-icons/package.json:    "test:linkinator": "linkinator _site --recurse --silent --skip \"^(?!http://localhost)\"",
wwwroot/_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/libs/bootstrap-icons/README.md:Then open `http://localhost:4000` in your browser.
root@myproject-blazor-6d98cf46bf-lrdqn:/app#

So far, I have not found anything indicating a misconfiguration. Where is localhost:44366 defined? Feels like it is hardcoded in some dll or so? Do you have any further ideas?

Best regards, Carl

Thanks Berkan,

I was adding suggested patch above with same results unfortunately. However, I was sending you a Onedrive link, did you manage to download it? As you say, it will simplify troubleshooting.

Best regards, Carl

Hi, here it comes:

Blazor Backend (K8S)

2025-02-08T13:00:38.046+01:00[myproject-blazor]      Request starting HTTP/1.1 GET http://staging.mysecretdomain.com/appsettings.json - - -
2025-02-08T13:00:38.046+01:00[myproject-blazor]info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
2025-02-08T13:00:38.046+01:00[myproject-blazor]      Executing endpoint 'Microsoft.AspNetCore.Routing.RouteEndpoint'
2025-02-08T13:00:38.046+01:00[myproject-blazor]info: Microsoft.AspNetCore.StaticAssets.StaticAssetsInvoker[6]
2025-02-08T13:00:38.046+01:00[myproject-blazor]      The file appsettings.json was not modified
2025-02-08T13:00:38.046+01:00[myproject-blazor]info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
2025-02-08T13:00:38.046+01:00[myproject-blazor]      Executed endpoint 'Microsoft.AspNetCore.Routing.RouteEndpoint'
2025-02-08T13:00:38.047+01:00[myproject-blazor]info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
2025-02-08T13:00:38.047+01:00[myproject-blazor]      Request finished HTTP/1.1 GET http://staging.mysecretdomain.com/appsettings.json - 304 - application/json 0.6110ms

AuthServer (K8S)

2025-02-08T13:01:51.535+01:00[myproject-authserver][12:01:51 INF] Request finished HTTP/1.1 GET http://myproject-authserver:80/metrics - 200 null application/openmetrics-text; version=1.0.0; charset=utf-8 14.5306ms
2025-02-08T13:02:06.520+01:00[myproject-authserver][12:02:06 INF] Request starting HTTP/1.1 GET http://myproject-authserver:80/metrics - null null
2025-02-08T13:02:06.525+01:00[myproject-authserver][12:02:06 INF] Executing endpoint 'Prometheus metrics'
2025-02-08T13:02:06.536+01:00[myproject-authserver][12:02:06 INF] Executed endpoint 'Prometheus metrics'
2025-02-08T13:02:06.536+01:00[myproject-authserver][12:02:06 INF] Request finished HTTP/1.1 GET http://myproject-authserver:80/metrics - 200 null application/openmetrics-text; version=1.0.0; charset=utf-8 15.9733ms

Safari developer log

[Error] Inläsningsfel av källkarta (x5)
[Error] Failed to load resource: the server responded with a status of 404 () (bootstrap.min.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (bootstrap.bundle.min.js.map;, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (bootstrap.min.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (dotnet.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (dotnet.runtime.js.map, line 0)
[Info] info: Volo.Abp.AbpApplicationBase[0] (dotnet.runtime.o8gq1i8bk6.js, line 3)
      Loaded ABP modules:
[Info] info: Volo.Abp.AbpApplicationBase[0] (dotnet.runtime.o8gq1i8bk6.js, line 3)
      - MyProject.Blazor.Client.MyProjectBlazorClientModule
[Info] info: Volo.Abp.AbpApplicationBase[0] (dotnet.runtime.o8gq1i8bk6.js, line 3)
        - Volo.Abp.Autofac.WebAssembly.AbpAutofacWebAssemblyModule
[Info] info: Volo.Abp.AbpApplicationBase[0] (dotnet.runtime.o8gq1i8bk6.js, line 3)
          - Volo.Abp.Autofac.AbpAutofacModule
[Info] info: Volo.Abp.AbpApplicationBase[0] (dotnet.runtime.o8gq1i8bk6.js, line 3)
            - Volo.Abp.Castle.AbpCastleCoreModule
[Info] info: Volo.Abp.AbpApplicationBase[0] (dotnet.runtime.o8gq1i8bk6.js, line 3)
          - Volo.Abp.AspNetCore.Components.WebAssembly.AbpAspNetCoreComponentsWebAssemblyModule
......
......
        - MyProject.AdministrationService.MyProjectAdministrationServiceContractsModule
[Info] info: Volo.Abp.AbpApplicationBase[0] (dotnet.runtime.o8gq1i8bk6.js, line 3)
        - Volo.Abp.Identity.Pro.Blazor.Server.WebAssembly.AbpIdentityProBlazorWebAssemblyModule
[Info] info: Volo.Abp.AbpApplicationBase[0] (dotnet.runtime.o8gq1i8bk6.js, line 3)
          - Volo.Abp.Identity.Pro.Blazor.AbpIdentityProBlazorModule
[Info] info: Volo.Abp.AbpApplicationBase[0] (dotnet.runtime.o8gq1i8bk6.js, line 3)
          - Volo.Abp.SettingManagement.Blazor.WebAssembly.AbpSettingManagementBlazorWebAssemblyModule
[Info] info: Volo.Abp.AbpApplicationBase[0] (dotnet.runtime.o8gq1i8bk6.js, line 3)
            - Volo.Abp.SettingManagement.AbpSettingManagementHttpApiClientModule
[Info] info: Volo.Abp.AbpApplicationBase[0] (dotnet.runtime.o8gq1i8bk6.js, line 3)
          - Volo.Abp.Identity.AbpIdentityHttpApiClientModule
[Info] info: Volo.Abp.AbpApplicationBase[0] (dotnet.runtime.o8gq1i8bk6.js, line 3)
        - Volo.Abp.Account.Pro.Admin.Blazor.WebAssembly.AbpAccountAdminBlazorWebAssemblyModule
[Info] info: Volo.Abp.AbpApplicationBase[0] (dotnet.runtime.o8gq1i8bk6.js, line 3)
          - Volo.Abp.Account.Pro.Admin.Blazor.AbpAccountAdminBlazorModule

Hi,

Yes I can confirm that a valid certificate is present. Attaching screenshot. Thanks.

Thanks,

Thanks! I almost got it working with minimal changes. But I got this error at the blazer WASM load after using TLS:

  • ABP Framework version: v9.X
  • UI Type: Blazor WASM
  • Database System: EF Core SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

In the ABP 7 we successfully made deployments in public cloud (DigitalOcean) using the generated Helm charts. We modified the values.yaml file and configured the domain names, with TLS certificates using Certmanager and Lets Encrypt.

Now, the Helm charts looking totally different and seems to be used for local deployment?

Can you please give short instructions how to deploy on public cloud?

Thanks

  • ABP Framework version: v8.3.1
  • UI Type: Blazor WASM
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Steps to reproduce the issue:

We have a number of services, e.g., DocumentService, InvoiceService and CustomerService

InvoiceService do API calls to CustomerService and DocumentService. CustomerService do API calls to InvoiceService.

We have tried to create a new class library and generate all client proxies in there. But the generated classes contain includes to the specific project. That means that it will be circular references?

Can you please guide us how to deal with the client proxies when two services do requests to each other?

Thanks

Never mind.. configuration issues..

"Customer": {
        "ClusterId": "Customer",
        "Match": {
          "Path": "/api/customer/{**catch-all}"
        }
      },
      "CustomerSwagger": {
        "ClusterId": "Customer",
        "Match": {
          "Path": "/swagger-json/Customer/swagger/v1/swagger.json"
        },
        "Transforms": [
          {
            "PathRemovePrefix": "/swagger-json/Ticket"
          }
        ]
      }
Showing 1 to 10 of 50 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on February 27, 2025, 13:05