^"""
Traceback (most recent call last):\n File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 68, in __call__\n response = await self.dispatch_func(request, call_next)\n File "/root/data/./server.py", line 172, in add_cors_header\n response = await call_next(request)\n File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 46, in call_next\n raise app_exc\n File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 36, in coro\n await self.app(scope, request.receive, send_stream.send)\n File "/usr/local/lib/python3.10/site-packages/sentry_sdk/integrations/starlette.py", line 157, in _create_span_call\n return await old_call(app, scope, new_receive, new_send, **kwargs)\n File "/usr/local/lib/python3.10/site-packages/sentry_asgi/middleware.py", line 22, in __call__\n raise exc from None\n File "/usr/local/lib/python3.10/site-packages/sentry_asgi/middleware.py", line 19, in __call__\n await self.app(scope, receive, send)\n File "/usr/local/lib/python3.10/site-packages/sentry_sdk/integrations/starlette.py", line 309, in _sentry_authenticationmiddleware_call\n await old_call(self, scope, receive, send)\n File "/usr/local/lib/python3.10/site-packages/sentry_sdk/integrations/starlette.py", line 157, in _create_span_call\n return await old_call(app, scope, new_receive, new_send, **kwargs)\n File "/usr/local/lib/python3.10/site-packages/starlette/middleware/authentication.py", line 36, in __call__\n auth_result = await self.backend.authenticate(conn)\n File "/root/data/./use_cases/authorization.py", line 381, in authenticate\n user_obj.cache_set("online_%d" % user["_id"], {"user": user["_id"]}, expire=300)\n File "/root/data/./core/base.py", line 286, in cache_set\n self.cache.setex(name, expire, json.dumps(value, default=json_util.default))\n File "/usr/local/lib/python3.10/site-packages/redis/commands/core.py", line 2353, in setex\n return self.execute_command("SETEX", name, time, value)\n File "/usr/local/lib/python3.10/site-packages/sentry_sdk/integrations/redis/__init__.py", line 264, in sentry_patched_execute_command\n return old_execute_command(self, name, *args, **kwargs)\n File "/usr/local/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File "/usr/local/lib/python3.10/site-packages/redis/connection.py", line 1461, in get_connection\n connection.connect()\n File "/usr/local/lib/python3.10/site-packages/redis/connection.py", line 713, in connect\n raise ConnectionError(self._error_message(e))\nredis.exceptions.ConnectionError: Error 111 connecting to 0.0.0.0:6379. Connection refused.\n\nDuring handling of the above exception, another exception occurred:\n\n + Exception Group Traceback (most recent call last):\n | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__\n | await self.app(scope, receive, _send)\n | File "/usr/local/lib/python3.10/site-packages/sentry_sdk/integrations/starlette.py", line 157, in _create_span_call\n | return await old_call(app, scope, new_receive, new_send, **kwargs)\n | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 66, in __call__\n | async with anyio.create_task_group() as task_group:\n | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 664, in __aexit__\n | raise BaseExceptionGroup(\n | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)\n +-+---------------- 1 ----------------\n | Traceback (most recent call last):\n | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 68, in __call__\n | response = await self.dispatch_func(request, call_next)\n | File "/root/data/./server.py", line 172, in add_cors_header\n | response = await call_next(request)\n | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 46, in call_next\n | raise app_exc\n | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 36, in coro\n | await self.app(scope, request.receive, send_stream.send)\n | File "/usr/local/lib/python3.10/site-packages/sentry_sdk/integrations/starlette.py", line 157, in _create_span_call\n | return await old_call(app, scope, new_receive, new_send, **kwargs)\n | File "/usr/local/lib/python3.10/site-packages/sentry_asgi/middleware.py", line 22, in __call__\n | raise exc from None\n | File "/usr/local/lib/python3.10/site-packages/sentry_asgi/middleware.py", line 19, in __call__\n | await self.app(scope, receive, send)\n | File "/usr/local/lib/python3.10/site-packages/sentry_sdk/integrations/starlette.py", line 309, in _sentry_authenticationmiddleware_call\n | await old_call(self, scope, receive, send)\n | File "/usr/local/lib/python3.10/site-packages/sentry_sdk/integrations/starlette.py", line 157, in _create_span_call\n | return await old_call(app, scope, new_receive, new_send, **kwargs)\n | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/authentication.py", line 36, in __call__\n | auth_result = await self.backend.authenticate(conn)\n | File "/root/data/./use_cases/authorization.py", line 381, in authenticate\n | user_obj.cache_set("online_%d" % user["_id"], {"user": user["_id"]}, expire=300)\n | File "/root/data/./core/base.py", line 286, in cache_set\n | self.cache.setex(name, expire, json.dumps(value, default=json_util.default))\n | File "/usr/local/lib/python3.10/site-packages/redis/commands/core.py", line 2353, in setex\n | return self.execute_command("SETEX", name, time, value)\n | File "/usr/local/lib/python3.10/site-packages/sentry_sdk/integrations/redis/__init__.py", line 264, in sentry_patched_execute_command\n | return old_execute_command(self, name, *args, **kwargs)\n | File "/usr/local/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command\n | conn = self.connection or pool.get_connection(command_name, **options)\n | File "/usr/local/lib/python3.10/site-packages/redis/connection.py", line 1461, in get_connection\n | connection.connect()\n | File "/usr/local/lib/python3.10/site-packages/redis/connection.py", line 713, in connect\n | raise ConnectionError(self._error_message(e))\n | redis.exceptions.ConnectionError: Error 111 connecting to 0.0.0.0:6379. Connection refused.\n +------------------------------------\n
"""
Verbose information:
* Expire in 0 ms for 6 (transfer 0x5f3a75cf3270)
* Expire in 10000 ms for 8 (transfer 0x5f3a75cf3270)
* Expire in 10000 ms for 2 (transfer 0x5f3a75cf3270)
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x5f3a75cf3270)
* Connected to 127.0.0.1 (127.0.0.1) port 3500 (#0)
> POST / HTTP/1.1
Host: py.dev.ubris.com
Accept: */*
Content-Type: application/json
Content-Length: 6025
Expect: 100-continue
* Expire in 1000 ms for 0 (transfer 0x5f3a75cf3270)
< HTTP/1.1 500 Internal Server Error
< date: Wed, 11 Jun 2025 11:37:58 GMT
< server: uvicorn
< content-length: 6640
< content-type: text/plain; charset=utf-8
* HTTP error before end of send, stop sending
<
* Closing connection 0
404 (not found) page | Ubris
Error message
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/ubris/dev/vendor/symfony/var-dumper/Dumper/AbstractDumper.php:182) in ubris_preprocess_page() (line 500 of themes/ubris/ubris.theme__hooks_page.php).
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/ubris/dev/vendor/symfony/var-dumper/Dumper/AbstractDumper.php:182) in ubris_preprocess_page() (line 501 of themes/ubris/ubris.theme__hooks_page.php).
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/ubris/dev/vendor/symfony/var-dumper/Dumper/AbstractDumper.php:182) in ubris_preprocess_page() (line 502 of themes/ubris/ubris.theme__hooks_page.php).