Advertisement
Mochinov

Untitled

Nov 9th, 2024
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.20 KB | None | 0 0
  1. hql/dashboard HTTP/1.1" 200
  2.  
  3.  
  4.  
  5. 2024-11-10 01:54:16.890
  6. (Background on this error at: https://sqlalche.me/e/20/e3q8)
  7. 2024-11-10 01:54:16.890
  8.  
  9. 2024-11-10 01:54:16.890
  10. 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.
  11. 2024-11-10 01:54:16.890
  12. 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.
  13. 2024-11-10 01:54:16.890
  14. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  15. 2024-11-10 01:54:16.890
  16. conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  17. 2024-11-10 01:54:16.890
  18. File "/usr/local/lib/python3.11/site-packages/psycopg2/__init__.py", line 122, in connect
  19. 2024-11-10 01:54:16.890
  20. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  21. 2024-11-10 01:54:16.890
  22. return self.loaded_dbapi.connect(*cargs, **cparams)
  23. 2024-11-10 01:54:16.890
  24. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 621, in connect
  25. 2024-11-10 01:54:16.890
  26. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  27. 2024-11-10 01:54:16.889
  28. return dialect.connect(*cargs, **cparams)
  29. 2024-11-10 01:54:16.889
  30. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/create.py", line 643, in connect
  31. 2024-11-10 01:54:16.889
  32. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  33. 2024-11-10 01:54:16.889
  34. self.dbapi_connection = connection = pool._invoke_creator(self)
  35. 2024-11-10 01:54:16.889
  36. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
  37. 2024-11-10 01:54:16.889
  38. raise exc_value.with_traceback(exc_tb)
  39. 2024-11-10 01:54:16.889
  40. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  41. 2024-11-10 01:54:16.889
  42. with util.safe_reraise():
  43. 2024-11-10 01:54:16.889
  44. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
  45. 2024-11-10 01:54:16.889
  46. self.__connect()
  47. 2024-11-10 01:54:16.889
  48. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  49. 2024-11-10 01:54:16.889
  50. ^^^^^^^^^^^^^^^^^^^^^^^
  51. 2024-11-10 01:54:16.889
  52. return _ConnectionRecord(self)
  53. 2024-11-10 01:54:16.889
  54. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
  55. 2024-11-10 01:54:16.889
  56. ^^^^^^^^^^^^^^^^^^^^^^^^^
  57. 2024-11-10 01:54:16.889
  58. return self._create_connection()
  59. 2024-11-10 01:54:16.889
  60. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
  61. 2024-11-10 01:54:16.889
  62. raise exc_value.with_traceback(exc_tb)
  63. 2024-11-10 01:54:16.889
  64. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  65. 2024-11-10 01:54:16.889
  66. with util.safe_reraise():
  67. 2024-11-10 01:54:16.889
  68. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get
  69. 2024-11-10 01:54:16.889
  70. ^^^^^^^^^^^^^^
  71. 2024-11-10 01:54:16.889
  72. rec = pool._do_get()
  73. 2024-11-10 01:54:16.889
  74. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  75. 2024-11-10 01:54:16.889
  76. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  77. 2024-11-10 01:54:16.889
  78. fairy = _ConnectionRecord.checkout(pool)
  79. 2024-11-10 01:54:16.889
  80. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
  81. 2024-11-10 01:54:16.889
  82. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  83. 2024-11-10 01:54:16.889
  84. return _ConnectionFairy._checkout(self)
  85. 2024-11-10 01:54:16.889
  86. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 449, in connect
  87. 2024-11-10 01:54:16.889
  88. ^^^^^^^^^^^^^^^^^^^
  89. 2024-11-10 01:54:16.889
  90. return self.pool.connect()
  91. 2024-11-10 01:54:16.889
  92. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
  93. 2024-11-10 01:54:16.889
  94. ^^^^^^^^^^^^^^^^^^^^^^^
  95. 2024-11-10 01:54:16.889
  96. self._dbapi_connection = engine.raw_connection()
  97. 2024-11-10 01:54:16.889
  98. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
  99. 2024-11-10 01:54:16.889
  100. raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  101. 2024-11-10 01:54:16.889
  102. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2442, in _handle_dbapi_exception_noconnection
  103. 2024-11-10 01:54:16.889
  104. Connection._handle_dbapi_exception_noconnection(
  105. 2024-11-10 01:54:16.889
  106. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 148, in __init__
  107. 2024-11-10 01:54:16.889
  108. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  109. 2024-11-10 01:54:16.889
  110. return self._connection_cls(self)
  111. 2024-11-10 01:54:16.889
  112. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3278, in connect
  113. 2024-11-10 01:54:16.889
  114. ^^^^^^^^^^^^^^
  115. 2024-11-10 01:54:16.889
  116. conn = bind.connect()
  117. 2024-11-10 01:54:16.889
  118. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 1189, in _connection_for_bind
  119. 2024-11-10 01:54:16.889
  120. ^^^^^^^^^^^^^^^^^^^^
  121. 2024-11-10 01:54:16.889
  122. ret_value = fn(self, *arg, **kw)
  123. 2024-11-10 01:54:16.889
  124. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go
  125. 2024-11-10 01:54:16.889
  126. File "<string>", line 2, in _connection_for_bind
  127. 2024-11-10 01:54:16.889
  128. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  129. 2024-11-10 01:54:16.889
  130. return trans._connection_for_bind(engine, execution_options)
  131. 2024-11-10 01:54:16.889
  132. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2106, in _connection_for_bind
  133. 2024-11-10 01:54:16.889
  134. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  135. 2024-11-10 01:54:16.889
  136. conn = self._connection_for_bind(bind)
  137. 2024-11-10 01:54:16.889
  138. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2237, in _execute_internal
  139. 2024-11-10 01:54:16.889
  140. ^^^^^^^^^^^^^^^^^^^^^^^
  141. 2024-11-10 01:54:16.889
  142. return self._execute_internal(
  143. 2024-11-10 01:54:16.889
  144. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2362, in execute
  145. 2024-11-10 01:54:16.889
  146. ^^^^^^^^^^^^^^^^^^^^^
  147. 2024-11-10 01:54:16.889
  148. result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
  149. 2024-11-10 01:54:16.888
  150. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/query.py", line 2827, in _iter
  151. 2024-11-10 01:54:16.888
  152. ^^^^^^^^^^^^
  153. 2024-11-10 01:54:16.888
  154. return self._iter().all() # type: ignore
  155. 2024-11-10 01:54:16.888
  156. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/query.py", line 2673, in all
  157. 2024-11-10 01:54:16.888
  158. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  159. 2024-11-10 01:54:16.888
  160. wallets = db.query(WalletORM).filter(WalletORM.environment_uuid.in_(tuple(environments))).all()
  161. 2024-11-10 01:54:16.888
  162. File "/code/src/dashboard/data_query.py", line 162, in get_all_wallets
  163. 2024-11-10 01:54:16.888
  164. ^^^^^^^^^^^^^^^^^^^^^^
  165. 2024-11-10 01:54:16.888
  166. wallets: dict = await get_all_wallets(
  167. 2024-11-10 01:54:16.888
  168. File "/code/src/dashboard/routers/dashboard.py", line 229, in get_overview
  169. 2024-11-10 01:54:16.888
  170. ^^^^^^^^^^
  171. 2024-11-10 01:54:16.888
  172. return await next
  173. 2024-11-10 01:54:16.888
  174. File "/usr/local/lib/python3.11/site-packages/strawberry/permission.py", line 176, in resolve_async
  175. 2024-11-10 01:54:16.888
  176. ^^^^^^^^^^^
  177. 2024-11-10 01:54:16.888
  178. return await value
  179. 2024-11-10 01:54:16.888
  180. File "/usr/local/lib/python3.11/site-packages/strawberry/utils/await_maybe.py", line 12, in await_maybe
  181. 2024-11-10 01:54:16.888
  182. ^^^^^^^^^^^^^^^^^^
  183. 2024-11-10 01:54:16.888
  184. return await await_maybe(
  185. 2024-11-10 01:54:16.888
  186. File "/usr/local/lib/python3.11/site-packages/strawberry/schema/schema_converter.py", line 687, in _async_resolver
  187. 2024-11-10 01:54:16.888
  188. ^^^^^^^^^^^^
  189. 2024-11-10 01:54:16.888
  190. return_type, field_nodes, info, path, await result
  191. 2024-11-10 01:54:16.888
  192. File "/usr/local/lib/python3.11/site-packages/graphql/execution/execute.py", line 530, in await_result
  193. 2024-11-10 01:54:16.888
  194. Traceback (most recent call last):
  195. 2024-11-10 01:54:16.888
  196.  
  197. 2024-11-10 01:54:16.888
  198. The above exception was the direct cause of the following exception:
  199. 2024-11-10 01:54:16.888
  200.  
  201. 2024-11-10 01:54:16.888
  202.  
  203. 2024-11-10 01:54:16.888
  204. 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.
  205. 2024-11-10 01:54:16.888
  206. 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.
  207. 2024-11-10 01:54:16.888
  208. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  209. 2024-11-10 01:54:16.888
  210. conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
  211. 2024-11-10 01:54:16.888
  212. File "/usr/local/lib/python3.11/site-packages/psycopg2/__init__.py", line 122, in connect
  213. 2024-11-10 01:54:16.888
  214. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  215. 2024-11-10 01:54:16.888
  216. return self.loaded_dbapi.connect(*cargs, **cparams)
  217. 2024-11-10 01:54:16.888
  218. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 621, in connect
  219. 2024-11-10 01:54:16.888
  220. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  221. 2024-11-10 01:54:16.888
  222. return dialect.connect(*cargs, **cparams)
  223. 2024-11-10 01:54:16.888
  224. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/create.py", line 643, in connect
  225. 2024-11-10 01:54:16.888
  226. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  227. 2024-11-10 01:54:16.888
  228. self.dbapi_connection = connection = pool._invoke_creator(self)
  229. 2024-11-10 01:54:16.888
  230. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
  231. 2024-11-10 01:54:16.888
  232. raise exc_value.with_traceback(exc_tb)
  233. 2024-11-10 01:54:16.888
  234. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  235. 2024-11-10 01:54:16.888
  236. with util.safe_reraise():
  237. 2024-11-10 01:54:16.887
  238. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
  239. 2024-11-10 01:54:16.887
  240. self.__connect()
  241. 2024-11-10 01:54:16.887
  242. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
  243. 2024-11-10 01:54:16.887
  244. ^^^^^^^^^^^^^^^^^^^^^^^
  245. 2024-11-10 01:54:16.887
  246. return _ConnectionRecord(self)
  247. 2024-11-10 01:54:16.887
  248. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
  249. 2024-11-10 01:54:16.887
  250. ^^^^^^^^^^^^^^^^^^^^^^^^^
  251. 2024-11-10 01:54:16.887
  252. return self._create_connection()
  253. 2024-11-10 01:54:16.887
  254. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
  255. 2024-11-10 01:54:16.887
  256. raise exc_value.with_traceback(exc_tb)
  257. 2024-11-10 01:54:16.887
  258. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
  259. 2024-11-10 01:54:16.887
  260. with util.safe_reraise():
  261. 2024-11-10 01:54:16.887
  262. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get
  263. 2024-11-10 01:54:16.887
  264. ^^^^^^^^^^^^^^
  265. 2024-11-10 01:54:16.887
  266. rec = pool._do_get()
  267. 2024-11-10 01:54:16.887
  268. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
  269. 2024-11-10 01:54:16.887
  270. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  271. 2024-11-10 01:54:16.887
  272. fairy = _ConnectionRecord.checkout(pool)
  273. 2024-11-10 01:54:16.887
  274. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
  275. 2024-11-10 01:54:16.887
  276. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  277. 2024-11-10 01:54:16.887
  278. return _ConnectionFairy._checkout(self)
  279. 2024-11-10 01:54:16.887
  280. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 449, in connect
  281. 2024-11-10 01:54:16.887
  282. ^^^^^^^^^^^^^^^^^^^
  283. 2024-11-10 01:54:16.887
  284. return self.pool.connect()
  285. 2024-11-10 01:54:16.887
  286. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 3302, in raw_connection
  287. 2024-11-10 01:54:16.887
  288. ^^^^^^^^^^^^^^^^^^^^^^^
  289. 2024-11-10 01:54:16.887
  290. self._dbapi_connection = engine.raw_connection()
  291. 2024-11-10 01:54:16.887
  292. File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
  293. 2024-11-10 01:54:16.887
  294. Traceback (most recent call last):
  295. 2024-11-10 01:54:16.887
  296. 4 | filters: {
  297. 2024-11-10 01:54:16.887
  298. | ^
  299. 2024-11-10 01:54:16.887
  300. 3 | getOverview(
  301. 2024-11-10 01:54:16.887
  302. 2 | {
  303. 2024-11-10 01:54:16.887
  304. GraphQL request:3:13
  305. 2024-11-10 01:54:16.887
  306.  
  307. 2024-11-10 01:54:16.887
  308. (Background on this error at: https://sqlalche.me/e/20/e3q8)
  309. 2024-11-10 01:54:16.887
  310.  
  311. 2024-11-10 01:54:16.887
  312. 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