Getting 500: Unsupported protocol scheme when trying to access AMP

So, just for the fun of it, I tried to change the server on one of the working services, to point to the whoami server.
Guess what, it works!
On the actual whoami route and service though, still same error.

Okay, I found my error. Sorry guys, it was of course 100% me.

I was missing a space after the dash, in the servers list :grimacing:
I feel pretty embarrassed. I work with yaml every day, I know this is such a stupid mistake that I should have caught immediately.

I have wasted your time, I am terribly sorry. It works.

WRONG:

    whoami:
      loadBalancer:
        servers:
          -url: "http://192.168.1.134:32769"

vs

    whoami:
      loadBalancer:
        servers:
          - url: "http://192.168.1.134:32769"

@nicomengin, if I had just copy/pasted your protocol example, it would have worked. Haha.

Hey @Nicoolai,

I'm glad to know it works now.
Indeed, I've identified the missing space too, and fixed it in my snippet.
I would mention it too :sweat_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.