Closed mariusbutuc closed 7 years ago
That message is usually printed when you have code like config app
and the app does not exist. PlugAttack
does not have any config, though, so it looks really wired. Can you show your config files?
Oh, thanks Michaล: in the config for the :api
app, it seems to have been an issue of having
config PlugAttack,
throttle_period: 1_000,
attempts_per_period: 60
instead of
config :api, PlugAttack,
throttle_period: 1_000,
attempts_per_period: 60
๐
An umbrella app has one application that uses
PlugAttack
and has it declared as a dependency in its mix file. ๐Starting an
iex
session from the inner app behaves as expected, but when starting it from the root level of the umbrella app this feedback is provided:Does
PlugAttack
need to be added as a dependency in the rootmix.exs
file?Fairly new to plugs, and sure where to start debugging this. Any pointers would be appreciated!