Starts in:
1 DAY
20 HRS
6 MIN
5 SEC
Starts in:
1 D
20 H
6 M
5 S

Activities of "shobhit"

Answer

I tried this and it's still not working

Answer

Sorry, but we cannot share the app as of now. I will connect with my legal consultant and get back to you. In the meantime, do you have any ideas how to solve this issue? I've tried allocated more memory like 4 GB, 8 GB, but it's still throwing the error.

Answer

I tried with Node V16. Then when I run "yarn start", I get the following error. I have tried solving it but searching it up but have not been successful.


PS C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter> yarn start yarn run v1.22.19 $ ng serve --open ⠋ Generating browser application bundles (phase: setup)...Warning: Entry point 'ng2-pdf-viewer' contains deep imports into 'C:/Users/aztuteadmin/Desktop/Aztute/CommandCenter/node_modules/pdfjs-dist/legacy/build/pdf', 'C:/Users/aztuteadmin/Desktop/Aztute/CommandCenter/node_modules/pdfjs-dist/legacy/web/pdf_viewer'. This is probably not a problem, but may cause the compilation of entry points to be out of order. ⠼ Generating browser application bundles (phase: building)... <--- Last few GCs --->

[10652:0000017E9B79B6C0] 241694 ms: Scavenge (reduce) 2038.6 (2081.3) -> 2038.2 (2081.5) MB, 4.9 / 0.0 ms (average mu = 0.143, current mu = 0.008) allocation failure [10652:0000017E9B79B6C0] 244947 ms: Mark-sweep (reduce) 2038.8 (2081.5) -> 2038.4 (2082.3) MB, 3249.4 / 0.1 ms (average mu = 0.074, current mu = 0.007) allocation failure scavenge might not succeed

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 1: 00007FF6338515AF v8::internal::CodeObjectRegistry::~CodeObjectRegistry+122159 2: 00007FF6337DB376 DSA_meth_get_flags+64118 3: 00007FF6337DC3F2 DSA_meth_get_flags+68338 4: 00007FF634113204 v8::Isolate::ReportExternalAllocationLimitReached+116 5: 00007FF6340FD7CD v8::SharedArrayBuffer::Externalize+781 6: 00007FF633FA0D8C v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1468 8: 00007FF633FAAA0A v8::internal::Heap::PageFlagsAreConsistent+2842 9: 00007FF633F9D669 v8::internal::Heap::CollectGarbage+2137 10: 00007FF633F9B820 v8::internal::Heap::AllocateExternalBackingStore+2000 11: 00007FF633FC03A6 v8::internal::Factory::NewFillerObject+214 12: 00007FF633CF29F5 v8::internal::DateCache::Weekday+1797 14: 0000017E9DF8CB6F error Command failed with exit code 134. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Answer

Actually, disregard my original question. We're still facing the same problem, but here is the scenario now:

I did not install ABP. I just installed the following: Node: v14 Yarn: v1 Angular: v11

Then I ran "yarn" and then "yarn start". This worked and I was able to launch our website locally.

Then I upgraded Angular to v12. Then I deleted both the "package-lock.json" file and "node_modules" folder. Then I ran "yarn", and then "yarn start". This time I get the following error:


PS C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter> yarn start yarn run v1.22.19 $ ng serve --open ⠧ Generating browser application bundles (phase: building)...node:internal/crypto/hash:71 this[kHandle] = new _Hash(algorithm, xofLen); ^

Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:133:10) at BulkUpdateDecorator.hashFactory (C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\webpack\lib\util\createHash.js:145:18) at BulkUpdateDecorator.update (C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\webpack\lib\util\createHash.js:46:50) at RawSource.updateHash (C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\webpack\node_modules\webpack-sources\lib\RawSource.js:77:8) at NormalModule._initBuildHash (C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\webpack\lib\NormalModule.js:880:17) at handleParseResult (C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\webpack\lib\NormalModule.js:946:10) at C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\webpack\lib\NormalModule.js:1040:4 at C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\webpack\lib\NormalModule.js:819:5 { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' }

Node.js v18.16.1 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Question
  • ABP Framework version: v7.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi Team, We have an existing project on v4.2.2 running on angular "@angular/cli": "~11.0.0", "@angular/compiler-cli": "~11.0.0", "@angular/language-service": "~11.0.0". Now we have setup a new developer machine which will be running the angular project on latest version of angular. We have following setup for this new developer:

1- ABP CLI: 7.2.2 2- angular CLI : 16.1.1

Questions: Do we have to generate proxy in angular project? if yes what command we can use as "abp generate-proxy" is not working for us.

Issue: When doing the project build using "yarn start" we are getting following error:

PS C:\Users\aztuteadmin\Desktop\Aztute\myProject> yarn start yarn run v1.22.19 $ ng serve --open | Generating browser application bundles (phase: building)...node:internal/crypto/hash:71 this[kHandle] = new _Hash(algorithm, xofLen); ^

Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:133:10) at module.exports (C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\webpack\lib\NormalModule.js:417:16) at C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\webpack\lib\NormalModule.js:452:10 at C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\webpack\lib\NormalModule.js:323:13 at C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\loader-runner\lib\LoaderRunner.js:367:11 at C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\loader-runner\lib\LoaderRunner.js:203:19 at VirtualFileSystemDecorator.readFile (C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules@ngtools\webpack\src\virtual_file_system_decorator.js:48:13) at processResource (C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\loader-runner\lib\LoaderRunner.js:202:11) at iteratePitchingLoaders (C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\loader-runner\lib\LoaderRunner.js:158:10) at runLoaders (C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\loader-runner\lib\LoaderRunner.js:365:2) at NormalModule.doBuild (C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\webpack\lib\NormalModule.js:295:3) at NormalModule.build (C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\webpack\lib\NormalModule.js:446:15) at C:\Users\aztuteadmin\Desktop\Aztute\CommandCenter\node_modules\webpack\lib\Compilation.js:981:14 { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' }

Node.js v18.16.1 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Thanks. Working for me.

Hello Liangshiwei, Please find the logs:

Scenario: 1- As a user i click on"forget Password" in "Chrome" browser. Select tenant and provide email address. User receive the email. 2- Copy the password reset link 3- use password reset link in "Chrome" browser, got the password reset page 4- use password reset link in any other browser, got the error in page and got below error in Logs.txt 5- Please help.

2023-06-22 16:06:27.018 +05:30 [INF] Request finished HTTP/2 GET https://localhost:44388/Account/ResetPassword?userId=802abf7c-72ae-ab4c-bd78-3a0bf4cff44c&tenantId=951c9104-027e-5496-2324-3a08bc7a483e&resetToken=CfDJ8H%2BpNH6zNV9Ohi2CAcO2wpoQJlb8Bq2a%2BRax6DmZLlyaKmUbUuix4%2B7BskrNtthTygjLPfGGbgENMsAk2JMp7RI%2B25B6UckOe%2B21bNcaSPEyU3zkID%2Bbr9o9mmjTQlImwYx0wZoU%2FjELvApMYGZtt%2B%2Fil2zM2IjcE5cv0OgRg7hawGWa6EkQG9WjDrzcS2izx2%2Fk6FveGGikR2Dv0yq0C0pnosdZqLCXrQTWBArcppoo - - - 500 - - 21470.7398ms 2023-06-22 16:06:29.764 +05:30 [INF] Executing endpoint '/Account/ResetPassword' 2023-06-22 16:06:29.764 +05:30 [INF] Route matched with {page = "/Account/ResetPassword", area = "", action = "", controller = ""}. Executing page /Account/ResetPassword 2023-06-22 16:06:29.764 +05:30 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2023-06-22 16:06:47.237 +05:30 [INF] Executing handler method Volo.Abp.Account.Public.Web.Pages.Account.ResetPasswordModel.OnGetAsync - ModelState is "Valid" 2023-06-22 16:06:47.237 +05:30 [INF] Executed page /Account/ResetPassword in 17473.4679ms 2023-06-22 16:06:47.237 +05:30 [INF] Executed endpoint '/Account/ResetPassword' 2023-06-22 16:06:48.317 +05:30 [ERR] Connection ID "18086456105130524694", Request ID "80000017-0000-fb00-b63f-84710c7967bb": An unhandled exception was thrown by the application. System.ApplicationException: Current tenant is different than given tenant. CurrentTenant.Id: , given tenantId: 951c9104-027e-5496-2324-3a08bc7a483e at Volo.Abp.Account.Public.Web.Pages.Account.AccountPageModel.CheckCurrentTenant(Nullable1 tenantId) in C:\Shobhit\Projile\Aztute\aspnet-core\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web\Pages\Account\AccountPageModel.cs:line 70 at Volo.Abp.Account.Public.Web.Pages.Account.ResetPasswordModel.OnGetAsync() in C:\Shobhit\Projile\Aztute\aspnet-core\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web\Pages\Account\ResetPassword.cshtml.cs:line 62 at lambda_method4160(Closure , Object , Object[] ) at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.GenericTaskHandlerMethod.Execute(Object receiver, Object[] arguments) at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethodAsync() at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeNextPageFilterAsync() at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Rethrow(PageHandlerExecutedContext context) at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeInnerFilterAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ExceptionContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeNextResourceFilter() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Volo.Abp.AspNetCore.Serilog.AbpSerilogMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location --- at Volo.Abp.AspNetCore.Auditing.AbpAuditingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Volo.Abp.AspNetCore.Auditing.AbpAuditingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at IdentityServer4.Hosting.IdentityServerMiddleware.Invoke(HttpContext context, IEndpointRouter router, IUserSession session, IEventService events, IBackChannelLogoutService backChannelLogoutService) at IdentityServer4.Hosting.MutualTlsEndpointMiddleware.Invoke(HttpContext context, IAuthenticationSchemeProvider schemes) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at IdentityServer4.Hosting.BaseUrlMiddleware.Invoke(HttpContext context) at Volo.Abp.AspNetCore.Uow.AbpUnitOfWorkMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location --- at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location --- at Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT1.ProcessRequestAsync() 2023-06-22 16:06:48.318 +05:30 [INF] Request finished HTTP/2 GET https://localhost:44388/Account/ResetPassword?userId=802abf7c-72ae-ab4c-bd78-3a0bf4cff44c&tenantId=951c9104-027e-5496-2324-3a08bc7a483e&resetToken=CfDJ8H%2BpNH6zNV9Ohi2CAcO2wpoQJlb8Bq2a%2BRax6DmZLlyaKmUbUuix4%2B7BskrNtthTygjLPfGGbgENMsAk2JMp7RI%2B25B6UckOe%2B21bNcaSPEyU3zkID%2Bbr9o9mmjTQlImwYx0wZoU%2FjELvApMYGZtt%2B%2Fil2zM2IjcE5cv0OgRg7hawGWa6EkQG9WjDrzcS2izx2%2Fk6FveGGikR2Dv0yq0C0pnosdZqLCXrQTWBArcppoo - - - 500 - - 21786.6273ms

Thanks. Will look and share.

Where i can get the error logs?

  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  1. On login page, select tenant "t1" and click on Forgot password? link.
  2. In "forgot password" page provide email address
  3. User will receive an email containing a password reset link.
  4. Click on that password reset link or copy and paste it into a incognito (Private) window of browser or any other browser
  5. You will see a blank page when browser loads that URL link.

My Conclusion: If reset password link could not find the tenant in the browser (due to incogito mode or different browser or device) then it breaks.

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