Comments (10)
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.
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.
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.
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.
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.
I tried what you suggested. Its still giving me the same error.
from django-websocket-redis.
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.
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.
0.2.2 is available on PyPI.
from django-websocket-redis.
Perfect!! This new release seemed to solve the problem.
from django-websocket-redis.
Related Issues (20)
- How to define {{ WEBSOCKET_URI }} with corresponding slug on front end?
- uWSGI server not working like the docs HOT 3
- 1
- WebSocket Connection refused
- Subscription not created, errors? How to debug?
- Websocket doesn't run after reloading whole site and starting uwsgi
- ws4redis slices messages HOT 1
- DWR doesn't work with overridden groups
- Switching from username to users id HOT 1
- Handle ssl connections HOT 4
- Exception: 'LimitedStream' object has no attribute 'raw' when using Django 2.1.5 HOT 7
- django-websocket-redis with gunicorn
- WebSocket opening handshake timed out in https
- ValueError: filedescriptor out of range in select() HOT 1
- Django Websocket send data HOT 1
- Each websocket connection results into a brand new socket connection to redis hence it implicitly limits the maximum number of websockets that could be established by using this library HOT 2
- Whether clustering is supported or not?
- Compatibility with Django 3.2 and new release of django-websocket-redis
- OSS License compatibility question HOT 1
- No module named 'django.utils.six'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-websocket-redis.