具有Racher Nginx入口504网关超时的Traefik

时间:2019-07-01 17:12:14

标签: nginx kubernetes traefik rancher

我有Rancher v2.2.4来管理集群kubernetes,它使用了nginx-ingress-controller。我正在尝试部署在顶部具有Traefik:latest的应用程序,当我尝试在浏览器中访问URL时,站点将一直加载,直到返回错误消息504网关超时。这些是Traefik日志:

nginx ip: 10.250.248.252

traefik ip: 10.42.0.85

time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"\",\"Opaque\":\"\",\"User\":null,\"Host\":\"\",\"Path\":\"/\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\"],\"Accept-Encoding\":[\"gzip, deflate\"],\"Accept-Language\":[\"pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\"],\"Cache-Control\":[\"max-age=0\"],\"Cookie\":[\"adminer_permanent=cGdzcWw%3D-cG9zdGdyZXNxbC1wb3N0Z3Jlc3Fs-cG9zdGdyZXM%3D-cG9zdGdyZXM%3D%3AoLa2wjr9%2FS%2BWl46y\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\"],\"X-Forwarded-For\":[\"10.250.249.186\"],\"X-Forwarded-Host\":[\"atlas.devel\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Original-Uri\":[\"/\"],\"X-Real-Ip\":[\"10.250.249.186\"],\"X-Request-Id\":[\"274ea3cb0cd6cab506e3ce8c32a91fe3\"],\"X-Scheme\":[\"http\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"atlas.devel\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"10.250.248.252:33910\",\"RequestURI\":\"/\",\"TLS\":null}"
time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"\",\"Opaque\":\"\",\"User\":null,\"Host\":\"\",\"Path\":\"/\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\"],\"Accept-Encoding\":[\"gzip, deflate\"],\"Accept-Language\":[\"pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\"],\"Cache-Control\":[\"max-age=0\"],\"Cookie\":[\"adminer_permanent=cGdzcWw%3D-cG9zdGdyZXNxbC1wb3N0Z3Jlc3Fs-cG9zdGdyZXM%3D-cG9zdGdyZXM%3D%3AoLa2wjr9%2FS%2BWl46y\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\"],\"X-Forwarded-For\":[\"10.250.249.186\"],\"X-Forwarded-Host\":[\"atlas.devel\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Original-Uri\":[\"/\"],\"X-Real-Ip\":[\"10.250.249.186\"],\"X-Request-Id\":[\"274ea3cb0cd6cab506e3ce8c32a91fe3\"],\"X-Scheme\":[\"http\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"atlas.devel\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"10.250.248.252:33910\",\"RequestURI\":\"/\",\"TLS\":null}" ForwardURL="http://10.42.0.85:80"
time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/forward: begin ServeHttp on request" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"http\",\"Opaque\":\"\",\"User\":null,\"Host\":\"10.42.0.85:80\",\"Path\":\"\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\"],\"Accept-Encoding\":[\"gzip, deflate\"],\"Accept-Language\":[\"pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\"],\"Cache-Control\":[\"max-age=0\"],\"Cookie\":[\"adminer_permanent=cGdzcWw%3D-cG9zdGdyZXNxbC1wb3N0Z3Jlc3Fs-cG9zdGdyZXM%3D-cG9zdGdyZXM%3D%3AoLa2wjr9%2FS%2BWl46y\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\"],\"X-Forwarded-For\":[\"10.250.249.186\"],\"X-Forwarded-Host\":[\"atlas.devel\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Original-Uri\":[\"/\"],\"X-Real-Ip\":[\"10.250.249.186\"],\"X-Request-Id\":[\"274ea3cb0cd6cab506e3ce8c32a91fe3\"],\"X-Scheme\":[\"http\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"atlas.devel\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"10.250.248.252:33910\",\"RequestURI\":\"/\",\"TLS\":null}"
time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/forward/http: begin ServeHttp on request" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"http\",\"Opaque\":\"\",\"User\":null,\"Host\":\"10.42.0.85:80\",\"Path\":\"\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\"],\"Accept-Encoding\":[\"gzip, deflate\"],\"Accept-Language\":[\"pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\"],\"Cache-Control\":[\"max-age=0\"],\"Cookie\":[\"adminer_permanent=cGdzcWw%3D-cG9zdGdyZXNxbC1wb3N0Z3Jlc3Fs-cG9zdGdyZXM%3D-cG9zdGdyZXM%3D%3AoLa2wjr9%2FS%2BWl46y\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\"],\"X-Forwarded-For\":[\"10.250.249.186\"],\"X-Forwarded-Host\":[\"atlas.devel\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Original-Uri\":[\"/\"],\"X-Real-Ip\":[\"10.250.249.186\"],\"X-Request-Id\":[\"274ea3cb0cd6cab506e3ce8c32a91fe3\"],\"X-Scheme\":[\"http\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"atlas.devel\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"10.250.248.252:33910\",\"RequestURI\":\"/\",\"TLS\":null}"
time="2019-07-01T16:27:16Z" level=debug msg="Upstream ResponseWriter of type *pipelining.writerWithoutCloseNotify does not implement http.CloseNotifier. Returning dummy channel."
time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"\",\"Opaque\":\"\",\"User\":null,\"Host\":\"\",\"Path\":\"/\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\"],\"Accept-Encoding\":[\"gzip, deflate\"],\"Accept-Language\":[\"pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\"],\"Cache-Control\":[\"max-age=0\"],\"Cookie\":[\"adminer_permanent=cGdzcWw%3D-cG9zdGdyZXNxbC1wb3N0Z3Jlc3Fs-cG9zdGdyZXM%3D-cG9zdGdyZXM%3D%3AoLa2wjr9%2FS%2BWl46y\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\"],\"X-Forwarded-For\":[\"10.250.249.186, 10.250.248.252\"],\"X-Forwarded-Host\":[\"atlas.devel\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Forwarded-Server\":[\"traefik-7897559c5c-lhsbj\"],\"X-Original-Uri\":[\"/\"],\"X-Real-Ip\":[\"10.250.249.186\"],\"X-Request-Id\":[\"274ea3cb0cd6cab506e3ce8c32a91fe3\"],\"X-Scheme\":[\"http\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"atlas.devel\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"10.42.0.85:49394\",\"RequestURI\":\"/\",\"TLS\":null}"
time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"\",\"Opaque\":\"\",\"User\":null,\"Host\":\"\",\"Path\":\"/\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\"],\"Accept-Encoding\":[\"gzip, deflate\"],\"Accept-Language\":[\"pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\"],\"Cache-Control\":[\"max-age=0\"],\"Cookie\":[\"adminer_permanent=cGdzcWw%3D-cG9zdGdyZXNxbC1wb3N0Z3Jlc3Fs-cG9zdGdyZXM%3D-cG9zdGdyZXM%3D%3AoLa2wjr9%2FS%2BWl46y\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\"],\"X-Forwarded-For\":[\"10.250.249.186, 10.250.248.252\"],\"X-Forwarded-Host\":[\"atlas.devel\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Forwarded-Server\":[\"traefik-7897559c5c-lhsbj\"],\"X-Original-Uri\":[\"/\"],\"X-Real-Ip\":[\"10.250.249.186\"],\"X-Request-Id\":[\"274ea3cb0cd6cab506e3ce8c32a91fe3\"],\"X-Scheme\":[\"http\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"atlas.devel\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"10.42.0.85:49394\",\"RequestURI\":\"/\",\"TLS\":null}" ForwardURL="http://10.42.0.85:80"
time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/forward: begin ServeHttp on request" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"http\",\"Opaque\":\"\",\"User\":null,\"Host\":\"10.42.0.85:80\",\"Path\":\"\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\"],\"Accept-Encoding\":[\"gzip, deflate\"],\"Accept-Language\":[\"pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\"],\"Cache-Control\":[\"max-age=0\"],\"Cookie\":[\"adminer_permanent=cGdzcWw%3D-cG9zdGdyZXNxbC1wb3N0Z3Jlc3Fs-cG9zdGdyZXM%3D-cG9zdGdyZXM%3D%3AoLa2wjr9%2FS%2BWl46y\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\"],\"X-Forwarded-For\":[\"10.250.249.186, 10.250.248.252\"],\"X-Forwarded-Host\":[\"atlas.devel\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Forwarded-Server\":[\"traefik-7897559c5c-lhsbj\"],\"X-Original-Uri\":[\"/\"],\"X-Real-Ip\":[\"10.250.249.186\"],\"X-Request-Id\":[\"274ea3cb0cd6cab506e3ce8c32a91fe3\"],\"X-Scheme\":[\"http\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"atlas.devel\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"10.42.0.85:49394\",\"RequestURI\":\"/\",\"TLS\":null}"
time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/forward/http: begin ServeHttp on request" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"http\",\"Opaque\":\"\",\"User\":null,\"Host\":\"10.42.0.85:80\",\"Path\":\"\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\"],\"Accept-Encoding\":[\"gzip, deflate\"],\"Accept-Language\":[\"pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\"],\"Cache-Control\":[\"max-age=0\"],\"Cookie\":[\"adminer_permanent=cGdzcWw%3D-cG9zdGdyZXNxbC1wb3N0Z3Jlc3Fs-cG9zdGdyZXM%3D-cG9zdGdyZXM%3D%3AoLa2wjr9%2FS%2BWl46y\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\"],\"X-Forwarded-For\":[\"10.250.249.186, 10.250.248.252\"],\"X-Forwarded-Host\":[\"atlas.devel\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Forwarded-Server\":[\"traefik-7897559c5c-lhsbj\"],\"X-Original-Uri\":[\"/\"],\"X-Real-Ip\":[\"10.250.249.186\"],\"X-Request-Id\":[\"274ea3cb0cd6cab506e3ce8c32a91fe3\"],\"X-Scheme\":[\"http\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"atlas.devel\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"10.42.0.85:49394\",\"RequestURI\":\"/\",\"TLS\":null}"
time="2019-07-01T16:27:16Z" level=debug msg="Upstream ResponseWriter of type *pipelining.writerWithoutCloseNotify does not implement http.CloseNotifier. Returning dummy channel."
time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"\",\"Opaque\":\"\",\"User\":null,\"Host\":\"\",\"Path\":\"/\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\"],\"Accept-Encoding\":[\"gzip, deflate\"],\"Accept-Language\":[\"pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\"],\"Cache-Control\":[\"max-age=0\"],\"Cookie\":[\"adminer_permanent=cGdzcWw%3D-cG9zdGdyZXNxbC1wb3N0Z3Jlc3Fs-cG9zdGdyZXM%3D-cG9zdGdyZXM%3D%3AoLa2wjr9%2FS%2BWl46y\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\"],\"X-Forwarded-For\":[\"10.250.249.186, 10.250.248.252, 10.42.0.85\"],\"X-Forwarded-Host\":[\"atlas.devel\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Forwarded-Server\":[\"traefik-7897559c5c-lhsbj\"],\"X-Original-Uri\":[\"/\"],\"X-Real-Ip\":[\"10.250.249.186\"],\"X-Request-Id\":[\"274ea3cb0cd6cab506e3ce8c32a91fe3\"],\"X-Scheme\":[\"http\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"atlas.devel\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"10.42.0.85:49396\",\"RequestURI\":\"/\",\"TLS\":null}"
time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"\",\"Opaque\":\"\",\"User\":null,\"Host\":\"\",\"Path\":\"/\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\"],\"Accept-Encoding\":[\"gzip, deflate\"],\"Accept-Language\":[\"pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\"],\"Cache-Control\":[\"max-age=0\"],\"Cookie\":[\"adminer_permanent=cGdzcWw%3D-cG9zdGdyZXNxbC1wb3N0Z3Jlc3Fs-cG9zdGdyZXM%3D-cG9zdGdyZXM%3D%3AoLa2wjr9%2FS%2BWl46y\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\"],\"X-Forwarded-For\":[\"10.250.249.186, 10.250.248.252, 10.42.0.85\"],\"X-Forwarded-Host\":[\"atlas.devel\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Forwarded-Server\":[\"traefik-7897559c5c-lhsbj\"],\"X-Original-Uri\":[\"/\"],\"X-Real-Ip\":[\"10.250.249.186\"],\"X-Request-Id\":[\"274ea3cb0cd6cab506e3ce8c32a91fe3\"],\"X-Scheme\":[\"http\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"atlas.devel\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"10.42.0.85:49396\",\"RequestURI\":\"/\",\"TLS\":null}" ForwardURL="http://10.42.0.85:80"
time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/forward: begin ServeHttp on request" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"http\",\"Opaque\":\"\",\"User\":null,\"Host\":\"10.42.0.85:80\",\"Path\":\"\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\"],\"Accept-Encoding\":[\"gzip, deflate\"],\"Accept-Language\":[\"pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\"],\"Cache-Control\":[\"max-age=0\"],\"Cookie\":[\"adminer_permanent=cGdzcWw%3D-cG9zdGdyZXNxbC1wb3N0Z3Jlc3Fs-cG9zdGdyZXM%3D-cG9zdGdyZXM%3D%3AoLa2wjr9%2FS%2BWl46y\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\"],\"X-Forwarded-For\":[\"10.250.249.186, 10.250.248.252, 10.42.0.85\"],\"X-Forwarded-Host\":[\"atlas.devel\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Forwarded-Server\":[\"traefik-7897559c5c-lhsbj\"],\"X-Original-Uri\":[\"/\"],\"X-Real-Ip\":[\"10.250.249.186\"],\"X-Request-Id\":[\"274ea3cb0cd6cab506e3ce8c32a91fe3\"],\"X-Scheme\":[\"http\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"atlas.devel\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"10.42.0.85:49396\",\"RequestURI\":\"/\",\"TLS\":null}"
time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/forward/http: begin ServeHttp on request" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"http\",\"Opaque\":\"\",\"User\":null,\"Host\":\"10.42.0.85:80\",\"Path\":\"\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\"],\"Accept-Encoding\":[\"gzip, deflate\"],\"Accept-Language\":[\"pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\"],\"Cache-Control\":[\"max-age=0\"],\"Cookie\":[\"adminer_permanent=cGdzcWw%3D-cG9zdGdyZXNxbC1wb3N0Z3Jlc3Fs-cG9zdGdyZXM%3D-cG9zdGdyZXM%3D%3AoLa2wjr9%2FS%2BWl46y\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\"],\"X-Forwarded-For\":[\"10.250.249.186, 10.250.248.252, 10.42.0.85\"],\"X-Forwarded-Host\":[\"atlas.devel\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Forwarded-Server\":[\"traefik-7897559c5c-lhsbj\"],\"X-Original-Uri\":[\"/\"],\"X-Real-Ip\":[\"10.250.249.186\"],\"X-Request-Id\":[\"274ea3cb0cd6cab506e3ce8c32a91fe3\"],\"X-Scheme\":[\"http\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"atlas.devel\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"10.42.0.85:49396\",\"RequestURI\":\"/\",\"TLS\":null}"
time="2019-07-01T16:27:16Z" level=debug msg="Upstream ResponseWriter of type *pipelining.writerWithoutCloseNotify does not implement http.CloseNotifier. Returning dummy channel."
time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"\",\"Opaque\":\"\",\"User\":null,\"Host\":\"\",\"Path\":\"/\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\"],\"Accept-Encoding\":[\"gzip, deflate\"],\"Accept-Language\":[\"pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\"],\"Cache-Control\":[\"max-age=0\"],\"Cookie\":[\"adminer_permanent=cGdzcWw%3D-cG9zdGdyZXNxbC1wb3N0Z3Jlc3Fs-cG9zdGdyZXM%3D-cG9zdGdyZXM%3D%3AoLa2wjr9%2FS%2BWl46y\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\"],\"X-Forwarded-For\":[\"10.250.249.186, 10.250.248.252, 10.42.0.85, 10.42.0.85\"],\"X-Forwarded-Host\":[\"atlas.devel\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Forwarded-Server\":[\"traefik-7897559c5c-lhsbj\"],\"X-Original-Uri\":[\"/\"],\"X-Real-Ip\":[\"10.250.249.186\"],\"X-Request-Id\":[\"274ea3cb0cd6cab506e3ce8c32a91fe3\"],\"X-Scheme\":[\"http\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"atlas.devel\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"10.42.0.85:49398\",\"RequestURI\":\"/\",\"TLS\":null}"
time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" Request="{\"Method\":\"GET\",\"URL\":{\"Scheme\":\"\",\"Opaque\":\"\",\"User\":null,\"Host\":\"\",\"Path\":\"/\",\"RawPath\":\"\",\"ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\"ProtoMinor\":1,\"Header\":{\"Accept\":[\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\"],\"Accept-Encoding\":[\"gzip, deflate\"],\"Accept-Language\":[\"pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\"],\"Cache-Control\":[\"max-age=0\"],\"Cookie\":[\"adminer_permanent=cGdzcWw%3D-cG9zdGdyZXNxbC1wb3N0Z3Jlc3Fs-cG9zdGdyZXM%3D-cG9zdGdyZXM%3D%3AoLa2wjr9%2FS%2BWl46y\"],\"Upgrade-Insecure-Requests\":[\"1\"],\"User-Agent\":[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36\"],\"X-Forwarded-For\":[\"10.250.249.186, 10.250.248.252, 10.42.0.85, 10.42.0.85\"],\"X-Forwarded-Host\":[\"atlas.devel\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Forwarded-Server\":[\"traefik-7897559c5c-lhsbj\"],\"X-Original-Uri\":[\"/\"],\"X-Real-Ip\":[\"10.250.249.186\"],\"X-Request-Id\":[\"274ea3cb0cd6cab506e3ce8c32a91fe3\"],\"X-Scheme\":[\"http\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"atlas.devel\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"10.42.0.85:49398\",\"RequestURI\":\"/\",\"TLS\":null}" ForwardURL="http://10.42.0.85:80"
time="2019-07-01T16:27:16Z" level=debug msg="vulcand/oxy/forward: begin ServeHttp on request" Request="{\"Method\":\"GET\",\"URL\":

nginx和traefik之间的通信似乎正在循环,但是我不知道出了什么问题。

0 个答案:

没有答案