leonardb commented on issue #52:
URL: https://github.com/apache/couchdb-erlfdb/issues/52#issuecomment-1023447900


   I'm really just worried about the `tls_cert_bytes` and `tls_key_bytes` 
options not working at all.
   
   They're accepted when setting the network options (no errors) but obviously 
'something' is not working as erlfdb is not connecting properly to the cluster. 
Maybe it's a bug in the C lib itself, but that's beyond my capabilities to 
track down.
   
   Enabling trace on the connection gives very limited info. All I can see is a 
connection failure.
   ```
   <?xml version="1.0"?>
   <Trace>
   <Event Severity="10" Time="1643300975.803927" 
DateTime="2022-01-27T16:29:35Z" Type="SetNetworkOption" ID="0000000000000000" 
Option="TRACE_ENABLE" ThreadID="579746076798814255" Machine="10.0.0.205:16186" 
LogGroup="default" />
   <Event Severity="10" Time="1643300975.804052" 
DateTime="2022-01-27T16:29:35Z" Type="SetNetworkOption" ID="0000000000000000" 
Option="TLS_CA_BYTES" ThreadID="579746076798814255" Machine="10.0.0.205:16186" 
LogGroup="default" />
   <Event Severity="10" Time="1643300975.804202" 
DateTime="2022-01-27T16:29:35Z" Type="SetNetworkOption" ID="0000000000000000" 
Option="TLS_KEY_BYTES" ThreadID="579746076798814255" Machine="10.0.0.205:16186" 
LogGroup="default" />
   <Event Severity="10" Time="1643300975.804275" 
DateTime="2022-01-27T16:29:35Z" Type="SetNetworkOption" ID="0000000000000000" 
Option="TLS_CERT_BYTES" ThreadID="579746076798814255" 
Machine="10.0.0.205:16186" LogGroup="default" />
   <Event Severity="10" Time="1643300975.805842" 
DateTime="2022-01-27T16:29:35Z" Type="Net2Starting" ID="0000000000000000" 
ThreadID="579746076798814255" Machine="10.0.0.205:16186" LogGroup="default" />
   <Event Severity="10" Time="1643300975.806136" 
DateTime="2022-01-27T16:29:35Z" Type="SetNetworkOption" ID="0000000000000000" 
Option="SUPPORTED_CLIENT_VERSIONS" ThreadID="579746076798814255" 
Machine="10.0.0.205:16186" LogGroup="default" />
   <Event Severity="10" Time="1643300975.805868" 
DateTime="2022-01-27T16:29:35Z" Type="Net2Running" ID="0000000000000000" 
ThreadID="18086592241478077095" Machine="10.0.0.205:16186" LogGroup="default" />
   <Event Severity="10" Time="1643300975.805868" 
DateTime="2022-01-27T16:29:35Z" Type="ProcessTimeOffset" ID="0000000000000000" 
ProcessTime="1643300975.807528" SystemTime="1643300975.807528" 
OffsetFromSystemTime="-0.000001" ThreadID="18086592241478077095" 
Machine="10.0.0.205:16186" LogGroup="default" />
   <Event Severity="10" Time="1643300975.808202" 
DateTime="2022-01-27T16:29:35Z" Type="ClientStart" ID="0000000000000000" 
SourceVersion="47b9a81d1c10897c863098fe2d66e827fed0d239" Version="6.3.23" 
PackageName="6.3" ClusterFile="/opt/mfdb/test/fdb.local.cluster" 
ConnectionString="foo:[email protected]:4500:tls" ActualTime="1643300975" 
ApiVersion="630" ImageOffset="0x7ff1b2c6b000" ThreadID="18086592241478077095" 
Machine="10.0.0.205:16186" LogGroup="default" TrackLatestType="Original" />
   <Event Severity="10" Time="1643300975.808202" 
DateTime="2022-01-27T16:29:35Z" Type="MachineLoadDetail" ID="0000000000000000" 
User="31710408" Nice="169636" System="8478089" Idle="475535396" 
IOWait="3923774" IRQ="0" SoftIRQ="1135099" Steal="0" Guest="0" 
ThreadID="18086592241478077095" Machine="10.0.0.205:16186" LogGroup="default" />
   <Event Severity="10" Time="1643300975.808202" 
DateTime="2022-01-27T16:29:35Z" Type="Net2TLSConfig" ID="0000000000000000" 
CAPath="" CertificatePath="/etc/foundationdb/fdb.pem" 
KeyPath="/etc/foundationdb/fdb.pem" HasPassword="0" VerifyPeers="Check.Valid=1" 
ThreadID="18086592241478077095" Machine="10.0.0.205:16186" LogGroup="default" />
   <Event Severity="10" Time="1643300975.808202" 
DateTime="2022-01-27T16:29:35Z" Type="NotifyAddressHealthy" 
ID="0000000000000000" SuppressedEventCount="0" Address="10.0.0.205:4500:tls" 
ThreadID="18086592241478077095" Machine="10.0.0.205:16186" LogGroup="default" />
   <Event Severity="10" Time="1643300975.812328" 
DateTime="2022-01-27T16:29:35Z" Type="CodeCoverage" ID="0000000000000000" 
File="/root/src/oOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOo/foundationdb/fdbclient/ReadYourWrites.actor.cpp"
 Line="1357" Condition="true" ThreadID="18086592241478077095" 
Machine="10.0.0.205:16186" LogGroup="default" />
   <Event Severity="10" Time="1643300975.812701" 
DateTime="2022-01-27T16:29:35Z" Type="ConnectingTo" ID="0000000000000000" 
SuppressedEventCount="0" PeerAddr="10.0.0.205:4500:tls" PeerReferences="2" 
FailureStatus="OK" ThreadID="18086592241478077095" Machine="10.0.0.205:16186" 
LogGroup="default" />
   <Event Severity="20" Time="1643300977.812787" 
DateTime="2022-01-27T16:29:37Z" Type="N2_ConnectHandshakeError" 
ID="aac42de923f58eed" SuppressedEventCount="0" ErrorCode="104" 
Message="Connection reset by peer" ThreadID="18086592241478077095" 
Machine="10.0.0.205:16186" LogGroup="default" />
   <Event Severity="10" Time="1643300977.812787" 
DateTime="2022-01-27T16:29:37Z" Type="ConnectionTimedOut" ID="aac42de923f58eed" 
SuppressedEventCount="0" PeerAddr="10.0.0.205:4500:tls" 
ThreadID="18086592241478077095" Machine="10.0.0.205:16186" LogGroup="default" />
   <Event Severity="10" Time="1643300977.812787" 
DateTime="2022-01-27T16:29:37Z" Type="ConnectionClosed" ID="aac42de923f58eed" 
Error="connection_failed" ErrorDescription="Network connection failed" 
ErrorCode="1026" SuppressedEventCount="0" PeerAddr="10.0.0.205:4500:tls" 
ThreadID="18086592241478077095" Machine="10.0.0.205:16186" LogGroup="default" />
   
   ```
   


-- 
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]


Reply via email to