You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run example with docker-compose.
python manage.py run 0.0.0.0:8088 server is running 404 is working, but when trying access tenant: test.localhost:8088 I get django error, wich looks like has to do something with middelaware.
Django version 3.1.3, using settings 'tenant_tutorial.settings'
Starting development server at http://0.0.0.0:8088/
Quit the server with CONTROL-C.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/wsgiref/handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
File "/usr/local/lib/python3.8/site-packages/django/contrib/staticfiles/handlers.py", line 76, in call
return self.application(environ, start_response)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/wsgi.py", line 133, in call
response = self.get_response(request)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 129, in get_response
response._resource_closers.append(request.close)
AttributeError: 'WSGIRequest' object has no attribute '_resource_closers'
I tried to downgrade to Django 2.2.12, got similar, but a bit different error:
Django version 2.2.12, using settings 'tenant_tutorial.settings'
Starting development server at http://0.0.0.0:8088/
Quit the server with CONTROL-C.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/wsgiref/handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
File "/usr/local/lib/python3.8/site-packages/django/contrib/staticfiles/handlers.py", line 65, in call
return self.application(environ, start_response)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/wsgi.py", line 141, in call
response = self.get_response(request)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 76, in get_response
response._closable_objects.append(request) AttributeError: 'WSGIRequest' object has no attribute '_closable_objects'
Tried with python3.8 - same. Also tried donwgrade gunicorn to 19.10 same.
The text was updated successfully, but these errors were encountered:
I am trying to run example with docker-compose.
python manage.py run 0.0.0.0:8088 server is running 404 is working, but when trying access tenant: test.localhost:8088 I get django error, wich looks like has to do something with middelaware.
Django version 3.1.3, using settings 'tenant_tutorial.settings'
Starting development server at http://0.0.0.0:8088/
Quit the server with CONTROL-C.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/wsgiref/handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
File "/usr/local/lib/python3.8/site-packages/django/contrib/staticfiles/handlers.py", line 76, in call
return self.application(environ, start_response)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/wsgi.py", line 133, in call
response = self.get_response(request)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 129, in get_response
response._resource_closers.append(request.close)
AttributeError: 'WSGIRequest' object has no attribute '_resource_closers'
I tried to downgrade to Django 2.2.12, got similar, but a bit different error:
Django version 2.2.12, using settings 'tenant_tutorial.settings'
Starting development server at http://0.0.0.0:8088/
Quit the server with CONTROL-C.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/wsgiref/handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
File "/usr/local/lib/python3.8/site-packages/django/contrib/staticfiles/handlers.py", line 65, in call
return self.application(environ, start_response)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/wsgi.py", line 141, in call
response = self.get_response(request)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 76, in get_response
response._closable_objects.append(request)
AttributeError: 'WSGIRequest' object has no attribute '_closable_objects'
Tried with python3.8 - same. Also tried donwgrade gunicorn to 19.10 same.
The text was updated successfully, but these errors were encountered: