When running as systemd service, driver reports 'Invalid or unsupported protocol version (65)'

Description

Driver reports:
```
(cluster_connector.cpp:192:void datastax::internal::core::ClusterConnector::on_connect(datastax::internal::core::ControlConnector *)): Unable to establish a control connection to host <IPv6 address> because of the following error: Underlying connection error: Received error response 'Invalid or unsupported protocol version (65); the lowest supported version is 3 and the greatest is 4' (0x0200000A)
```
when running as a systemd service.

This message is gone when I run the program that uses the cpp driver directly rather than as a non-systemd service. Does anyone know what I could try? systemd seems to be the culprit. Running on Ubuntu 18.04.3 LTS.

Environment

None

Pull Requests

None

Activity

Show:
Andrei Pavel
January 22, 2020, 9:16 AM

The problem in the description is with Cassandra 3.0.17 with IPv6 contact points.

 

Tried it with Cassandra 3.11.5 with IPv4 contact points on Ubuntu 19.10 and the error message is similar:

Again only when running as a systemd service. Standalone is fine.

Assignee

Unassigned

Reporter

Andrei Pavel

Labels

None

PM Priority

None

Reproduced in

None

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Size

None

Priority

Minor
Configure