accessing to golang https server causes 502 error.


inho cho
 

After deploying golang https server in cloudfoundry. when i accessed, it responsed 502 bad gateway error.

This log related with that error.
OUT webproxy.test.com - [17/06/2016:07:08:06.779 +0000] "GET /favicon.ico HTTP/1.1" 502 0 67 "https://webproxy.test.com/terminal" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36" 10.10.8.10:49868 x_forwarded_for:"111.111.111.111" x_forwarded_proto:"https" vcap_request_id:50bd854d-00bd-4e4b-51e3-ffacf61db1cc response_time:0.001251456 app_id:7b4da30e-e11d-4451-bc14-fd309882b398

Is there a special way to deploy golang https server ?
when i tested it in golang HTTP Server, 502 error was not happened.

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.