Doxense / foundationdb-dotnet-client

C#/.NET Binding for FoundationDB Client API
Other
145 stars 32 forks source link

Failing just to connect - Hello world? #112

Closed jjoergensen closed 2 years ago

jjoergensen commented 2 years ago

Hi,

I'm having some difficulty getting started with the FoundationDB .NET API. I'm not sure if I'm missing something obvious, but the documentation seems outdated and I'm having trouble just connecting to the cluster. I cloned the git repository and built it using VS2022. When I try to run FdbShell.exe -connfile=C:\ProgramData\foundationdb\fdb.cluster I get the following error: "Using API v620 (max 630)" and "Failed to get coordinators state from cluster: Operation aborted because the transaction timed out".

The cluster is running and I can use a simple 'fdbcli'. Can someone give me some guidance about the following:

Here is what I installed on the server (Ubuntu): foundationdb-clients_6.3.24-1_amd64.deb foundationdb-server_6.3.24-1_amd64.deb

and on the client-side where the .net project runs, I installed foundationdb-6.3.24-x64.msi, but I also tested out foundationdb-6.3.12-x64.msi without any luck.

I'm stuck, so any clues would be very helpful. Thank you.

jjoergensen commented 2 years ago

Looks like I could be facing some versioning issue with protocol incompatibilities - also mentioned here https://github.com/apple/foundationdb/issues/6490#issuecomment-1072501038

jjoergensen commented 2 years ago

I installed 6.3.23 instead and it solved my issue.