Starts in:
2 DAYS
4 HRS
27 MIN
38 SEC
Starts in:
2 D
4 H
27 M
38 S

Activities of "jhsanc"

Hi maliming,

I created the new project and compare files, now one table of OpenIddict was filled. But the error continue, review logs files a see this:

2023-04-13 16:58:09.609 -06:00 [INF] Request starting HTTP/2 GET https://localhost:44332/connect/authorize?client_id=Sports_Blazor&redirect_uri=https%3A%2F%2Flocalhost%3A44307%2Fauthentication%2Flogin-callback&response_type=code&scope=openid%20profile%20Sports%20role%20email%20phone&state=b0c1392ee8b7464b923b72597abc1591&code_challenge=ZJIDvVpo0bSk94VzaSzmpPqqoj0pL3MTZfMqyKtlHt4&code_challenge_method=S256&response_mode=query - - 2023-04-13 16:58:09.613 -06:00 [DBG] Request path /connect/authorize matched to endpoint type Authorize 2023-04-13 16:58:09.615 -06:00 [DBG] Endpoint enabled: Authorize, successfully created handler: IdentityServer4.Endpoints.AuthorizeEndpoint 2023-04-13 16:58:09.615 -06:00 [INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeEndpoint for /connect/authorize 2023-04-13 16:58:09.615 -06:00 [DBG] Start authorize request 2023-04-13 16:58:09.615 -06:00 [DBG] No user present in authorize request 2023-04-13 16:58:09.615 -06:00 [DBG] Start authorize request protocol validation 2023-04-13 16:58:09.615 -06:00 [ERR] Unknown client or not enabled: Sports_Blazor {"ClientId":null,"ClientName":null,"RedirectUri":null,"AllowedRedirectUris":null,"SubjectId":"anonymous","ResponseType":null,"ResponseMode":null,"GrantType":null,"RequestedScopes":"","State":null,"UiLocales":null,"Nonce":null,"AuthenticationContextReferenceClasses":null,"DisplayMode":null,"PromptMode":"","MaxAge":null,"LoginHint":null,"SessionId":null,"Raw":{"client_id":"Sports_Blazor","redirect_uri":"https://localhost:44307/authentication/login-callback","response_type":"code","scope":"openid profile Sports role email phone","state":"b0c1392ee8b7464b923b72597abc1591","code_challenge":"ZJIDvVpo0bSk94VzaSzmpPqqoj0pL3MTZfMqyKtlHt4","code_challenge_method":"S256","response_mode":"query"},"$type":"AuthorizeRequestValidationLog"} 2023-04-13 16:58:09.615 -06:00 [ERR] Request validation failed

Hello now I uninstall and install abp cli and suite, and now found but now I have other problem with migration.

I followed this steps:

https://docs.abp.io/en/commercial/latest/migration-guides/openIddict-step-by-step

I runned DbMigrator project first, but now I have this error:

This is the output when I run DbMigrator project:

Thank you,

First time not, but I uninstall and install the same version for cli, suite and solution.

Thanks.

Question
  • ABP Framework version: v6.0.2
  • UI type: Blazor Webassembly
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:

After I migrate LeptonUI to LeptonX I get this error on initialize:

crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Could not find 'initLeptonX' ('initLeptonX' was undefined). Error: Could not find 'initLeptonX' ('initLeptonX' was undefined). at https://localhost:44307/global.js?_v=637977287865668241:52:328 at Array.forEach (<anonymous>) at a.findFunction (https://localhost:44307/global.js?_v=637977287865668241:52:296) at _ (https://localhost:44307/global.js?_v=637977287865668241:52:2437) at https://localhost:44307/global.js?_v=637977287865668241:52:3325 at new Promise (<anonymous>) at Object.beginInvokeJSFromDotNet (https://localhost:44307/global.js?_v=637977287865668241:52:3306) at Object.St [as invokeJSFromDotNet] (https://localhost:44307/global.js?_v=637977287865668241:52:59938) at _mono_wasm_invoke_js_blazor (https://localhost:44307/_framework/dotnet.6.0.15.t9qh4uqhdv.js:1:195300) at wasm://wasm/00971dfa:wasm-function[219]:0x1a4c1 Microsoft.JSInterop.JSException: Could not find 'initLeptonX' ('initLeptonX' was undefined). Error: Could not find 'initLeptonX' ('initLeptonX' was undefined). at https://localhost:44307/global.js?_v=637977287865668241:52:328 at Array.forEach (<anonymous>) at a.findFunction (https://localhost:44307/global.js?_v=637977287865668241:52:296) at _ (https://localhost:44307/global.js?_v=637977287865668241:52:2437) at https://localhost:44307/global.js?_v=637977287865668241:52:3325 at new Promise (<anonymous>) at Object.beginInvokeJSFromDotNet (https://localhost:44307/global.js?_v=637977287865668241:52:3306) at Object.St [as invokeJSFromDotNet] (https://localhost:44307/global.js?_v=637977287865668241:52:59938) at _mono_wasm_invoke_js_blazor (https://localhost:44307/_framework/dotnet.6.0.15.t9qh4uqhdv.js:1:195300) at wasm://wasm/00971dfa:wasm-function[219]:0x1a4c1 at Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__16`1[[Microsoft.JSInterop.Infrastructure.IJSVoidResult, Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]].MoveNext() at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args) at Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenuLayout.OnAfterRenderAsync(Boolean firstRender) at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

  • Steps to reproduce the issue:"

Then reading solutions I runned command abp bundle, but I have the next error:

If you can help I need migrate to OpenIdict and finally .net 7.

Thank you

This is the code generated by abp suite:

<Modal @ref="xxxxxx"> <ModalContent Centered="true"> <Form id="xxxxxxForm"> <ModalHeader> <ModalTitle>@L["Newxxxxxx"]</ModalTitle> <CloseButton Clicked="CloseCreatexxxxxx" /> </ModalHeader>

I can't see this method: Closing="@ClosingEditModal" Which code must be inside "Closing" method?.

This does not happen with the modal of abp system, it happens with the modal generated by the abp suite.

Thank you,

  • ABP Framework version: v5.3.1

  • UI type: Blazor WASM

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): no

  • Steps to reproduce the issue:" Open any modal like add or edit a registry, if the modal height goes outside of screen and you use mouse clicking in schroll to moving down in the browser. When you leave the click in the mouse the modal disappear in the browser.

Thank you,

Johan

Thank you, now I found the error.

Thank you for your help.

  • ABP Framework version: v5.2.1
  • UI type: Blazor Wasm
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: After deploy a abp blazor solution to Azure, the Blazor layer not found. If you browse this site: https://innovainsportsapi.azurewebsites.net/swagger/index.html Api found. But if you browse this site: https://ordecasports.azurewebsites.net/ Blazor Layer not display, if you see browser console log this shows this errors:
GET https://innovainsportsapi.azurewebsites.net/.well-known/openid-configuration 502 (Bad Gateway)
(anonymous) @ global.js?_v=637843235597089265:2
t.getJson @ global.js?_v=637843235597089265:2
t.getMetadata @ global.js?_v=637843235597089265:2
t._getMetadataProperty @ global.js?_v=637843235597089265:2
t.getAuthorizationEndpoint @ global.js?_v=637843235597089265:2
t.createSigninRequest @ global.js?_v=637843235597089265:2
(anonymous) @ global.js?_v=637843235597089265:2
Promise.then (async)
e._signinStart @ global.js?_v=637843235597089265:2
e._signin @ global.js?_v=637843235597089265:2
e._signinSilentIframe @ global.js?_v=637843235597089265:2
(anonymous) @ global.js?_v=637843235597089265:2
Promise.then (async)
e.signinSilent @ global.js?_v=637843235597089265:2
(anonymous) @ global.js?_v=637843235597089265:2
trySilentSignIn @ global.js?_v=637843235597089265:2
getUser @ global.js?_v=637843235597089265:2
getUser @ global.js?_v=637843235597089265:2
(anonymous) @ global.js?_v=637843235597089265:10
beginInvokeJSFromDotNet @ global.js?_v=637843235597089265:10
Rt @ global.js?_v=637843235597089265:10
_mono_wasm_invoke_js_blazor @ dotnet.6.0.5.i9ayriga9e.js:1
$func219 @ dotnet.wasm:0x1a490
$func167 @ dotnet.wasm:0xce5e
$func166 @ dotnet.wasm:0xbd71
$func2812 @ dotnet.wasm:0xabf01
$func1616 @ dotnet.wasm:0x6fcc2
$func1620 @ dotnet.wasm:0x7032f
$mono_wasm_invoke_method @ dotnet.wasm:0x969d
Module._mono_wasm_invoke_method @ dotnet.6.0.5.i9ayriga9e.js:1
managed__Microsoft_AspNetCore_Components_WebAssembly__Microsoft_AspNetCore_Components_WebAssembly_Services_DefaultWebAssemblyJSRuntime_EndInvokeJS @ managed__Microsoft_AspNetCore_Components_WebAssembly__Microsoft_AspNetCore_Components_WebAssembly_Services_DefaultWebAssemblyJSRuntime_EndInvokeJS:16
endInvokeJSFromDotNet @ global.js?_v=637843235597089265:10
(anonymous) @ global.js?_v=637843235597089265:10
Promise.then (async)
beginInvokeJSFromDotNet @ global.js?_v=637843235597089265:10
Rt @ global.js?_v=637843235597089265:10
_mono_wasm_invoke_js_blazor @ dotnet.6.0.5.i9ayriga9e.js:1
$func219 @ dotnet.wasm:0x1a490
$func167 @ dotnet.wasm:0xce5e
$func166 @ dotnet.wasm:0xbd71
$func2812 @ dotnet.wasm:0xabf01
$func1616 @ dotnet.wasm:0x6fcc2
$func1620 @ dotnet.wasm:0x7032f
$mono_wasm_invoke_method @ dotnet.wasm:0x969d
Module._mono_wasm_invoke_method @ dotnet.6.0.5.i9ayriga9e.js:1
_call_method_with_converted_args @ dotnet.6.0.5.i9ayriga9e.js:1
call_method @ dotnet.6.0.5.i9ayriga9e.js:1
(anonymous) @ dotnet.6.0.5.i9ayriga9e.js:1
call_assembly_entry_point @ dotnet.6.0.5.i9ayriga9e.js:1
callEntryPoint @ global.js?_v=637843235597089265:10
St @ global.js?_v=637843235597089265:10
global.js?_v=637843235597089265:2          GET https://innovainsportsapi.azurewebsites.net/.well-known/openid-configuration 502 (Bad Gateway)
  • Steps to reproduce the issue:"
