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

Lambda endpoint is unable to use licensing information #51

Open
SzymonPobiega opened this issue Feb 10, 2021 · 1 comment
Open

Lambda endpoint is unable to use licensing information #51

SzymonPobiega opened this issue Feb 10, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@SzymonPobiega
Copy link
Member

Here's what happens

NServiceBus.Features.LicenseReminder. Fatal. Failed to initialize the license. Exception: System.IO.IOException: Read-only file system at System.IO.FileSystem.CreateDirectory(String fullPath) at System.IO.Directory.CreateDirectory(String path) at Particular.Licensing.TrialStartDateStore.GetTrialStartDate() at Particular.Licensing.ActiveLicense.Find(String applicationName, LicenseSource[] licenseSources) at NServiceBus.LicenseManager.InitializeLicense(String licenseText, String licenseFilePath) at NServiceBus.Features.LicenseReminder.Setup(FeatureConfigurationContext context)
@SzymonPobiega SzymonPobiega added the bug Something isn't working label Feb 10, 2021
@DavidBoike
Copy link
Member

More generally, the user experience should be evaluated from the point of view of a new user of NServiceBus. The assumption that a new user will try things out locally is invalid - due to the quality of the Lambda local testing tools, we have found it common that users do their testing in actual Lambda. In this environment, NServiceBus is not able to write trial information into the locations it normally could on a developers workstation, so the entire trial workflow is disrupted.

At the very least, we should consider changing the LicenseReminder to guide users in the correct direction, whether directly in Licensing (where the message originates, which is bundled into Core) or if there is a way to have a context-aware message tailored to serverless.

@sergioc sergioc changed the title Lambda endpoint can't be used without a license Lambda endpoint is unable to use licensing information Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants