Open gsacavdm opened 5 years ago
I believe that's determined by below section for usersvc cluster for edge envoy vs service envoy. See host URL changed to localhost for service envoy version (usersvc2).
"clusters": [
{
"name": “usersvc”,
...
"hosts": [
{
"url": “tcp://usersvc:80”
}
]
}
]
"clusters": [
{
"name": “usersvc”,
...
"hosts": [
{
"url": “tcp://127.0.0.1:80”
}
]
}
]
The tutorial states, in order to prep for using Envoy:
And that these changes are in
usersvc2
however, that's not the casehttps://github.com/datawire/envoy-steps/blob/25e9dd66710c1f702f189a8e9b8b159760475ad5/usersvc2/service.py#L208
This line should be changes to listen on
127.0.0.1
PS: Nice tutorial!