Giter Club home page Giter Club logo

Comments (10)

arafiq avatar arafiq commented on July 28, 2024

I tried an example where the incoming request is of type WSGI ( no websockets), and its still fails alternatively. With the same error.

from django-websocket-redis.

jrief avatar jrief commented on July 28, 2024

Is your project available on Github or alternatives?
How can you route it into the websocket handler then - that's weird!

from django-websocket-redis.

arafiq avatar arafiq commented on July 28, 2024

No its not available, unfortunately. Its a project that I've been working
on at my workplace for a year now. I can create a sample project and see if
I get the same error. If I do I'll post that project on github.

On Fri, Jan 3, 2014 at 11:06 AM, Jacob Rief [email protected]:

Is your project available on Github or alternatives?
How can you route it into the websocket handler then - that's weird!


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-31536502
.

from django-websocket-redis.

jrief avatar jrief commented on July 28, 2024

Apparently you are using websockets for Redis in debug mode, ie. you run it as ./manage runserver instead of uwsgi. Is this correct?

For me it seems, as if line 5 in wsgi_server.py does not work well in debug mode. Try to deactivate this line (only for debug) until I found a fix for it.

from django-websocket-redis.

arafiq avatar arafiq commented on July 28, 2024

Thank you for the feedback. And yes I have been using it in debug mode
On Jan 3, 2014 3:49 PM, "Jacob Rief" [email protected] wrote:

Apparently you are using websockets for Redis in debug mode, ie. you run
it as ./manage runserver instead of uwsgi. Is this correct?

For me it seems, as if line 5 in wsgi_server.py does not work well in
debug mode. Try to deactivate this line (only for debug) until I found a
fix for it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-31556528
.

from django-websocket-redis.

arafiq avatar arafiq commented on July 28, 2024

I tried what you suggested. Its still giving me the same error.

from django-websocket-redis.

jrief avatar jrief commented on July 28, 2024

Somehow I was able to repeat your problem. I therefore moved the monkey patching of redis from the main server to the uwsgi server. I assume/hope that this will fix your problem. Please wait for version 0.2.2 and then try again.

from django-websocket-redis.

arafiq avatar arafiq commented on July 28, 2024

Thank you. I appreciate it. I will keep you posted after the next release,
regardless if there is a problem or not.
On Jan 4, 2014 3:57 PM, "Jacob Rief" [email protected] wrote:

Somehow I was able to repeat your problem. I therefore moved the monkey
patching of redis from the main server to the uwsgi server. I assume/hope
that this will fix your problem. Please wait for version 0.2.2 and then try
again.


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-31589741
.

from django-websocket-redis.

jrief avatar jrief commented on July 28, 2024

0.2.2 is available on PyPI.

from django-websocket-redis.

arafiq avatar arafiq commented on July 28, 2024

Perfect!! This new release seemed to solve the problem.

from django-websocket-redis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.