django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'profile'. Choices are: (none)
Describe the problem
I am facing this issue where a hosted baserow application crashes and users are not able to access any table. They get an error "Table not found" or "View not found" on the UI, depending on what they are trying to access. This error doesn't happen often, the application might run without issues for 3 to 7 days. The issue is resolved when i restart the docker containers.
Here are the logs when the issue occurs.
[2024-06-10 07:03:56 +0000] [113] [INFO] connection open
172.26.0.2:47316 - "GET /api/database/views/table/1294/?include=filters,sortings,group_bys,decorations HTTP/1.1" 200
172.26.0.2:47318 - "GET /api/database/fields/table/1294/ HTTP/1.1" 200
172.26.0.2:47318 - "GET /api/database/views/grid/3046/?limit=80&offset=0&include=field_options%2Crow_metadata HTTP/1.1" 200
172.26.0.2:47318 - "GET /api/database/views/grid/3046/aggregations/ HTTP/1.1" 200
172.26.0.2:47318 - "GET /api/database/fields/table/1297/ HTTP/1.1" 200
172.26.0.2:50786 - "GET /api/database/views/table/1297/?include=filters,sortings,group_bys,decorations HTTP/1.1" 200
172.26.0.2:47318 - "GET /api/database/fields/table/512/ HTTP/1.1" 200
172.26.0.2:50786 - "GET /api/database/views/table/512/?include=filters,sortings,group_bys,decorations HTTP/1.1" 200
172.26.0.2:50786 - "GET /api/database/views/grid/3051/?limit=80&offset=0&include=field_options%2Crow_metadata HTTP/1.1" 200
172.26.0.2:50786 - "GET /api/database/views/grid/2181/?limit=80&offset=0&include=field_options%2Crow_metadata HTTP/1.1" 200
127.0.0.1:58584 - "GET /api/_health/ HTTP/1.1" 200
172.26.0.2:34670 - "GET /api/user/dashboard/ HTTP/1.1" 200
172.26.0.2:34670 - "GET /api/auth-provider/login-options/ HTTP/1.1" 200
[2024-06-10 07:04:26 +0000] [112] [INFO] ('172.26.0.2', 34674) - "WebSocket /ws/core/?jwt_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzE4MDAzMjc3LCJpYXQiOjE3MTgwMDI2NzcsImp0aSI6ImM3NzUzMzk2ZWUwNjQyYzE4MTdkZmM0NmViOWRhODRiIiwidXNlcl9pZCI6OX0.0myj8pVayqaF1QcjYOm4i--W9eKdj2nSyk9netKPNbI" [accepted]
[2024-06-10 07:04:26 +0000] [112] [INFO] connection open
ERROR 2024-06-10 07:04:29,344 django.request.log_response:241- Internal Server Error: /api/database/views/table/512/
Traceback (most recent call last):
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 486, in thread_handler
raise exc_info[1]
File "/baserow/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 43, in inner
response = await get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 486, in thread_handler
raise exc_info[1]
File "/baserow/venv/lib/python3.11/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
response = await wrapped_callback(
^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 448, in __call__
ret = await asyncio.wait_for(future, timeout=None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/tasks.py", line 442, in wait_for
return await fut
^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/current_thread_executor.py", line 22, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 490, in thread_handler
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 55, in wrapped_view
return view_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/views/generic/base.py", line 103, in view
return self.dispatch(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 497, in dispatch
self.initial(request, *args, **kwargs)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 414, in initial
self.perform_authentication(request)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 324, in perform_authentication
request.user
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/request.py", line 227, in user
self._authenticate()
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/request.py", line 380, in _authenticate
user_auth_tuple = authenticator.authenticate(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/api/authentication.py", line 48, in authenticate
auth_response = super().authenticate(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework_simplejwt/authentication.py", line 40, in authenticate
return self.get_user(validated_token), validated_token
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/api/authentication.py", line 28, in get_user
user = self.user_model.objects.select_related("profile").get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 646, in get
num = len(clone)
^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 376, in __len__
self._fetch_all()
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 1867, in _fetch_all
self._result_cache = list(self._iterable_class(self))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 87, in __iter__
results = compiler.execute_sql(
^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1385, in execute_sql
sql, params = self.as_sql()
^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 593, in as_sql
extra_select, order_by, group_by = self.pre_sql_setup()
^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 71, in pre_sql_setup
self.setup_query()
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 62, in setup_query
self.select, self.klass_info, self.annotation_col_map = self.get_select()
^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 278, in get_select
related_klass_infos = self.get_related_selections(select)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1193, in get_related_selections
raise FieldError(
django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'profile'. Choices are: (none)
172.26.0.2:34686 - "GET /api/database/views/table/512/?include=filters,sortings,group_bys,decorations HTTP/1.1" 500
ERROR 2024-06-10 07:04:29,530 django.request.log_response:241- Internal Server Error: /api/database/fields/table/512/
Traceback (most recent call last):
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 486, in thread_handler
raise exc_info[1]
File "/baserow/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 43, in inner
response = await get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 486, in thread_handler
raise exc_info[1]
File "/baserow/venv/lib/python3.11/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
response = await wrapped_callback(
^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 448, in __call__
ret = await asyncio.wait_for(future, timeout=None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/tasks.py", line 442, in wait_for
return await fut
^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/current_thread_executor.py", line 22, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 490, in thread_handler
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 55, in wrapped_view
return view_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/views/generic/base.py", line 103, in view
return self.dispatch(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 497, in dispatch
self.initial(request, *args, **kwargs)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 414, in initial
self.perform_authentication(request)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 324, in perform_authentication
request.user
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/request.py", line 227, in user
self._authenticate()
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/request.py", line 380, in _authenticate
user_auth_tuple = authenticator.authenticate(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/api/authentication.py", line 48, in authenticate
auth_response = super().authenticate(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework_simplejwt/authentication.py", line 40, in authenticate
return self.get_user(validated_token), validated_token
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/api/authentication.py", line 28, in get_user
user = self.user_model.objects.select_related("profile").get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 646, in get
num = len(clone)
^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 376, in __len__
self._fetch_all()
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 1867, in _fetch_all
self._result_cache = list(self._iterable_class(self))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 87, in __iter__
results = compiler.execute_sql(
^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1385, in execute_sql
sql, params = self.as_sql()
^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 593, in as_sql
extra_select, order_by, group_by = self.pre_sql_setup()
^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 71, in pre_sql_setup
self.setup_query()
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 62, in setup_query
self.select, self.klass_info, self.annotation_col_map = self.get_select()
^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 278, in get_select
related_klass_infos = self.get_related_selections(select)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1193, in get_related_selections
raise FieldError(
django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'profile'. Choices are: (none)
172.26.0.2:34686 - "GET /api/database/fields/table/512/ HTTP/1.1" 500
[2024-06-10 07:04:29 +0000] [112] [INFO] connection closed
172.26.0.2:34700 - "GET /api/user/dashboard/ HTTP/1.1" 200
172.26.0.2:34700 - "GET /api/auth-provider/login-options/ HTTP/1.1" 200
[2024-06-10 07:04:32 +0000] [112] [INFO] ('172.26.0.2', 34702) - "WebSocket /ws/core/?jwt_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzE4MDAzMjc3LCJpYXQiOjE3MTgwMDI2NzcsImp0aSI6ImM3NzUzMzk2ZWUwNjQyYzE4MTdkZmM0NmViOWRhODRiIiwidXNlcl9pZCI6OX0.0myj8pVayqaF1QcjYOm4i--W9eKdj2nSyk9netKPNbI" [accepted]
[2024-06-10 07:04:32 +0000] [112] [INFO] connection open
172.26.0.2:34700 - "GET /api/database/fields/table/512/ HTTP/1.1" 200
172.26.0.2:34716 - "GET /api/database/views/table/512/?include=filters,sortings,group_bys,decorations HTTP/1.1" 200
172.26.0.2:34716 - "GET /api/database/views/grid/2181/?limit=80&offset=0&include=field_options%2Crow_metadata HTTP/1.1" 200
ERROR 2024-06-10 07:04:52,395 django.request.log_response:241- Internal Server Error: /api/database/fields/table/1424/
Traceback (most recent call last):
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 486, in thread_handler
raise exc_info[1]
File "/baserow/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 43, in inner
response = await get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 486, in thread_handler
raise exc_info[1]
File "/baserow/venv/lib/python3.11/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
response = await wrapped_callback(
^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 448, in __call__
ret = await asyncio.wait_for(future, timeout=None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/tasks.py", line 442, in wait_for
return await fut
^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/current_thread_executor.py", line 22, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 490, in thread_handler
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 55, in wrapped_view
return view_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/views/generic/base.py", line 103, in view
return self.dispatch(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 497, in dispatch
self.initial(request, *args, **kwargs)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 414, in initial
self.perform_authentication(request)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 324, in perform_authentication
request.user
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/request.py", line 227, in user
self._authenticate()
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/request.py", line 380, in _authenticate
user_auth_tuple = authenticator.authenticate(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/api/authentication.py", line 48, in authenticate
auth_response = super().authenticate(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework_simplejwt/authentication.py", line 40, in authenticate
return self.get_user(validated_token), validated_token
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/api/authentication.py", line 28, in get_user
user = self.user_model.objects.select_related("profile").get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 646, in get
num = len(clone)
^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 376, in __len__
self._fetch_all()
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 1867, in _fetch_all
self._result_cache = list(self._iterable_class(self))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 87, in __iter__
results = compiler.execute_sql(
^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1385, in execute_sql
sql, params = self.as_sql()
^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 593, in as_sql
extra_select, order_by, group_by = self.pre_sql_setup()
^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 71, in pre_sql_setup
self.setup_query()
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 62, in setup_query
self.select, self.klass_info, self.annotation_col_map = self.get_select()
^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 278, in get_select
related_klass_infos = self.get_related_selections(select)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1193, in get_related_selections
raise FieldError(
django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'profile'. Choices are: (none)
172.26.0.2:50670 - "GET /api/database/fields/table/1424/ HTTP/1.1" 500
172.26.0.2:50672 - "GET /api/database/views/table/1424/?include=filters,sortings,group_bys,decorations HTTP/1.1" 200
[2024-06-10 07:04:52 +0000] [112] [INFO] connection closed
172.26.0.2:51434 - "GET /api/user/dashboard/ HTTP/1.1" 200
172.26.0.2:51434 - "GET /api/auth-provider/login-options/ HTTP/1.1" 200
[2024-06-10 07:04:55 +0000] [113] [INFO] ('172.26.0.2', 51440) - "WebSocket /ws/core/?jwt_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzE4MDAzNDU1LCJpYXQiOjE3MTgwMDI4NTUsImp0aSI6ImIxMzc1MTliZDkzMDQ1MWU4NDI0OGU4ZDVmZjA4YWIxIiwidXNlcl9pZCI6OH0.JiVLgDRf5h_G3C550RhAdxXWwDEMq6XfrHLo5T-s2NM" [accepted]
[2024-06-10 07:04:55 +0000] [113] [INFO] connection open
ERROR 2024-06-10 07:04:59,334 django.request.log_response:241- Internal Server Error: /api/database/views/table/1283/
Traceback (most recent call last):
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 486, in thread_handler
raise exc_info[1]
File "/baserow/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 43, in inner
response = await get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 486, in thread_handler
raise exc_info[1]
File "/baserow/venv/lib/python3.11/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
response = await wrapped_callback(
^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 448, in __call__
ret = await asyncio.wait_for(future, timeout=None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/tasks.py", line 442, in wait_for
return await fut
^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/current_thread_executor.py", line 22, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 490, in thread_handler
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 55, in wrapped_view
return view_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/views/generic/base.py", line 103, in view
return self.dispatch(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 497, in dispatch
self.initial(request, *args, **kwargs)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 414, in initial
self.perform_authentication(request)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 324, in perform_authentication
request.user
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/request.py", line 227, in user
self._authenticate()
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/request.py", line 380, in _authenticate
user_auth_tuple = authenticator.authenticate(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/api/authentication.py", line 48, in authenticate
auth_response = super().authenticate(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework_simplejwt/authentication.py", line 40, in authenticate
return self.get_user(validated_token), validated_token
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/api/authentication.py", line 28, in get_user
user = self.user_model.objects.select_related("profile").get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 646, in get
num = len(clone)
^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 376, in __len__
self._fetch_all()
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 1867, in _fetch_all
self._result_cache = list(self._iterable_class(self))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 87, in __iter__
results = compiler.execute_sql(
^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1385, in execute_sql
sql, params = self.as_sql()
^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 593, in as_sql
extra_select, order_by, group_by = self.pre_sql_setup()
^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 71, in pre_sql_setup
self.setup_query()
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 62, in setup_query
self.select, self.klass_info, self.annotation_col_map = self.get_select()
^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 278, in get_select
related_klass_infos = self.get_related_selections(select)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1193, in get_related_selections
raise FieldError(
django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'profile'. Choices are: (none)
172.26.0.2:51450 - "GET /api/database/views/table/1283/?include=filters,sortings,group_bys,decorations HTTP/1.1" 500
172.26.0.2:51462 - "GET /api/database/fields/table/1283/ HTTP/1.1" 200
[2024-06-10 07:04:59 +0000] [113] [INFO] connection closed
172.26.0.2:51462 - "GET /api/user/dashboard/ HTTP/1.1" 200
172.26.0.2:51462 - "GET /api/auth-provider/login-options/ HTTP/1.1" 200
[2024-06-10 07:05:01 +0000] [112] [INFO] ('172.26.0.2', 51466) - "WebSocket /ws/core/?jwt_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzE4MDAzNDU1LCJpYXQiOjE3MTgwMDI4NTUsImp0aSI6ImIxMzc1MTliZDkzMDQ1MWU4NDI0OGU4ZDVmZjA4YWIxIiwidXNlcl9pZCI6OH0.JiVLgDRf5h_G3C550RhAdxXWwDEMq6XfrHLo5T-s2NM" [accepted]
[2024-06-10 07:05:01 +0000] [112] [INFO] connection open
172.26.0.2:51462 - "GET /api/database/views/table/1283/?include=filters,sortings,group_bys,decorations HTTP/1.1" 200
172.26.0.2:51476 - "GET /api/database/fields/table/1283/ HTTP/1.1" 200
172.26.0.2:51476 - "GET /api/database/views/table/1283/?include=filters,sortings,group_bys,decorations HTTP/1.1" 200
172.26.0.2:51462 - "GET /api/database/fields/table/1283/ HTTP/1.1" 200
172.26.0.2:51462 - "GET /api/database/views/grid/3028/?limit=80&offset=0&include=field_options%2Crow_metadata HTTP/1.1" 200
172.26.0.2:51462 - "GET /api/database/views/grid/3028/?limit=80&offset=0&include=field_options%2Crow_metadata HTTP/1.1" 200
172.26.0.2:51462 - "GET /api/database/views/grid/3028/aggregations/ HTTP/1.1" 200
ERROR 2024-06-10 07:05:12,633 django.request.log_response:241- Internal Server Error: /api/database/views/table/1424/
Traceback (most recent call last):
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 486, in thread_handler
raise exc_info[1]
File "/baserow/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 43, in inner
response = await get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 486, in thread_handler
raise exc_info[1]
File "/baserow/venv/lib/python3.11/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
response = await wrapped_callback(
^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 448, in __call__
ret = await asyncio.wait_for(future, timeout=None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/tasks.py", line 442, in wait_for
return await fut
^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/current_thread_executor.py", line 22, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 490, in thread_handler
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 55, in wrapped_view
return view_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/views/generic/base.py", line 103, in view
return self.dispatch(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 497, in dispatch
self.initial(request, *args, **kwargs)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 414, in initial
self.perform_authentication(request)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 324, in perform_authentication
request.user
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/request.py", line 227, in user
self._authenticate()
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/request.py", line 380, in _authenticate
user_auth_tuple = authenticator.authenticate(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/api/authentication.py", line 48, in authenticate
auth_response = super().authenticate(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework_simplejwt/authentication.py", line 40, in authenticate
return self.get_user(validated_token), validated_token
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/api/authentication.py", line 28, in get_user
user = self.user_model.objects.select_related("profile").get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 646, in get
num = len(clone)
^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 376, in __len__
self._fetch_all()
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 1867, in _fetch_all
self._result_cache = list(self._iterable_class(self))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 87, in __iter__
results = compiler.execute_sql(
^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1385, in execute_sql
sql, params = self.as_sql()
^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 593, in as_sql
extra_select, order_by, group_by = self.pre_sql_setup()
^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 71, in pre_sql_setup
self.setup_query()
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 62, in setup_query
self.select, self.klass_info, self.annotation_col_map = self.get_select()
^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 278, in get_select
related_klass_infos = self.get_related_selections(select)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1193, in get_related_selections
raise FieldError(
django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'profile'. Choices are: (none)
172.26.0.2:60080 - "GET /api/database/views/table/1424/?include=filters,sortings,group_bys,decorations HTTP/1.1" 500
ERROR 2024-06-10 07:05:12,633 django.request.log_response:241- Internal Server Error: /api/database/fields/table/1424/
Traceback (most recent call last):
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 486, in thread_handler
raise exc_info[1]
File "/baserow/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 43, in inner
response = await get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 486, in thread_handler
raise exc_info[1]
File "/baserow/venv/lib/python3.11/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
response = await wrapped_callback(
^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 448, in __call__
ret = await asyncio.wait_for(future, timeout=None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/tasks.py", line 442, in wait_for
return await fut
^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/current_thread_executor.py", line 22, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 490, in thread_handler
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 55, in wrapped_view
return view_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/views/generic/base.py", line 103, in view
return self.dispatch(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 497, in dispatch
self.initial(request, *args, **kwargs)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 414, in initial
self.perform_authentication(request)
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/views.py", line 324, in perform_authentication
request.user
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/request.py", line 227, in user
self._authenticate()
File "/baserow/venv/lib/python3.11/site-packages/rest_framework/request.py", line 380, in _authenticate
user_auth_tuple = authenticator.authenticate(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/api/authentication.py", line 48, in authenticate
auth_response = super().authenticate(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/rest_framework_simplejwt/authentication.py", line 40, in authenticate
return self.get_user(validated_token), validated_token
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/api/authentication.py", line 28, in get_user
user = self.user_model.objects.select_related("profile").get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 646, in get
num = len(clone)
^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 376, in __len__
self._fetch_all()
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 1867, in _fetch_all
self._result_cache = list(self._iterable_class(self))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 87, in __iter__
results = compiler.execute_sql(
^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1385, in execute_sql
sql, params = self.as_sql()
^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 593, in as_sql
extra_select, order_by, group_by = self.pre_sql_setup()
^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 71, in pre_sql_setup
self.setup_query()
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 62, in setup_query
self.select, self.klass_info, self.annotation_col_map = self.get_select()
^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 278, in get_select
related_klass_infos = self.get_related_selections(select)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1193, in get_related_selections
raise FieldError(
django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'profile'. Choices are: (none)
172.26.0.2:60066 - "GET /api/database/fields/table/1424/ HTTP/1.1" 500
[2024-06-10 07:05:13 +0000] [112] [INFO] connection closed
172.26.0.2:36556 - "GET /api/user/dashboard/ HTTP/1.1" 200
172.26.0.2:36556 - "GET /api/auth-provider/login-options/ HTTP/1.1" 200
[2024-06-10 07:05:15 +0000] [114] [ERROR] Exception in ASGI application
Traceback (most recent call last):
File "/baserow/venv/lib/python3.11/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 247, in run_asgi
result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/channels/routing.py", line 62, in __call__
return await application(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/ws/auth.py", line 62, in __call__
scope["user"] = await get_user(jwt_token[0])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 448, in __call__
ret = await asyncio.wait_for(future, timeout=None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/tasks.py", line 442, in wait_for
return await fut
^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/asgiref/sync.py", line 490, in thread_handler
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/ws/auth.py", line 39, in get_user
return get_user_from_token(token)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/api/user/jwt.py", line 46, in get_user_from_token
user = UserHandler().get_active_user(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/core/telemetry/utils.py", line 72, in _wrapper
raise ex
File "/baserow/backend/src/baserow/core/telemetry/utils.py", line 68, in _wrapper
result = wrapped_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/backend/src/baserow/core/user/handler.py", line 108, in get_active_user
query = query.filter(profile__to_be_deleted=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 1421, in filter
return self._filter_or_exclude(False, args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 1439, in _filter_or_exclude
clone._filter_or_exclude_inplace(negate, args, kwargs)
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/query.py", line 1446, in _filter_or_exclude_inplace
self._query.add_q(Q(*args, **kwargs))
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/query.py", line 1532, in add_q
clause, _ = self._add_q(q_object, self.used_aliases)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/query.py", line 1562, in _add_q
child_clause, needed_inner = self.build_filter(
^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/query.py", line 1407, in build_filter
lookups, parts, reffed_expression = self.solve_lookup_type(arg)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/query.py", line 1217, in solve_lookup_type
_, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/baserow/venv/lib/python3.11/site-packages/django/db/models/sql/query.py", line 1709, in names_to_path
raise FieldError(
django.core.exceptions.FieldError: Cannot resolve keyword 'profile' into field. Choices are: action, auth_providers, blacklistedtoken, date_joined, email, exportjob, first_name, formview, groups, id, is_active, is_staff, is_superuser, job, last_login, last_name, licenseuser, localbaserowintegration, notificationrecipient, notifications, password, private_trash_entries, profile, row_comment_mentions, rowcomment, rowcommentsnotificationmode, sent_notifications, snapshot, token, trashentry, user_permissions, userfile, userlogentry, username, view, workspace, workspaceinvitation, workspaceuser
[2024-06-10 07:05:15 +0000] [114] [INFO] connection open
[2024-06-10 07:05:15 +0000] [114] [INFO] connection closed
[2024-06-10 07:05:15 +0000] [112] [INFO] ('172.26.0.2', 36580) - "WebSocket /ws/core/?jwt_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzE4MDAzNDU1LCJpYXQiOjE3MTgwMDI4NTUsImp0aSI6ImIxMzc1MTliZDkzMDQ1MWU4NDI0OGU4ZDVmZjA4YWIxIiwidXNlcl9pZCI6OH0.JiVLgDRf5h_G3C550RhAdxXWwDEMq6XfrHLo5T-s2NM" [accepted]
[2024-06-10 07:05:15 +0000] [112] [INFO] connection open
127.0.0.1:33934 - "GET /api/_health/ HTTP/1.1" 200
Steps to reproduce
Not able to reproduce as it happens randomly
Actual result
User gets an error "Table not found" or "View not found"
Expected result
User should be able to access the tables/views.
Environment
- Operating System: Ubuntu.
- Web Browser: Chrome / Firefox / Safari
- Deployment Type: docker
- Baserow Version: master / 1.23.1 to 1.25.1
Edited by Hussein Mkwizu