Replies: 2 comments 4 replies
-
Hey @aletit - Thanks for your question. I'm tagging @sighingnow who maintains the etcd |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @aletit may I know more details about your setup? e.g., how you install the grpc dependency. I failed to reproduce the issue on Ubuntu 20.04 with |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I would need some assistance on understanding the issue that happens when I upgrade etcd to v 3.4.19 and newer.
Same code works fine with etcd < 3.4.19.
I have a C++ app connecting to etcd via grpc with SSL/TLS.
I use either CentOS 7 or 8, and get the same failures.
The question is what has changed in etcd 3.4.18 -> 3.4.19 that needs some changes (and which changes in that case if you have any suggestions) on my side?
I suspect this change is relevant, but I have hard times understanding the implications of it:
Upgrade #14179 to v0.0.0-20220411220226-7b82a4e95df4 to address CVE-2022-27191 .
I would appreciate any advices and help, thank you!
The code of creating a Grpc channel is as following:
And I get the following output:
`
I0913 14:53:51.518087297 5699 subchannel.cc:711] subchannel 0x2694ca0 {address=ipv6:%5B::1%5D:17123, args={grpc.client_channel_factory=0x2646520, grpc.default_authority=localhost:17123, grpc.http2_scheme=https, grpc.internal.channel_credentials=0x266a260, grpc.internal.event_engine=0x2693c30, grpc.internal.security_connector=0x266f2c0, grpc.internal.subchannel_pool=0x266a400, grpc.keepalive_time_ms=1000, grpc.keepalive_timeout_ms=1000, grpc.primary_user_agent=grpc-c++/1.58.0, grpc.resource_quota=0x265b770, grpc.server_uri=dns:///localhost:17123}}: connect failed (UNKNOWN:Failed to connect to remote host: Connection refused {file:"/data/grpc/1.58.0/src/core/lib/iomgr/tcp_client_posix.cc", file_line:248, created_time:"2023-09-13T14:53:51.5152105+02:00", errno:111, os_error:"Connection refused", syscall:"connect", target_address:"ipv6:%5B::1%5D:17123"}), backing off for 994 ms
D0913 14:53:51.518766647 5709 tcp_posix.cc:2004] cannot set inq fd=14 errno=92
I0913 14:53:51.550658795 5709 subchannel.cc:711] subchannel 0x269ab90 {address=ipv4:127.0.0.1:17123, args={grpc.client_channel_factory=0x2646520, grpc.default_authority=localhost:17123, grpc.http2_scheme=https, grpc.internal.channel_credentials=0x266a260, grpc.internal.event_engine=0x2699bc0, grpc.internal.security_connector=0x2695750, grpc.internal.subchannel_pool=0x266a400, grpc.keepalive_time_ms=1000, grpc.keepalive_timeout_ms=1000, grpc.primary_user_agent=grpc-c++/1.58.0, grpc.resource_quota=0x265b770, grpc.server_uri=dns:///localhost:17123}}: connect failed (UNKNOWN:Failed parsing HTTP/2 {created_time:"2023-09-13T14:53:51.550215861+02:00", file_line:2544, file:"/data/grpc/1.58.0/src/core/ext/transport/chttp2/transport/chttp2_transport.cc", children:[UNKNOWN:Expected SETTINGS frame as the first frame, got frame type 80 {file:"/data/grpc/1.58.0/src/core/ext/transport/chttp2/transport/parsing.cc", file_line:402, created_time:"2023-09-13T14:53:51.550149979+02:00"}, UNKNOWN:Trying to connect an http1.x server {grpc_status:13, http_status:400, created_time:"2023-09-13T14:53:51.550197684+02:00", file_line:2507, file:"/data/grpc/1.58.0/src/core/ext/transport/chttp2/transport/chttp2_transport.cc"}]}), backing off for 966 ms
I0913 14:53:52.514451399 5704 subchannel.cc:666] subchannel 0x2694ca0 {address=ipv6:%5B::1%5D:17123, args={grpc.client_channel_factory=0x2646520, grpc.default_authority=localhost:17123, grpc.http2_scheme=https, grpc.internal.channel_credentials=0x266a260, grpc.internal.event_engine=0x2693c30, grpc.internal.security_connector=0x266f2c0, grpc.internal.subchannel_pool=0x266a400, grpc.keepalive_time_ms=1000, grpc.keepalive_timeout_ms=1000, grpc.primary_user_agent=grpc-c++/1.58.0, grpc.resource_quota=0x265b770, grpc.server_uri=dns:///localhost:17123}}: backoff delay elapsed, reporting IDLE
I0913 14:53:52.515384201 5699 subchannel.cc:711] subchannel 0x2694ca0 {address=ipv6:%5B::1%5D:17123, args={grpc.client_channel_factory=0x2646520, grpc.default_authority=localhost:17123, grpc.http2_scheme=https, grpc.internal.channel_credentials=0x266a260, grpc.internal.event_engine=0x2693c30, grpc.internal.security_connector=0x266f2c0, grpc.internal.subchannel_pool=0x266a400, grpc.keepalive_time_ms=1000, grpc.keepalive_timeout_ms=1000, grpc.primary_user_agent=grpc-c++/1.58.0, grpc.resource_quota=0x265b770, grpc.server_uri=dns:///localhost:17123}}: connect failed (UNKNOWN:Failed to connect to remote host: Connection refused {target_address:"ipv6:%5B::1%5D:17123", file:"/data/grpc/1.58.0/src/core/lib/iomgr/tcp_client_posix.cc", file_line:248, created_time:"2023-09-13T14:53:52.515120189+02:00", errno:111, os_error:"Connection refused", syscall:"connect"}), backing off for 1506 ms
`
Beta Was this translation helpful? Give feedback.
All reactions