Starts in:
3 DAYS
2 HRS
37 MIN
3 SEC
Starts in:
3 D
2 H
37 M
3 S

Activities of "tech37"

Answer

Hi

I went back to deploying via secure files as noted above.

Then also followed the following post and it worked for me: https://codejack.com/2022/12/deploying-abp-io-to-an-azure-appservice/

Thank you for your asisstance!

Answer

Hi

I was publishing via secure files on the azure pipeline and then referencing them in my build pipeline yml. that seemed to work and the file was visible in the deployment

- task: DownloadSecureFile@1
  inputs:
    secureFile: 'openiddict.pfx'

- script: |
    mkdir -p $(Build.SourcesDirectory)/src/Pekkish.PekkishPOS.AuthServer
    mv $(Agent.TempDirectory)/openiddict.pfx $(Build.SourcesDirectory)/src/Pekkish.PekkishPOS.AuthServer/
  displayName: 'Move PFX File'

Using your example the openiddict.pfx is not deployed to the azure deployment and not showing in the build artefact

Any suggestions should i go back to the secure files option and then referencing it in the yml?

Answer

Hi thank you for your respose.

I have the oppeniddict.pfx file now deployed to c:\home\site\wwwroot along with the other build files:

However when i do a dotnet run on the project dll i get the following error which is different to previous errors.

Answer

Hi

that was just a an example not to expose my the guid to public i used the guid that matches the one listed in the code

Question
  • ABP Framework version: v8.3.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • **Auth Server Separated ** *: yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I am having issues deploying my and running my Auth server on an azure app service and its got to with the signingcertificate openiddict.pfx

I have tried to create it within the console of the Azure app service using documented instructions and get the following error:

 C:\home\site\wwwroot>dotnet dev-certs https -v -ep authserver.pfx -p 00000000-0000-0000-0000-000000000000 (i am using the same Guid that is in the code of AuthServerModule.cs) 
 
[22] An error has occurred saving the certificate: System.Security.Cryptography.CryptographicException: The specified network password is not correct.
   at System.Security.Cryptography.X509Certificates.CertificatePal.FilterPFXStore(ReadOnlySpan`1 rawData, SafePasswordHandle password, PfxCertStoreFlags pfxCertStoreFlags)
   at System.Security.Cryptography.X509Certificates.CertificatePal.FromBlobOrFile(ReadOnlySpan`1 rawData, String fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags)
   at System.Security.Cryptography.X509Certificates.X509Certificate..ctor(Byte[] rawData, String password, X509KeyStorageFlags keyStorageFlags)
   at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(Byte[] rawData, String password, X509KeyStorageFlags keyStorageFlags)
   at Microsoft.AspNetCore.Certificates.Generation.WindowsCertificateManager.SaveCertificateCore(X509Certificate2 certificate, StoreName storeName, StoreLocation storeLocation)
   at Microsoft.AspNetCore.Certificates.Generation.CertificateManager.SaveCertificate(X509Certificate2 certificate)
   at Microsoft.AspNetCore.Certificates.Generation.CertificateManager.EnsureAspNetCoreHttpsDevelopmentCertificate(DateTimeOffset notBefore, DateTimeOffset notAfter, String path, Boolean trust, Boolean includePrivateKey, String password, CertificateKeyExportFormat keyExportFormat, Boolean isInteractive).
There was an error saving the HTTPS developer certificate to the current user personal certificate store.

Any advice please?

Hi. You can close this ticket. I have since decided not to use the MAUI app in the end.

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

I have the ApiHost, Redis and Auth server running

When i launch the Maui app a mojority of the time the app does not launch at all. Below is the output

on the occasions it does launch, I am unable to log in. when i click to sign in the auth server loads. I am able to put in the credentials however when submitting the auth server hangs and does back to the login screen without giving any feedback to the maui app.

There was an issue before when logging in on the auth server. I since added installed the package and this no longer occurs FileNotFoundException: Could not load file or assembly 'DeviceDetector.NET, , Version=6.1.4.0

Thank you very much that worked.

There was no Blazorise package installed so installed it to that version.

When clicking on Dashboard page i get the following as well:

