Hello,
I can't seem to figure out how to access any of the endpoints.
Built from master since 2.0.0-beta2 doesn't seem to support HARs:
go get github.com/google/martian/
go get -v golang.org/x/net/websocket
go install github.com/google/martian/cmd/proxy
Proxy is executed as follows (without explicitly specified -api-addr it crashes with "strconv.ParseInt: parsing ":8181": invalid syntax"):
proxy -har=true -generate-ca-cert=true -api-addr=8181 -v=5
The proxy works and processes requests, but when trying to connect to, for example, logs endpoint:
I am getting this,
HTTP/1.1 502 Bad Gateway
Warning: 199 "martian" "dial tcp: lookup martian.proxy: getaddrinfow: No such host is known." "Wed, 21 Sep 2016 21:27:07 GMT"
So far I have tried changing the host with -api attribute, binding on different addresses, and ports, but nothing worked.
Would appreciate any pointers about what I am doing wrong.