Michael J. Rogers
Subject: |
RE: Zenoss CE 1.6.3/6.3.2 r317 - Zenoss Core Web UI - CC tab - HTTPError - HTTP Error 502 |
Author: |
Sam Urai |
Posted: |
2021-05-17 14:50 |
That change did it! Thanks
@Michael. So the question is - why you can not use FQDN for the endpoint? The documentation says one can use the hostname or IP.
Please advise.
Thanks
------------------------------
Sam
------------------------------
E0517 17:47:05.188092 00001 proxy.go:250] Container address is invalid. Can't create proxy: master.cc.com:443
2021/05/17 17:47:10 200 2.114707ms POST /api/metrics/store
2021/05/17 17:47:24 http: proxy error: read tcp 127.0.0.1:47348->127.0.0.1:5443: read: connection reset by peer
2021/05/17 17:47:25 200 1.898842ms POST /api/metrics/store
E0517 17:47:26.507626 00001 proxy.go:250] Container address is invalid. Can't create proxy: master.cc.com:443
E0517 17:47:27.278291 00001 proxy.go:250] Container address is invalid. Can't create proxy: master.cc.com:443
------------------------------
Sam
Subject: |
RE: Zenoss CE 1.6.3/6.3.2 r317 - Zenoss Core Web UI - CC tab - HTTPError - HTTP Error 502 |
Author: |
Michael Rogers |
Posted: |
2021-05-17 15:34 |
Sam,
You should be able to use the FQDN or hostname but a failure to resolve the name will result in the same message logged:
Container address is invalid. Can't create proxy: host.domain.tld:443
If we stick to using strictly IPs we can remove name resolution from the equation.
------------------------------
Michael J. Rogers
Senior Instructor - Zenoss
Austin TX
------------------------------
E0517 17:47:05.188092 00001 proxy.go:250] Container address is invalid. Can't create proxy: master.cc.com:443
2021/05/17 17:47:10 200 2.114707ms POST /api/metrics/store
2021/05/17 17:47:24 http: proxy error: read tcp 127.0.0.1:47348->127.0.0.1:5443: read: connection reset by peer
2021/05/17 17:47:25 200 1.898842ms POST /api/metrics/store
E0517 17:47:26.507626 00001 proxy.go:250] Container address is invalid. Can't create proxy: master.cc.com:443
E0517 17:47:27.278291 00001 proxy.go:250] Container address is invalid. Can't create proxy: master.cc.com:443
------------------------------
Sam
Subject: |
RE: Zenoss CE 1.6.3/6.3.2 r317 - Zenoss Core Web UI - CC tab - HTTPError - HTTP Error 502 |
Author: |
Sam Urai |
Posted: |
2021-05-18 13:07 |
Yeah you are right. However I've to figure out where that name resolution is failing. In the deployment, I did define our DNS servers with
SERVICED_DOCKER_DNS variable on all CC hosts.
Thanks
------------------------------
Sam
------------------------------