We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Providing connection string with only host and port, adding second port to url.
To Reproduce Initialize with connection string like "localhost:2379" will try to create url from following string "localhost:2379:2379".
Expected behavior Create internal url with only http prefix (or https when ssl enabled).
Is there any reason of looking first for 3 colons? Swapping ifs order could resolve problem.
dotnet-etcd/dotnet-etcd/etcdClient.cs
Lines 115 to 123 in c82573f
The text was updated successfully, but these errors were encountered:
Please use prefix http:// or https:// . The dotnet grpc lib requires the host string to be in this format,
http://
https://
So in your case, it would be http://localhost:2379
http://localhost:2379
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Providing connection string with only host and port, adding second port to url.
To Reproduce
Initialize with connection string like "localhost:2379" will try to create url from following string "localhost:2379:2379".
Expected behavior
Create internal url with only http prefix (or https when ssl enabled).
Is there any reason of looking first for 3 colons? Swapping ifs order could resolve problem.
dotnet-etcd/dotnet-etcd/etcdClient.cs
Lines 115 to 123 in c82573f
The text was updated successfully, but these errors were encountered: