Issue with django channels `ValueError: Invalid IPv6 URL`

Check to see what is actually being configured for ALLOWED_HOSTS.
Superficially, and based on the error message, it seems to me that you might be getting [['*']] as the value. Either that or ["['*']"]

I’d try setting that directly in your settings file, or printing that setting to see how it’s configured. (Or, you could check it in your shell interactively)