This is appsettings in blazor:
{
  "App": {
    "SelfUrl": "https://ordecasports.azurewebsites.net"
  },
  "AuthServer": {
    "Authority": "https://innovainsportsapi.azurewebsites.net",
    "ClientId": "InterSports_Blazor",
    "ResponseType": "code"
  },
  "RemoteServices": {
    "Default": {
      "BaseUrl": "https://innovainsportsapi.azurewebsites.net"
    },
    "AbpAccountPublic": {
      "BaseUrl": "https://innovainsportsapi.azurewebsites.net"
    }
  },
  "AbpCli": {
    "Bundle": {
      "Mode": "BundleAndMinify", /* Options: None, Bundle, BundleAndMinify */
      "Name": "global",
      "Parameters": {
        "LeptonTheme.Style": "Style6", /* Options: Style1, Style2... Style6 */
        "LeptonTheme.ChangeStyleDynamically": "true"
      }
    }
  }
}
And this is my appsettings in api host:
{
  "App": {
    "SelfUrl": "https://innovainsportsapi.azurewebsites.net",
    "AngularUrl": "http://localhost:4200",
    "CorsOrigins": "https://*.azurewebsites.net,https://*.InterSports.com,https://localhost:44307",
    "RedirectAllowedUrls": "http://localhost:4200,https://localhost:44307"
  },
  "Redis": {
    "Configuration": "127.0.0.1"
  },
  "ConnectionStrings": {
    "Default": "Server=tcp:sportssrv.database.windows.net,1433;Initial Catalog=InterSports;Persist Security Info=False;User ID=innovainadmin;Password=****;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;"
  },
  "AuthServer": {
    "Authority": "https://innovainsportsapi.azurewebsites.net",
    "RequireHttpsMetadata": "false",
    "SwaggerClientId": "InterSports_Swagger",

  },
  "StringEncryption": {
    "DefaultPassPhrase": "lrkjZGSrHairnNmy"
  },
  "Settings": {
    "Volo.Abp.LeptonTheme.Style": "Style6",
    "Volo.Abp.LeptonTheme.Layout.MenuPlacement": "Left",
    "Volo.Abp.LeptonTheme.Layout.MenuStatus": "AlwaysOpened",
    "Volo.Abp.LeptonTheme.Layout.Boxed": "False"
  }
}

Hi @jhsanc,

I didn't mean it will solve the issue completely.

This will be fixed in next patch version (v5.2.1) soon.

Thank you for your help.

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