You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using channels==3.0.4 (and channels_redis==3.4.0, turbo-django==0.4.2), somehow group names with 118 chars are created, I dont know why (another bug somewhere).
But channels gives me:
File "/.../.venv/lib/python3.10/site-packages/asgiref/sync.py", line 270, in main_wrap
result = await self.awaitable(*args, **kwargs)
File "/.../.venv/lib/python3.10/site-packages/channels_redis/core.py", line 668, in group_send
assert self.valid_group_name(group), "Group name not valid"
File "/.../.venv/lib/python3.10/site-packages/channels/layers.py", line 165, in valid_group_name
raise TypeError(
TypeError: Group name ('WyJwcmVzY3JpcHRpb25zOk5ld1ByZXNjcmlwdGlvbnNCYWRnZUNvbXBvbmVudCIsWzJdLHt9XQ...PS0yfqaffBmQzpnXc56fhdzI5N68jOBhHDqtQIJEbUI') must be a valid unicode string containing only ASCII alphanumerics, hyphens, or periods.
Using channels==3.0.4 (and channels_redis==3.4.0, turbo-django==0.4.2), somehow group names with 118 chars are created, I dont know why (another bug somewhere).
But channels gives me:
See here and following lines.
I had a hard time finding out that the length of the group name was the problem, and not the (ASCII) type.
Maybe you could just add a hint like
The text was updated successfully, but these errors were encountered: