-
Notifications
You must be signed in to change notification settings - Fork 24
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
Crash at startup with token.p8 - bad_auth #206
Comments
Same here, with the mention that the first error logged is: {
"application": "mongoose_push",
"at": "Elixir.MongoosePush.Application.check_runtime_configuration_status/0:212",
"erl_level": "info",
"file": "lib/mongoose_push/application.ex",
"pid": "#PID<0.1802.0>",
"reason": "no_release",
"severity": "info",
"status": "error",
"text": "Skipping TOML configuration due to non-release boot",
"what": "toml_configuration",
"when": "2022-10-19T06:38:14.772",
"domain[0]": "elixir"
} This with the "latest" docker release Maybe the issue is that in mix.exs the Config lines order was reversed in the last commits:
and it seems the Toml generated config get's overwritten by the default config via Confex |
@theanhoo it seems like MongoosePush is really using the default config which for |
@szjozsef Thanks for pointing out to that PR. However, it is not the order of config providers that causes the issue. Confex will override only those options which were not set previously and can be defined in environmental variables. It is this change which causes such log. Old code would set such flag to later indicate in the logs if TOML config was used. However, this log should be harmless because other configuration options should be set |
I am trying to start MongoosePush ver 2.1.0 from the command line:
_build/prod/rel/mongoose_push/bin/mongoose_push start
It would crash with the following errors:
I have copied the files from Apple into the
/home/developer/MongoosePush-master/_build/prod/rel/mongoose_push/lib/mongoose_push-2.1.0/priv
directories.Does anyone have any idea or solution about these?
It says "Required configuration missing" but it doesn't seem to be using any files under the
config
directory.Many thanks in advance.
The text was updated successfully, but these errors were encountered: