Skip to content
New issue

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

.Net: 404 when using WeaviateMemoryStore #2338

Closed
EcoleKeine opened this issue Aug 7, 2023 · 1 comment
Closed

.Net: 404 when using WeaviateMemoryStore #2338

EcoleKeine opened this issue Aug 7, 2023 · 1 comment
Labels
.NET Issue or Pull requests regarding .NET code triage

Comments

@EcoleKeine
Copy link

Describe the bug
404 when using WeaviateMemoryStore

To Reproduce
Steps to reproduce the behavior:

	var memoryStore = new WeaviateMemoryStore("http://localhost:8080/v1");
	await foreach (var item in memoryStore.GetCollectionsAsync())
	{
		Console.WriteLine($"collectionName: {item}:");
	}
  1. See error: HttpRequestException: Response status code does not indicate success: 404 (Not Found).

Reason
it call "http://localhost:8080/{path}" not "http://localhost:8080/v1/{path}"
see WeaviateMemoryStore.ExecuteHttpRequestAsync

new Uri(_endpoint, request.RequestUri);

new Uri(new Uri("http://localhost/v1"), "path") get "http://localhost/path", not "http://localhost/v1/path"

Platform

  • OS: Windows
  • Language: C#
  • Source: 0.19.230804.2-preview
@shawncal shawncal added .NET Issue or Pull requests regarding .NET code triage labels Aug 7, 2023
@shawncal shawncal changed the title 404 when using WeaviateMemoryStore .Net: 404 when using WeaviateMemoryStore Aug 7, 2023
@EcoleKeine
Copy link
Author

new WeaviateMemoryStore("http://localhost:8080/v1/");
not new WeaviateMemoryStore("http://localhost:8080/v1");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.NET Issue or Pull requests regarding .NET code triage
Projects
None yet
Development

No branches or pull requests

2 participants