Skip to content

System.ArgumentException: Invalid destination prefix. #1532

Answered by MihaZupan
cristyonathan asked this question in Q&A
Discussion options

You must be logged in to vote

What does your config look like?
destinationPrefix is taken from your Destination's Address and we only do minimal validation.

https://github.com/microsoft/reverse-proxy/blob/96ed54fd0286638838edb1543333a00dbb3c595b/src/ReverseProxy/Forwarder/HttpForwarder.cs#L260

Seeing this exception means the prefix was shorter than 8 characters, meaning it couldn't possibly be a start of an Absolute Url.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cristyonathan
Comment options

Answer selected by cristyonathan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants