Closed cdmastercom closed 7 months ago
See enable_local_access
in config.
Sorry for my naive question, but where does the config go? I found config.txt in the repo but I don't know how to actually use it. :thinking:
Its location is passed as an argument to redbot_daemon
; e.g.,
python bin/redbot_daemon config.txt
Thanks for replying! I'm actually using the CLI in my case (redbot, not redbot-daemon) and I guess I can't use a config file with it or access localhost. I'll see if I can use the daemon then
Same issue. I am also using redbot
cli.
Is there no way to use redbot
cli with localhost?
Does cli support config yet?
The check IP function prevents testing or using redbot against local systems. So any usage like:
Root cause: https://github.com/mnot/redbot/blob/6ac6c8ea7a1c1d890c56fc46988a55c09d7d2829/redbot/resource/fetch.py#L110-L121
When using redbot the error message is
Not sure if this is intended behaviour, but either way a better error message would be nice here. Using redbot on a local server is nice for development, so ideally users could disable this check somehow.