Activities of "viswajwalith"

Only the following cases enforces license check

  • Debugger attached
  • ASPNETCORE_ENVIRONMENT = Development

I see that you already updated your ASPNETCORE Environment variable. There's only 1 possibility left, you are attached a debugger to the project. Are you running the container from Visual Studio with debugger attached? To check this add the following command to your Program

Console.WriteLine("DebuggerAttached: " + System.Diagnostics.Debugger.IsAttached); 

Did you add the Volo.Saas module with source-code? If yes, did you compile it in debug mode?

Hi, it is coming as debugger attached?

What might be the cause? we havent had any debuggers or mapping for debuggers?

I included the code to check mode as well

hi Are you publish your project in RELEASE mode?

yes in release mode only...

@maliming we modified program.cs

FYI: our docker-compose.override.yml

Environment is coming as production only

Log:

Environment is : Production

[07:42:29 INF] Starting Exceego.EHSWatch.AppV3.InternalGateway.

[07:42:34 WRN] Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed.

[07:42:34 INF] User profile is available. Using '/root/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.

[07:42:34 INF] Creating key {6c3d7fff-34d3-4188-9d62-7a2ae3a36859} with creation date 2021-09-15 07:42:34Z, activation date 2021-09-15 07:42:34Z, and expiration date 2021-12-14 07:42:34Z.

[07:42:34 WRN] No XML encryptor configured. Key {6c3d7fff-34d3-4188-9d62-7a2ae3a36859} may be persisted to storage in unencrypted form.

[07:42:34 INF] Writing data to file '/root/.aspnet/DataProtection-Keys/key-6c3d7fff-34d3-4188-9d62-7a2ae3a36859.xml'.

[07:42:34 INF] Loaded ABP modules:

[07:42:34 INF] - Exceego.EHSWatch.AppV3.InternalGateway.AppV3InternalGatewayModule

.....

[07:42:34 INF] - Exceego.EHSWatch.AppV3.UserTaskService.UserTaskServiceHttpApiModule

[07:42:34 ERR] ABP-LIC-0008 - License check failed for 'Volo.Saas.Tenant.HttpApi-v4.4.0.0'.

You need to log in using the command `abp login <username>`.

For more information, contact to license@abp.io.

[07:42:34 INF] Application is shutting down...

[07:42:35 INF] Initialized all ABP modules.

HI

Can you write some code in Program class to confirm the environment?

Sure will do and let u know

hi

Please share the full logs.

please find the log file at https://www.sendspace.com/file/lyh2da,

suprisingly logs are not captured when trying to run in release mode, so shared the log when debug mode.

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

We are trying to run the Micro Services based solution in Dockers, to start with we just tried with internal gateway. By adding the docker related files using Visual Studio and some help from other support tickets like https://support.abp.io/QA/Questions/69/#answer-d8bebebb-b714-3c1e-7fcb-39f437bc8ba3

Still it is not working. It is still checking for AB licence code, we are running in release mode and set the environment as Production

and set the environment as Production

Still checking for licence.

Our gole to deploy the solution in dockers for product and use the dockers for local development as well , so please try to provide some inputs accordingly.

Hi,

After my check ,actually, there is no problem.

It will query the database twice:

When you click on the result of queryable, it will send additional commands to the database:

Thanks for the input, we will cross check and update u back

Could you share the code? thanks.

Yes over the email, anyway just sharing once again to shiwei.liang@volosoft.com.

Yes we had a communication 6 days before, I think 6 days is very short to close the ticket. By the way did u got a chance to check the code which I shared?

Showing 221 to 230 of 315 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30