Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hql/dashboard HTTP/1.1" 200
- 2024-11-10 01:54:16.890
- (Background on this error at: https://sqlalche.me/e/20/e3q8)
- 2024-11-10 01:54:16.890
- 2024-11-10 01:54:16.890
- connection to server at "read-only-endpoint.endpoint.proxy-cx40gqy08bx6.ap-southeast-1.rds.amazonaws.com" (10.34.228.213), port 5432 failed: FATAL: This RDS proxy has no credentials for the role dev-app-usr. Check the credentials for this role and try again.
- 2024-11-10 01:54:16.890
- sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "read-only-endpoint.endpoint.proxy-cx40gqy08bx6.ap-southeast-1.rds.amazonaws.com" (10.34.228.213), port 5432 failed: FATAL: This RDS proxy has no credentials for the role dev-app-usr. Check the credentials for this role and try again.
- 2024-11-10 01:54:16.890
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.890
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- 2024-11-10 01:54:16.890
- File "/usr/local/lib/python3.11/site-packages/psycopg2/__init__.py", line 122, in connect
- 2024-11-10 01:54:16.890
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.890
- return self.loaded_dbapi.connect(*cargs, **cparams)
- 2024-11-10 01:54:16.890
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 621, in connect
- 2024-11-10 01:54:16.890
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- return dialect.connect(*cargs, **cparams)
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/create.py", line 643, in connect
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- self.dbapi_connection = connection = pool._invoke_creator(self)
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
- 2024-11-10 01:54:16.889
- raise exc_value.with_traceback(exc_tb)
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
- 2024-11-10 01:54:16.889
- with util.safe_reraise():
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
- 2024-11-10 01:54:16.889
- self.__connect()
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- return _ConnectionRecord(self)
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- return self._create_connection()
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
- 2024-11-10 01:54:16.889
- raise exc_value.with_traceback(exc_tb)
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
- 2024-11-10 01:54:16.889
- with util.safe_reraise():
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- rec = pool._do_get()
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- fairy = _ConnectionRecord.checkout(pool)
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- return _ConnectionFairy._checkout(self)
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 449, in connect
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- return self.pool.connect()
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- self._dbapi_connection = engine.raw_connection()
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
- 2024-11-10 01:54:16.889
- raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2442, in _handle_dbapi_exception_noconnection
- 2024-11-10 01:54:16.889
- Connection._handle_dbapi_exception_noconnection(
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 148, in __init__
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- return self._connection_cls(self)
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3278, in connect
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- conn = bind.connect()
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 1189, in _connection_for_bind
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- ret_value = fn(self, *arg, **kw)
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go
- 2024-11-10 01:54:16.889
- File "<string>", line 2, in _connection_for_bind
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- return trans._connection_for_bind(engine, execution_options)
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2106, in _connection_for_bind
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- conn = self._connection_for_bind(bind)
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2237, in _execute_internal
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- return self._execute_internal(
- 2024-11-10 01:54:16.889
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2362, in execute
- 2024-11-10 01:54:16.889
- ^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.889
- result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
- 2024-11-10 01:54:16.888
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/query.py", line 2827, in _iter
- 2024-11-10 01:54:16.888
- ^^^^^^^^^^^^
- 2024-11-10 01:54:16.888
- return self._iter().all() # type: ignore
- 2024-11-10 01:54:16.888
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/query.py", line 2673, in all
- 2024-11-10 01:54:16.888
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.888
- wallets = db.query(WalletORM).filter(WalletORM.environment_uuid.in_(tuple(environments))).all()
- 2024-11-10 01:54:16.888
- File "/code/src/dashboard/data_query.py", line 162, in get_all_wallets
- 2024-11-10 01:54:16.888
- ^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.888
- wallets: dict = await get_all_wallets(
- 2024-11-10 01:54:16.888
- File "/code/src/dashboard/routers/dashboard.py", line 229, in get_overview
- 2024-11-10 01:54:16.888
- ^^^^^^^^^^
- 2024-11-10 01:54:16.888
- return await next
- 2024-11-10 01:54:16.888
- File "/usr/local/lib/python3.11/site-packages/strawberry/permission.py", line 176, in resolve_async
- 2024-11-10 01:54:16.888
- ^^^^^^^^^^^
- 2024-11-10 01:54:16.888
- return await value
- 2024-11-10 01:54:16.888
- File "/usr/local/lib/python3.11/site-packages/strawberry/utils/await_maybe.py", line 12, in await_maybe
- 2024-11-10 01:54:16.888
- ^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.888
- return await await_maybe(
- 2024-11-10 01:54:16.888
- File "/usr/local/lib/python3.11/site-packages/strawberry/schema/schema_converter.py", line 687, in _async_resolver
- 2024-11-10 01:54:16.888
- ^^^^^^^^^^^^
- 2024-11-10 01:54:16.888
- return_type, field_nodes, info, path, await result
- 2024-11-10 01:54:16.888
- File "/usr/local/lib/python3.11/site-packages/graphql/execution/execute.py", line 530, in await_result
- 2024-11-10 01:54:16.888
- Traceback (most recent call last):
- 2024-11-10 01:54:16.888
- 2024-11-10 01:54:16.888
- The above exception was the direct cause of the following exception:
- 2024-11-10 01:54:16.888
- 2024-11-10 01:54:16.888
- 2024-11-10 01:54:16.888
- connection to server at "read-only-endpoint.endpoint.proxy-cx40gqy08bx6.ap-southeast-1.rds.amazonaws.com" (10.34.228.213), port 5432 failed: FATAL: This RDS proxy has no credentials for the role dev-app-usr. Check the credentials for this role and try again.
- 2024-11-10 01:54:16.888
- psycopg2.OperationalError: connection to server at "read-only-endpoint.endpoint.proxy-cx40gqy08bx6.ap-southeast-1.rds.amazonaws.com" (10.34.228.213), port 5432 failed: FATAL: This RDS proxy has no credentials for the role dev-app-usr. Check the credentials for this role and try again.
- 2024-11-10 01:54:16.888
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.888
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
- 2024-11-10 01:54:16.888
- File "/usr/local/lib/python3.11/site-packages/psycopg2/__init__.py", line 122, in connect
- 2024-11-10 01:54:16.888
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.888
- return self.loaded_dbapi.connect(*cargs, **cparams)
- 2024-11-10 01:54:16.888
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 621, in connect
- 2024-11-10 01:54:16.888
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.888
- return dialect.connect(*cargs, **cparams)
- 2024-11-10 01:54:16.888
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/create.py", line 643, in connect
- 2024-11-10 01:54:16.888
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.888
- self.dbapi_connection = connection = pool._invoke_creator(self)
- 2024-11-10 01:54:16.888
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
- 2024-11-10 01:54:16.888
- raise exc_value.with_traceback(exc_tb)
- 2024-11-10 01:54:16.888
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
- 2024-11-10 01:54:16.888
- with util.safe_reraise():
- 2024-11-10 01:54:16.887
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
- 2024-11-10 01:54:16.887
- self.__connect()
- 2024-11-10 01:54:16.887
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
- 2024-11-10 01:54:16.887
- ^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.887
- return _ConnectionRecord(self)
- 2024-11-10 01:54:16.887
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
- 2024-11-10 01:54:16.887
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.887
- return self._create_connection()
- 2024-11-10 01:54:16.887
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
- 2024-11-10 01:54:16.887
- raise exc_value.with_traceback(exc_tb)
- 2024-11-10 01:54:16.887
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
- 2024-11-10 01:54:16.887
- with util.safe_reraise():
- 2024-11-10 01:54:16.887
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get
- 2024-11-10 01:54:16.887
- ^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.887
- rec = pool._do_get()
- 2024-11-10 01:54:16.887
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
- 2024-11-10 01:54:16.887
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.887
- fairy = _ConnectionRecord.checkout(pool)
- 2024-11-10 01:54:16.887
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
- 2024-11-10 01:54:16.887
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.887
- return _ConnectionFairy._checkout(self)
- 2024-11-10 01:54:16.887
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 449, in connect
- 2024-11-10 01:54:16.887
- ^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.887
- return self.pool.connect()
- 2024-11-10 01:54:16.887
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
- 2024-11-10 01:54:16.887
- ^^^^^^^^^^^^^^^^^^^^^^^
- 2024-11-10 01:54:16.887
- self._dbapi_connection = engine.raw_connection()
- 2024-11-10 01:54:16.887
- File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
- 2024-11-10 01:54:16.887
- Traceback (most recent call last):
- 2024-11-10 01:54:16.887
- 4 | filters: {
- 2024-11-10 01:54:16.887
- | ^
- 2024-11-10 01:54:16.887
- 3 | getOverview(
- 2024-11-10 01:54:16.887
- 2 | {
- 2024-11-10 01:54:16.887
- GraphQL request:3:13
- 2024-11-10 01:54:16.887
- 2024-11-10 01:54:16.887
- (Background on this error at: https://sqlalche.me/e/20/e3q8)
- 2024-11-10 01:54:16.887
- 2024-11-10 01:54:16.887
- connection to server at "read-only-endpoint.endpoint.proxy-cx40gqy08bx6.ap-southeast-1.rds.amazonaws.com" (10.34.228.213), port 5432 failed: FATAL: This RDS proxy has no credentials for the role dev-app-usr. Check the credentials for this role and try again.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement