microsoft / microsoft/aspire

Aspire.Hosting.Azure.AppContainers breaks Qdrant Integration (ACA)

Open
#7,685 4 comments 0 reactions 0 assignees View on GitHub
area-deployment azure azure-container-apps
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

When using the Qdrant Integration and the .PublishAsAzureContainerApp() extension method is used (on any resource - must not be the Qdrant resource itself) one can't connect to the Qdrant resource from an api service for example.
Any method called on the QdrantClient results in a `Grpc.Core.RpcException: Status(StatusCode="Unknown", Detail="")` error

### Expected Behavior

When using the .PublishAsAzureContainerApp() in the AppHost project, the Qdrant integration should not break.

### Steps To Reproduce

- Add Qdrant Integration to default Aspire Template
- Add Qdrant reference to webfrontend
- Call for example `.ExistsCollection("my-collection")` on `QdrantClient` when clicking on a button
- Deploy to azure (azd up)
- Click button and look at the log, you should see the following error: `Grpc.Core.RpcException: Status(StatusCode="Unknown", Detail="")`

### Exceptions (if any)

_No response_

### .NET Version info

_No response_

### Anything else?

Tested with various aspire versions: from latest stable to preview - same result all the time.

SDK 9.0.200 - macOS (arm)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.