The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 464
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
when you give a url to qdrantclient, the port is getting appended to the end of the url, this is wrong.
if you give QdrantClient({url: "https://qdrant.mydomain.com" })
the error received contains path: "https://qdrant.mydomain.com:6333/collections/my_collection" this is not a valid url and will generate the error.
if the url parameter is passed, no port should be appended to it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the QdrantClient URL handling and the fetch() call involved in building the request path. Reproduce the https://qdrant.mydomain.com case and verify that the resulting collections URL does not append :6333 when a URL is supplied.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100