Riccardo Magliocchetti

Results 344 comments of Riccardo Magliocchetti

@Impro02 I'm trying to replicate it with the example you provided on the starlette discussion with the following packages: ``` anyio==4.3.0 certifi==2024.2.2 click==8.1.7 ecs-logging==2.1.0 elastic-apm==6.22.0 h11==0.14.0 idna==3.7 sniffio==1.3.1 starlette==0.37.2 urllib3==2.2.1...

Ok, so this looks more like metrics related. Still cannot reproduce with python 3.12.3. Have you tried to update python version?

Created a new django 5.0.6 project. Added in settings.py: ``` ELASTIC_APM = { "SERVICE_NAME": "djangoasgi", "SERVER_URL": "", "API_KEY": "", "DEBUG": True, } INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages',...

What you pasted says otherwise though: ``` $ uwsgi --http :9090 --wsgi-file test_500.wsgi *** Starting uWSGI 2.0.18 (64bit) on [Fri Jan 15 15:37:32 2021] *** ```

For reference the error is possibly because of uwsgi (correctly) not running as root not being able to delete files owned by root. Closing.

@bitcity post your full config please

@bitcity thanks. What does ls -l /run/site.pid /run/site.sock says?