Hi there - it sounds like your host does not support websockets. You should
check with them for more.

Andrew

On Wed, 3 Oct 2018 at 23:43, Manjunath <dmanju.manj...@gmail.com> wrote:

> Hi all,
> I have developed a simple app using django channels.
>
> I would like to deploy it on a linux hosting provider (Currently I have
> account with mochahost.com - Web Hosting:mocha package) & I have deployed
> the app there.
> All features of the app are working except for web sockets which give the
> following error: *Error during WebSocket handshake: Unexpected response
> code: 404*
>
> The app in local development system works fine without a glitch but the
> ASGI layer is not working after deployment.
>
> My current host provider is running pyhon apps using  Passenger.
>
> Is there any extra settings I need to do to setup the Socket layer?
> Kindly help me in this issue.
>
> Package versions used:
> Python - 3.6.6
> Django - 2.1.1
> Channels - 2.1.3
> Channels_redis - 2.3.0
>
>
> Hope to get help for this issue..
>
> Thanks & Regards,
> Manjunath
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e39d3fb8-bad0-4852-a3df-aa52ebf45d6d%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/e39d3fb8-bad0-4852-a3df-aa52ebf45d6d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFwN1uqPpNxOkY-E22vRQw%2B%3D2_iEQ0TJHqVuV-LOn-pMjRYmxA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to