I have a weird error: when Qdrant client is initialized with a full URL (ie https://hostname:port), client methods fails with a fetch failed / timeout errors but some don't.
The code:
const qdrantClient = new QdrantClient({ url: 'https://mydomain.com:443' });
try {
await qdrantClient.getCollection('test');
} catch (e) {
console.log(e);
}
When used locally with a URL like http://localhost:6333 there's no issue, but when the URL is https://mydomain.com:443 I get a fetch failed error.
If I add the port manually in the client setup:
const qdrantClient = new QdrantClient({ url: 'https://mydomain.com:443', port: 443 });
It works normally.
EDIT: It also seems only some methods are affected by this, as I can make search queries just fine without having the port explicitly set?