Service Discovery not working with Eureka


#1

Hi support,

I had a problem that service discovery not working with eureka server.
tyk gateway is latest(2.x.x) and tyk dashboard is 1.8.0 on docker container. Eureka server is 1.9.8.

When activated service discovery at tyk, I got xml response from eureka, and so, It was occured invalid parsing error.

I will tried to send some GET test at eureka server directly.

  1. Without any http header : I had got xml response.
  2. With Accept : application/json : I had got json response.

So, I have some question. Could you have any solution or advice to solve our problem?


#2

after I tried to use proxy to set Accept : application/json, I were able to avoid the problem. Is this workaround the best?