Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Trailing slash in backend causes 502 #1

Open
willmostly opened this issue Apr 3, 2023 · 0 comments
Open

Trailing slash in backend causes 502 #1

willmostly opened this issue Apr 3, 2023 · 0 comments

Comments

@willmostly
Copy link
Member

willmostly commented Apr 3, 2023

A trailing slash in the proxyTo field will cause the rewritten URL to contain a double slash, which trino responds to with a 502 Bad Gateway. E.g.

{
  "name": "primary",
  "proxyTo": "https://wilhelm.starburst-customer-success.com/",
  "active": true,
  "routingGroup": "adhoc"
}

==>
https://wilhelm.starburst-customer-success.com//ui

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant