Skip to content
This repository has been 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

Open
alsiPanda opened this issue Jul 26, 2020 · 3 comments
Open

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

alsiPanda opened this issue Jul 26, 2020 · 3 comments

Comments

@alsiPanda
Copy link

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.

@alsiPanda
Copy link
Author

alsiPanda commented Jul 26, 2020

@lifenautjoe is there any way to figure out exactly what is wrong that I can try, since neither django not flutter logs are giving any errors

@alsiPanda
Copy link
Author

@lifenautjoe Any way to found out what is causing the 400 error ? Any particular files I should look into ?

@kitlu007
Copy link

@Komposten @lifenautjoe

Hello team,

Could be of help to us please ? I understand you guys are hard pressed by time to launch the okuna web, but a little help could be useful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants