Invalid ipv6 url please assist

Hi ya’ll i am getting this error when running indico run -h <your-hostname> -q --enable-evalex i
this is BASE_URL = 'http://127.0.0.1:8000. Please help out?

* Werkzeug debugger console is available to all clients!
Traceback (most recent call last):
  File "/home/luis/dev/indico/env/bin/indico", line 33, in <module>
    sys.exit(load_entry_point('indico', 'console_scripts', 'indico')())
  File "/home/luis/dev/indico/env/lib/python3.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/luis/dev/indico/env/lib/python3.9/site-packages/flask/cli.py", line 596, in main
    return super().main(*args, **kwargs)
  File "/home/luis/dev/indico/env/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/luis/dev/indico/env/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/luis/dev/indico/env/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/luis/dev/indico/env/lib/python3.9/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/luis/dev/indico/env/lib/python3.9/site-packages/click/decorators.py", line 73, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/home/luis/dev/indico/env/lib/python3.9/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/luis/dev/indico/src/indico/cli/core.py", line 164, in run
    run_cmd(info, **kwargs)
  File "/home/luis/dev/indico/src/indico/cli/devserver.py", line 32, in run_cmd
    run_server(info, **kwargs)
  File "/home/luis/dev/indico/src/indico/cli/devserver.py", line 97, in run_server
    app = _make_wsgi_app(info, url, evalex_whitelist, proxy)
  File "/home/luis/dev/indico/src/indico/cli/devserver.py", line 122, in _make_wsgi_app
    url_data = url_parse(url)
  File "/home/luis/dev/indico/env/lib/python3.9/site-packages/werkzeug/urls.py", line 497, in url_parse
    raise ValueError("Invalid IPv6 URL")
ValueError: Invalid IPv6 URL

Really strange error. Please post the exact commands you used (without censoring the hostname), and also the output of host <your-hostname> (in case there’s some garbage in your DNS / hosts file).

I ran the following command indico run -h https://127.0.0.1:8000 -q --enable-evalex

this is the error i get ValueError: Invalid IPv6 URL.

sorry for my cluelessness im new to this.

below is the conf file

General settings

SQLALCHEMY_DATABASE_URI = ‘postgresql:///indico’
SECRET_KEY[quote=“th3mango, post:1, topic:2475, full:true”]
Hi ya’ll i am getting this error when running indico run -h <your-hostname> -q --enable-evalex i
this is BASE_URL = 'http://127.0.0.1:8000. Please help out?

BASE_URL = ‘https://127.0.0.1:8000
CELERY_BROKER = ‘redis://127.0.0.1:6379/0’
REDIS_CACHE_URL = ‘redis://127.0.0.1:6379/1’
DEFAULT_TIMEZONE = ‘America/Phoenix’
DEFAULT_LOCALE = ‘en_GB’
ENABLE_ROOMBOOKING = False
CACHE_DIR = ‘/home/luis/dev/indico/data/cache’
TEMP_DIR = ‘/home/luis/dev/indico/data/tmp’
LOG_DIR = ‘/home/luis/dev/indico/data/log’

The problem is that -h needs a hostname, not a URL. So you’d use -h 127.0.0.1 -p 8000 to set host and port. Setting a base url in the command is not needed since it’s not different from the host/port you use.

Options:
  -h, --host HOST                 The ip/host to bind to.
  -p, --port PORT                 The port to bind to.
  -u, --url URL                   The URL used to access indico. Defaults to
                                  `http(s)://host:port`

PS: I’m not sure what went wrong there, but your post looks somewhat messed up (mix of config, output and then config again). Please check the formatting when posting, as having incomplete information makes it kind of hard to help you.

Also check how to past monospace content here (logs, configs) - you need to put a triple-backtick fence right before/after it…

```
paste your
output here
```

Thanks, it worked. Also thanks for the monospace advice .