<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/yarp-and-aspire-https-http-scheme-is-not-supported--ao9iptakh" -->

---
title: YARP and Aspire: "https+http scheme is not supported"
description: When using YARP as a reverse proxy in front of .NET Aspire-managed services, pointing cluster destinations at Aspire's `https+http://` service discovery scheme...
canonical: https://daily.dev/posts/yarp-and-aspire-https-http-scheme-is-not-supported--ao9iptakh
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: YARP and Aspire: "https+http scheme is not supported" | daily.dev
og:description: When using YARP as a reverse proxy in front of .NET Aspire-managed services, pointing cluster destinations at Aspire's `https+http://` service discovery scheme...
og:url: https://daily.dev/posts/yarp-and-aspire-https-http-scheme-is-not-supported--ao9iptakh
og:image: https://api.daily.dev/og/posts/Ao9IPtAKh.png
og:image:alt: YARP and Aspire: "https+http scheme is not supported"
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# YARP and Aspire: "https+http scheme is not supported"

**[The Art of Simplicity](https://daily.dev/sources/bartwullems)** · 2 min read · 5 upvotes · 0 comments

## Summary

When using YARP as a reverse proxy in front of .NET Aspire-managed services, pointing cluster destinations at Aspire's `https+http://` service discovery scheme causes an error because YARP's configuration binder doesn't understand that scheme natively. The fix is to install the `Microsoft.Extensions.ServiceDiscovery.Yarp` NuGet package and call `AddServiceDiscoveryDestinationResolver()` when configuring the reverse proxy. This hooks service discovery into YARP's destination resolution pipeline, allowing the `https+http://` addresses to work without any config changes. For direct forwarding via `IHttpForwarder`, the equivalent method is `AddHttpForwarderWithServiceDiscovery()`.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://bartwullems.blogspot.com/2026/07/yarp-and-aspire-httpshttp-scheme-is-not.html>

## Similar posts on daily.dev

- [.NET Aspire: The price of forgetting WithReference](https://daily.dev/posts/net-aspire-the-price-of-forgetting-withreference-ivluyvzfp) · The Art of Simplicity · 14 upvotes · 1 comments
- [Building a .NET API Gateway with ClickHouse and Aspire](https://daily.dev/posts/building-a-net-api-gateway-with-clickhouse-and-aspire-jjct03v7d) · ClickHouse · 0 upvotes · 0 comments
- [How to Improve Developer Experience in Microservices Applications with .NET Aspire](https://daily.dev/posts/how-to-improve-developer-experience-in-microservices-applications-with-net-aspire-o3dcliqyw) · freeCodeCamp · 6 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#.net](https://daily.dev/tags/.net)

[View this post on daily.dev](https://daily.dev/posts/yarp-and-aspire-https-http-scheme-is-not-supported--ao9iptakh)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"YARP and Aspire: \"https+http scheme is not supported\"","url":"https://daily.dev/posts/yarp-and-aspire-https-http-scheme-is-not-supported--ao9iptakh","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/yarp-and-aspire-https-http-scheme-is-not-supported--ao9iptakh"},"datePublished":"2026-07-08T05:43:54.715Z","dateModified":"2026-07-08T05:44:11.872Z","description":"When using YARP as a reverse proxy in front of .NET Aspire-managed services, pointing cluster destinations at Aspire's `https+http://` service discovery scheme...","image":"https://media.daily.dev/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007","thumbnailUrl":"https://media.daily.dev/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007","isAccessibleForFree":true,"articleSection":"The Art of Simplicity","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The Art of Simplicity","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/52b68c70636d44f0901ae7cd107c9438","url":"https://daily.dev/sources/bartwullems"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/yarp-and-aspire-https-http-scheme-is-not-supported--ao9iptakh","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"architecture,.net","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The Art of Simplicity","item":"https://daily.dev/sources/bartwullems"},{"@type":"ListItem","position":3,"name":"YARP and Aspire: \"https+http scheme is not supported\""}]}
```

