mikehb opened a new issue, #284:
URL: https://github.com/apache/rocketmq-clients/issues/284
Following installation guide of rocketmq-5.0 and rocketmq-client/cpp 5.0, I
got following error while running example of CPP client.
```
[mikehuang@fedora build]$ ./examples/example_push_consumer
--access_point=127.0.0.1:9876 --topic=T_TestTopic --access_key=RocketMQ2
--access_secret=12345678
RocketMQ log files path: /home/mikehuang/logs/rocketmq
[2022/11/14-10:25:45.083 +08:00] [rocketmq_logger] [---I---] [thread 50329]
ClientManager[ResourceNamespace=] created
/home/mikehuang/Downloads/rocketmq-clients/cpp/source/client/ClientManagerImpl.cpp:86
[2022/11/14-10:25:45.084 +08:00] [rocketmq_logger] [---I---] [thread 50329]
Scheduler threads start to loop
/home/mikehuang/Downloads/rocketmq-clients/cpp/source/scheduler/SchedulerImpl.cpp:92
[2022/11/14-10:25:45.086 +08:00] [rocketmq_logger] [---I---] [thread 50329]
Create a RPC client to ipv4:127.0.0.1:9876
/home/mikehuang/Downloads/rocketmq-clients/cpp/source/client/ClientManagerImpl.cpp:483
[2022/11/14-10:25:45.114 +08:00] [rocketmq_logger] [---I---] [thread 50329]
Sync client settings to ipv4:127.0.0.1:9876
/home/mikehuang/Downloads/rocketmq-clients/cpp/source/client/SessionImpl.cpp:35
[2022/11/14-10:25:45.130 +08:00] [rocketmq_logger] [---W---] [thread 50344]
Failed to write telemetry command settings {
client_type: PUSH_CONSUMER
access_point {
scheme: IPv4
addresses {
host: "127.0.0.1"
port: 9876
}
}
request_timeout {
seconds: 3
}
subscription {
group {
name: "CID_standard_topic_sample"
}
subscriptions {
topic {
name: "T_TestTopic"
}
expression {
type: TAG
expression: "*"
}
}
receive_batch_size: 32
long_polling_timeout {
seconds: 30
}
}
user_agent {
language: CPP
version: "5.0.0"
platform: "Linux 64-bit"
hostname: "localhost"
}
}
to ipv4:127.0.0.1:9876
/home/mikehuang/Downloads/rocketmq-clients/cpp/source/client/TelemetryBidiReactor.cpp:77
[2022/11/14-10:25:45.131 +08:00] [rocketmq_logger] [---I---] [thread 50344]
ipv4:127.0.0.1:9876#fireClose
/home/mikehuang/Downloads/rocketmq-clients/cpp/source/client/TelemetryBidiReactor.cpp:297
[2022/11/14-10:25:45.131 +08:00] [rocketmq_logger] [---W---] [thread 50344]
ipv4:127.0.0.1:9876#OnDone, status.error_code=14, status.error_message=failed
to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:9876: Cannot
check peer: missing selected ALPN property., status.error_details=
/home/mikehuang/Downloads/rocketmq-clients/cpp/source/client/TelemetryBidiReactor.cpp:331
[2022/11/14-10:25:46.084 +08:00] [rocketmq_logger] [---I---] [thread 50340]
Execute task: heartbeat-task. Use-count: 2
/home/mikehuang/Downloads/rocketmq-clients/cpp/source/scheduler/SchedulerImpl.cpp:165
[2022/11/14-10:25:56.084 +08:00] [rocketmq_logger] [---I---] [thread 50341]
Execute task: heartbeat-task. Use-count: 2
/home/mikehuang/Downloads/rocketmq-clients/cpp/source/scheduler/SchedulerImpl.cpp:165
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]