[20:52:53 WRN] Unhandled exception rendering component: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. System.MissingMethodException: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. at Blazorise.Charts.JSChartModule..ctor(IJSRuntime jsRuntime, IVersionProvider versionProvider) at Blazorise.Charts.BaseChart1.OnInitializedAsync() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() [20:52:53 ERR] Unhandled exception in circuit 'ZlbUTE2ajjdYsa0j3Ffqaa6hTFjEyPcKSAjmSfjKF1U'. System.MissingMethodException: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. at Blazorise.Charts.JSChartModule..ctor(IJSRuntime jsRuntime, IVersionProvider versionProvider) at Blazorise.Charts.BaseChart1.OnInitializedAsync() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() [20:52:53 WRN] Unhandled exception rendering component: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. System.MissingMethodException: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. at Blazorise.Charts.JSChartModule..ctor(IJSRuntime jsRuntime, IVersionProvider versionProvider) at Blazorise.Charts.BaseChart1.OnInitializedAsync() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() [20:52:53 ERR] Unhandled exception in circuit 'ZlbUTE2ajjdYsa0j3Ffqaa6hTFjEyPcKSAjmSfjKF1U'. System.MissingMethodException: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. at Blazorise.Charts.JSChartModule..ctor(IJSRuntime jsRuntime, IVersionProvider versionProvider) at Blazorise.Charts.BaseChart1.OnInitializedAsync() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() [20:52:53 INF] Executed endpoint '/_blazor' [20:52:53 INF] Request finished HTTP/2 CONNECT https://localhost:44370/_blazor?id=h7MU0ObCbMqcEC3lEX03bQ - 200 null null 6192.1729ms [20:52:53 INF] Connection id "0HN7MN0SEUSIA", Request id "0HN7MN0SEUSIA:0000000D": the application completed without reading the entire request body.

  • ABP Framework version: v8.3.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server, )
  • **Auth Server Separated **: yes
  • Exception message and full stack trace:

System.MissingMethodException: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. at Blazorise.DataGrid.JSDataGridModule..ctor(IJSRuntime jsRuntime, IVersionProvider versionProvider) at Blazorise.DataGrid.BaseDataGridComponent.OnInitialized() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() at Blazorise.DataGrid.DataGrid1.SetParametersAsync(ParameterView parameters) [20:37:00 ERR] Unhandled exception in circuit 'ix4toH55DV6B_tjrz0DV5pY4b-ZdE3XtWqDrPwZx8SA'. System.MissingMethodException: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. at Blazorise.DataGrid.JSDataGridModule..ctor(IJSRuntime jsRuntime, IVersionProvider versionProvider) at Blazorise.DataGrid.BaseDataGridComponent.OnInitialized() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() at Blazorise.DataGrid.DataGrid1.SetParametersAsync(ParameterView parameters) [20:37:00 WRN] Unhandled exception rendering component: Cannot access a disposed object. System.ObjectDisposedException: Cannot access a disposed object. at Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder1.GrowBuffer(Int32 desiredCapacity) at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InsertNewFrame(DiffContext& diffContext, Int32 newFrameIndex) at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InsertNewFrame(DiffContext& diffContext, Int32 newFrameIndex) at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.AppendDiffEntriesForRange(DiffContext& diffContext, Int32 oldStartIndex, Int32 oldEndIndexExcl, Int32 newStartIndex, Int32 newEndIndexExcl) at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException) at Microsoft.AspNetCore.Components.RenderTree.Renderer.RenderInExistingBatch(RenderQueueEntry renderQueueEntry) at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue() [20:37:00 ERR] Unhandled exception in circuit 'ix4toH55DV6B_tjrz0DV5pY4b-ZdE3XtWqDrPwZx8SA'. System.ObjectDisposedException: Cannot access a disposed object. at Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder1.GrowBuffer(Int32 desiredCapacity) at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InsertNewFrame(DiffContext& diffContext, Int32 newFrameIndex) at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InsertNewFrame(DiffContext& diffContext, Int32 newFrameIndex) at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.AppendDiffEntriesForRange(DiffContext& diffContext, Int32 oldStartIndex, Int32 oldEndIndexExcl, Int32 newStartIndex, Int32 newEndIndexExcl) at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException) at Microsoft.AspNetCore.Components.RenderTree.Renderer.RenderInExistingBatch(RenderQueueEntry renderQueueEntry) at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue() [20:37:00 INF] Executed endpoint '/_blazor' [20:37:00 INF] Request finished HTTP/2 CONNECT https://localhost:44370/_blazor?id=N2bIah7aHDZ-fUdDWWZJeg - 200 null null 41010.7933ms [20:37:00 INF] Connection id "0HN7MMNECJG6H", Request id "0HN7MMNECJG6H:00000047": the application completed without reading the entire request body.

  • Steps to reproduce the issue:

Upgraded to ABP 8.3.2

  • Launched app. Logged in. Selected a menu item from a custom entity. Error received:

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