Hi, Our language service give license error. vhs-language 2b7afd558d8b vitalograph/ventrahub-dev-images:language-prod-latest 44357:8080 STATUS Restarting
[10:40:54 INF] Starting VentraHubStructure.LanguageService
[10:40:56 INF] Trying to acquire the distributed lock for database migration: LanguageService.
[10:40:56 INF] Distributed lock is acquired for database migration: LanguageService...
[10:40:59 INF] Distributed lock has been released for database migration: LanguageService...
[10:40:59 ERR] ABP-LIC-0017 - License code is not valid: xxxxxxxxxxxxx
[10:40:59 ERR] ABP-LIC-ERROR - License check failed for 'Volo.Abp.LanguageManagement.Domain-v10.0.2.0'.
3 Answer(s)
-
0
Volo.Abp.LanguageManagement.Domainis a commercial (Pro) module and it requires a valid ABP license at runtime.ABP-LIC-0017 - License code is not validmeans the application is reading anAbpLicenseCodevalue, but ABP’s license validation rejects it (wrong/expired/mismatched license, or corrupted value).- Fix it by ensuring the correct license code is provided to the LanguageService container exactly as issued by ABP:
- In the LanguageService configuration, set
AbpLicenseCode(recommended via environment variable in containers), for example indocker-compose.yml:
- In the LanguageService configuration, set
services: vhs-language: environment: - AbpLicenseCode=PUT_YOUR_FULL_LICENSE_CODE_HERE(Make sure it’s a single uninterrupted value; no extra spaces/quotes/newlines.)- Remove/avoid having multiple different
AbpLicenseCodedefinitions (e.g., bothappsettings.jsonand environment variables with different values). - Redeploy/restart the container after changing the value.
- If you’re still getting
ABP-LIC-0017after you re-paste the license code from the ABP customer portal/email (plain-text), this is a license/account issue and must be handled by ABP licensing support.
- Since this is a license-related problem, please contact us at: https://abp.io/contact
(Verified: Language Management module requires a Team or higher license; your log also shows it’s
Volo.Abp.LanguageManagement.Domain-v10.0.2.0failing the license check.)
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
-
0
we have env lisans for all service language: image: ${DOCKER_REPO}:language-${TAG:-latest} build: context: . dockerfile: services/language/VentraHubStructure.LanguageService/Dockerfile container_name: vhs-language depends_on: authserver: condition: service_healthy sqlserver: condition: service_healthy ports: - "44357:8080" environment: <<: [ *abp_common_env, *abp_license_env ] DOTNET_RUNNING_IN_CONTAINER: "true" ASPNETCORE_CONTENTROOT: /src/services/language/VentraHubStructure.LanguageService AuthServer__Authority: "${AUTH_SERVER_URL}" AuthServer__MetaAddress: "http://authserver:8080" AuthServer__RequireHttpsMetadata: "${REQUIRE_HTTPS:-false}" AuthServer__SwaggerClientId: "SwaggerTestUI" AuthServer__Audience: "LanguageService" App__CorsOrigins: "${APP_CORS_ORIGINS}" App__HealthCheckUrl: "/health-status" Swagger__IsEnabled: "${ENABLE_SWAGGER:-true}"
-
0
hi
Can you check this?
https://abp.io/support/questions/817/How-to-delete-current-license-login-session#answer-4cbc8f13-c7f3-84fa-7fc8-39fa2688df13
Thanks