DotNet4Neo4j / Neo4jClient

.NET client binding for Neo4j
https://www.nuget.org/packages/Neo4jClient
Microsoft Public License
431 stars 146 forks source link

Only ‘http’ and ‘https’ schemes are allowed. (Parameter 'requestUri') #424

Closed flieks closed 3 years ago

flieks commented 3 years ago

Using latest Neo4jClient en .NET 5.

I get (Only 'http' and 'https' schemes are allowed. (Parameter 'requestUri'))'

i am using this URL scheme var url = neo4j+s://xxxxxx.databases.neo4j.io

graphClient = new GraphClient(new Uri(url), user, pass);
graphClient.ConnectAsync().Wait();
cskardon commented 3 years ago

It's because you're using the GraphClient not the BoltGraphClient.

Switch to that and you will be able to connect using the neo4j+s schema