django v3 업데이트 이후 routing.py에서consumer에 as.asgi()를 달아줘야 한다.
// apps/chat/routing.py
url(r'^ws/chat/(?P<room_name>[^/]+)/$', consumers.ChatConsumer.as_asgi()),
'Error' 카테고리의 다른 글
AWS S3 버킷 AccessDenied 문제 (0) | 2021.06.04 |
---|---|
"Could not establish connection to "[server_name]": Remote host key has changed, port forwarding is disabled." (0) | 2021.06.03 |
python: 'table already exists' (0) | 2021.06.02 |
AWS) EC2 Permission denied (pk) error (0) | 2021.06.02 |
statusText: "Unauthorized" Error: Request failed with status code 401 (0) | 2021.06.02 |
댓글