Failed to load remote configuration

3,059 views
Skip to first unread message

Scott Miller

unread,
Nov 20, 2018, 12:18:25 PM11/20/18
to Swagger
Hey all!

I'm trying to use a remote swagger-config.yaml to specify the URLs to load, but when I specify the CONFIG_URL docker environment variable to be an accessible HTTP URL I get the error "Failed to load remote configuration." displayed in Swagger. I've verified from within the container that the endpoint is reachable. The file itself is very simple YAML and looks like this:


Does anyone have any thoughts as to what I'm doing wrong?

Scott

Scott Miller

unread,
Nov 20, 2018, 12:53:01 PM11/20/18
to Swagger
After some more digging this appears to be a CORS issue.

Reply all
Reply to author
Forward
0 new messages