Search results

  1. Doulos

    How configure ASGI instead of default WSGI

    Yep, the site currently on production is running with Django using wsgi, but I introduced a functionality with web sockets and need to use asgi instead. I am using a default OLS template that comes with a Django virtual host predefined using wsgi. There I am serving my statics files too. I want...
  2. Doulos

    How configure ASGI instead of default WSGI

    Sorry, I am new to ols, I have a virtual host, the default one "Example" I just replaced de default Django app with mine. I have searching on the web and I can't find a way of doing that, a reverse proxy to Django ASGI. could you please help me? I also don't know what to do with my actual...
  3. Doulos

    How configure ASGI instead of default WSGI

    First of all say that my django based project using celery works wonderfully on openlitespeed. However, I have a new requirement that requires me to use django channels to send asynchronous messaging. For this I must stop using WSGI that comes by default in the openlitespeed template and change...
  4. Doulos

    Issue with Celery on One-Click OpenLiteSpeed Django Server.

    A lo cubano, compadre usted es el caballo. Que Dios te bendiga, con eso creo que se resolvio todo. Muchas Gracias!!! in English , You are the man, God Bless you, I think with your last suggestion everything is working fine again. Thanks very much.
  5. Doulos

    Issue with Celery on One-Click OpenLiteSpeed Django Server.

    this is the error.log when requesting in the browser and getting error 500 tail -fn16 /usr/local/lsws/logs/error.log 2024-04-23 20:43:25.054677 [INFO] [854] [wsgi:Example:/]: locked pid file [/tmp/lshttpd/Example:_.sock.pid]. 2024-04-23 20:43:25.054707 [INFO] [854] [wsgi:Example:/] remove...
  6. Doulos

    Issue with Celery on One-Click OpenLiteSpeed Django Server.

    Sorry I forgot two files related to celery correct configuration, my mistake, could you please try for me to add this files? is simple. they are in mentioned in django celery guide https://docs.celeryq.dev/en/stable/django/first-steps-with-django.html the __init__.py file of the project needs to...
  7. Doulos

    Issue with Celery on One-Click OpenLiteSpeed Django Server.

    My problem is simple to reproduce, setup a django app, then install pip install django-celery django-celery-beat then python manage.py migrate then register the two apps on settings.py INSTALLED_APPS = [ ... 'celery', 'django_celery_beat', ... #'rest_framework'...
  8. Doulos

    Issue with Celery on One-Click OpenLiteSpeed Django Server.

    yep i have a virtualenvironment and the website works fine, and yes I run killall lswsgi whenever I do any change. I would like to know if litespeed works fine with celery, isnt there any incompatibility, maybe because of the fact that celery introduces asynchronous tasks? thanks in advance
  9. Doulos

    Issue with Celery on One-Click OpenLiteSpeed Django Server.

    Hello, thanks for your response, yes everything is fine, the website is working fine: instrai.com. But I have to comment on settings.py the apps celery and celerybeat. however, if I uncomment the lines mentioned before the litespeed server returns error 500. and the strange thing is that I...
  10. Doulos

    Issue with Celery on One-Click OpenLiteSpeed Django Server.

    Hello, I am using the One-Click OpenLiteSpeed Django Server. It was working all fine until I installed celery on my project and celery beat. The server is working fine when I run python manage runserver servername:8000 But Lite speed cants serve it it gives error 500. Once i comment celery on...
Top