Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed RD-15361: Added akka.license-key config that defaults to $AKKA_LICENSE_KEY #23

Conversation

bgaidioz
Copy link
Contributor

@bgaidioz bgaidioz commented Feb 20, 2025

With no AKKA_LICENSE_KEY variable set, it goes to dev mode that stops after 15 minutes. (It doesn't pick the empty string as a key that is wrong.)

WARN  akka.actor.ActorSystemImpl - Dev use only. Free keys at https://akka.io/key

With a proper AKKA_LICENSE_KEY value, it works.

INFO  akka.actor.ActorSystemImpl - License check succeeded for Lightbend user (...). License is valid until (...).

With a wrong AKKA_LICENSE_KEY value, the error shows and the DAS immediately stops.

ERROR akka.actor.ActorSystemImpl - Invalid key. Free keys at https://akka.io/key
INFO  akka.actor.CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
Exception in thread "main" java.lang.RuntimeException: Invalid key: Error decoding license key: Invalid base62 length

@bgaidioz bgaidioz force-pushed the RD-15361-add-akka-key-to-das-server-scala-conf-with-defaulting-to-env-var-akka-license-key branch from cca57a1 to 420f639 Compare February 20, 2025 14:06
@bgaidioz bgaidioz assigned bgaidioz and datYori and unassigned bgaidioz Feb 20, 2025
@datYori datYori merged commit 8e9411f into main Feb 20, 2025
2 checks passed
@datYori datYori deleted the RD-15361-add-akka-key-to-das-server-scala-conf-with-defaulting-to-env-var-akka-license-key branch February 20, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants