Hi guys,
Ive been testing out tyk with consul service descovery. But unfortunatly having an issue.
So we have service descovery set up. I can see in the logs that the ip and port is being resolved by tyk. The problem is tyk tries to parse the ip and port using url.parse the format is 1.0.0.2:22222. The parse function thows an exception saying it cant have a colon in it. I have read online that this can be due to the string being parsed not having the protocol on it for example http://1.0.0.2:22222.
Here lies my probem i have no way to make consul return a address with protocol. All the examples data i have seen returned from consul never include a protocol.
I think i could make this work without using non standard ports but this would involve giving each container a ip of its own which i dont really want to do.
Please advise
Thank you in advance.