Re: Deploying Django app with Channels on Linux Hosting

2018-10-03 Thread Manjunath
Hi Andrew,
I checked with my host providers. They are telling that websockets are 
supported & I should check my code. :(

On Thursday, October 4, 2018 at 3:18:23 AM UTC+5:30, Andrew Godwin wrote:
>
> 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 > 
> 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...@googlegroups.com .
>> To post to this group, send email to django...@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
>>  
>> 
>> .
>> 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/15f33bc8-012d-4f8b-8332-7e28b74f9811%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Deploying Django app with Channels on Linux Hosting

2018-10-03 Thread Andrew Godwin
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  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
> 
> .
> 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.


Deploying Django app with Channels on Linux Hosting

2018-10-03 Thread Manjunath
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.
For more options, visit https://groups.google.com/d/optout.