-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Phoenix with burrito: Error when calling MFA defined by measurement #116
Comments
Hm, I'm going to have to build an example app that matches your setup to debug this, that error isn't directing me to anything specific at the moment. I'll try to build a test app in a little bit and see if I can get it to behave in a similar manner. |
Thank you very much |
Are you building this app with your |
Sorry, I set it to prod, btw I'm using linux mint 21 (ubuntu 22 based) , MIX_ENV=prod mix assets.deploy
mix phx.digest
MIX_ENV=prod mix release prod.exs : import Config
config :pg_panel, PgPanelWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json"
config :swoosh, api_client: Swoosh.ApiClient.Finch, finch_name: PgPanel.Finch
config :swoosh, local: false
config :logger, level: :info runtime.exs : import Config
if System.get_env("PHX_SERVER") do
config :pg_panel, PgPanelWeb.Endpoint, server: true
end
if config_env() == :prod do
database_path =
System.get_env("DATABASE_PATH") ||
raise """
environment variable DATABASE_PATH is missing.
For example: /etc/pg_panel/pg_panel.db
"""
config :pg_panel, PgPanel.Repo,
database: database_path,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5")
secret_key_base =
System.get_env("SECRET_KEY_BASE") ||
raise """
environment variable SECRET_KEY_BASE is missing.
You can generate one by calling: mix phx.gen.secret
"""
host = System.get_env("PHX_HOST") || "example.com"
port = String.to_integer(System.get_env("PORT") || "4000")
config :pg_panel, :dns_cluster_query, System.get_env("DNS_CLUSTER_QUERY")
config :pg_panel, PgPanelWeb.Endpoint,
url: [host: host, port: 443, scheme: "https"],
http: [
ip: {0, 0, 0, 0, 0, 0, 0, 0},
port: port
],
secret_key_base: secret_key_base
end |
Hi , first I want to thank you for making this, it's very helpful for deploying elixir app.
I have some issue with burrito releasing phoenix , the app successfully build and running , but it has error printed out :
Elixir: 1.15.5
Erlang: 26.0.2
Phoenix: ~> 1.7.9
Is there any settings that I missed ?
Thank you
The text was updated successfully, but these errors were encountered: