Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sRS3y-00FSfl-OC for pgsql-general@arkaria.postgresql.org; Wed, 10 Jul 2024 07:48:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sRS3w-002vJY-WA for pgsql-general@arkaria.postgresql.org; Wed, 10 Jul 2024 07:48:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sRS3w-002vJP-Kd for pgsql-general@lists.postgresql.org; Wed, 10 Jul 2024 07:48:28 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sRS3p-001M6L-ST for pgsql-general@lists.postgresql.org; Wed, 10 Jul 2024 07:48:28 +0000 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a77cb7c106dso606357566b.1 for ; Wed, 10 Jul 2024 00:48:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720597699; x=1721202499; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Iz14KqjLchUQS9G5F+5ZIIY5ZIvgO0fsFH2swjF4R7c=; b=K28efuc1z2dws76bAa7w8MV/wt5mwQa7p9U1Vbhw06PhuvEO9PmbARQGLBZ14aG67y 4sCoCq5kTOMnhMQ2h9mMegGRFOqI6wik/giOjSk7M7pxZqnItBYp86+hFgvTXsNyrQtX LxxRDf6Db61ZBo5PVnJxnpMsM5dIGlLcUe5qFbL79T6BB13PnMPuDgkoo1Z6Gdh9vYwP o3d/lIyBQX/ScA/VaGM44t2KTBGU9ebo5YCmtklKmsJb5vc9OiGJwA23sOzvwP//7CLo ke57ZGVW9pIIxPHuSHA/2uf3/zzHMjnixFw5vQ64s703ex4OevS+n1UX2qVgqgEjgRYW iXZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720597699; x=1721202499; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Iz14KqjLchUQS9G5F+5ZIIY5ZIvgO0fsFH2swjF4R7c=; b=CXLOo70/NdSi6kCXogsxcmmRGkrCQEU+fTenAEmtD0VBFRCY01UmJDWSTvLbt5nWLX 63EEe/tWASzSIvHXinTc00CzY926VLenZLmCBCfFdqcbyYpxr+II1YvGZfLZUwoSSHyf UYBMAR0WFDuCmHBewR6cWGF8mkG4w6J2MDleAoF7Hk1uOzqZuRpMOKf0IoYdCEAlzzUt wCnniu8/pzI4J/hYaPFip87c+DIi8KDtjdmVbVPR1FmVjOBwOf6ceHxT2Atauqy/h6mK l3NqEYxsZhJgxjdGkj6jE3dN7R5XpKCS1LD8d76s4FYCnRQaj6aTc3vfS5nKY75UVJ48 xSkQ== X-Gm-Message-State: AOJu0YzmrG9piVb6HFjyuxlNAZWgVlF6tHnOiJlLXq3chCL+xLyl4594 nVgbbHWzg6bEzwohP1/vVXonx6zZHjRIPd3IiJEqQRf5F18b1oVmaY5htrBJSoqPK0VHfwC4Ba8 qm4x5lXxcIR2IxXvj/ngtp3z7T2jWzQ== X-Google-Smtp-Source: AGHT+IHu4iY5Z4CVA40sFwKqCR9kgzZZgfuNqMAe6/oODffaarKojVczOsE+otmi4t0Gruim5dJY9qyPUFtZD+lcqAQ= X-Received: by 2002:a17:906:e950:b0:a77:e1c2:3ab with SMTP id a640c23a62f3a-a780b884b52mr311518366b.50.1720597698588; Wed, 10 Jul 2024 00:48:18 -0700 (PDT) MIME-Version: 1.0 From: vimal va Date: Wed, 10 Jul 2024 13:18:06 +0530 Message-ID: Subject: Postgres :- Could not open R2DBC Connection To: pgsql-general@lists.postgresql.org Cc: vimal.arumugam@wipro.com Content-Type: multipart/alternative; boundary="000000000000a03855061cdfdeec" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000a03855061cdfdeec Content-Type: text/plain; charset="UTF-8" Dear team , This is Vimal from WIpro. We are using Postgres 14 , while connecting postgres from application we are getting "*Could not open R2DBC Connection for transaction;" error in pod . *We have increased the max number of connections in postgres from 100 to 1000 , still we are facing the same error. I have pasted below the error for reference. Please help us on this issue Thanks, Vimal. *reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.transaction.CannotCreateTransactionException: Could not open R2DBC Connection for transaction; nested exception is io.r2dbc.postgresql.PostgresqlConnectionFactory$PostgresConnectionException: Cannot connect to 10.0.202.121/ :5432Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open R2DBC Connection for transaction; nested exception is io.r2dbc.postgresql.PostgresqlConnectionFactory$PostgresConnectionException: Cannot connect to 10.0.202.121/ :5432 at org.springframework.r2dbc.connection.R2dbcTransactionManager.lambda$null$5(R2dbcTransactionManager.java:227) at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:94) at co.elastic.apm.agent.reactor.TracedSubscriber.onError(TracedSubscriber.java:126) at reactor.core.publisher.MonoFlatMap$FlatMapMain.onError(MonoFlatMap.java:172) at co.elastic.apm.agent.reactor.TracedSubscriber.onError(TracedSubscriber.java:126)* --000000000000a03855061cdfdeec Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear team ,

This is V= imal from WIpro. We are using Postgres 14 , while connecting postgres from = application we are getting "Could= not open R2DBC Connection for transaction;"=C2=A0 error in pod . = We have increased the max number of connections in postgres from 100 to 100= 0 , still we are facing the same error.
I have pasted below the error for reference. Please help us= on this issue

Thanks,
Vimal.

reactor.core.Exceptions$ErrorCal= lbackNotImplemented: org.springframework.transaction.CannotCreateTransactio= nException: Could not open R2DBC Connection for transaction; nested excepti= on is io.r2dbc.postgresql.PostgresqlConnectionFactory$PostgresConnectionExc= eption: Cannot connect to 10.0.202.121/<unresolved>:5432
Caused by: org.springframework.transaction.C= annotCreateTransactionException: Could not open R2DBC Connection for transa= ction; nested exception is io.r2dbc.postgresql.PostgresqlConnectionFactory$= PostgresConnectionException: Cannot connect to 10.0.202.121/<unresolved&g= t;:5432
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 at org.springframework.r2dbc.connection.R2dbcTransact= ionManager.lambda$null$5(R2dbcTransactionManager.java:227)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at r= eactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErro= rResume.java:94)
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at co.elastic.apm.agent.reactor.TracedSubscr= iber.onError(TracedSubscriber.java:126)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at reactor.core.publish= er.MonoFlatMap$FlatMapMain.onError(MonoFlatMap.java:172)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at co.= elastic.apm.agent.reactor.TracedSubscriber.onError(TracedSubscriber.java:12= 6)

=C2=A0

=
--000000000000a03855061cdfdeec--