Skip to content
This repository was archived by the owner on Feb 4, 2022. It is now read-only.
This repository was archived by the owner on Feb 4, 2022. It is now read-only.

Adding asgi to the api settings causes error 400 on app #730

@alsiPanda

Description

@alsiPanda

This is not strictly an error and might be an related to okuna-app even, I was trying to see if I can add chat to the current okuna using django channels. After following the channel docs and couple of GitHub projects, I made relevant changes, like adding asgi_application and channels-redis to settings, asgi.py, routing.py to openbook.
As a result api on reinstall starts listening on port 80 as usual. The admin panel also can be accessed on browser, but the flutter app stops communicating and keeps giving error 400.
Any ideas on what could be causing the issue. Some articles suggest it could be due to multipart header. But as an amateur, I am not sure. @lifenautjoe , any hint would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions