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

build lucky project use Crystal 1.13.0-dev [4dce0d594]) cause 'strict_transport_security' error when running lucky. #1902

Closed
zw963 opened this issue Jun 22, 2024 · 1 comment
Labels

Comments

@zw963
Copy link

zw963 commented Jun 22, 2024

When i built a exists lucky app use Crystal 1.13.0-dev [4dce0d594] use --cross-compile and zig cc, after copy binary into remote VPS, i get following error:

Unhandled exception: The 'strict_transport_security' setting for Lucky::ForceSSLHandler was nil, but the setting is required.

Try this...

  Lucky::ForceSSLHandler.configure do |settings|
    settings.strict_transport_security = some_value
  end
 (Habitat::MissingSettingError)

But, if same lucky app built with Crystal 1.12.2 [04998c0c7], no above error.

Maybe a error on newer Crystal compiler? or something else?

Thanks

@zw963 zw963 added the bug label Jun 22, 2024
@jwoertink
Copy link
Member

Basically a duplicate of #1872 and will be fixed by #1900

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants