Thanks,Shannon. I am so sorry for didn't reply timely. I have found this also,can we make it possible to support long-running service instance provisioning? I try to change the timeout to -1(never timeout) when post the request(
). Then it tell me another error:
[2013-10-08 10:34:35.093389] cc - pid=10877 tid=ca32 fid=51ba ERROR -- Error talking to gateway: Can't decode gateway response. status code:504, response body:<html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body bgcolor="white">\r\n<center><h1>504 Gateway Time-out</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n
[2013-10-08 10:34:35.093668] cc exception pid=10877 tid=ca32 fid=51ba ERROR -- VCAP::Services::Api::ServiceGatewayClient::UnexpectedResponse<<Can't decode gateway response. status code:504, response body:<html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body bgcolor="white">\r\n<center><h1>504 Gateway Time-out</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n:/home/hc/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/bundler/gems/vcap-common-fd6b6d91b19c/lib/services/api/clients/service_gateway_client.rb:179:in `rescue in perform_request',/home/hc/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/bundler/gems/vcap-common-fd6b6d91b19c/lib/services/api/clients/service_gateway_client.rb:175:in `perform_request',/home/hc/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/bundler/gems/vcap-common-fd6b6d91b19c/lib/services/api/clients/service_gateway_client.rb:78:in `provision'
………………
Is there a link between this and nginx? I check the nginx_cc_error.log and find this:
[error] 1306#0: *434157 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.20.8.81, server: _, request: "POST /services HTTP/1.0", upstream: "http://unix:/tmp/cloud_controller.sock:/services", host: "
api.vcap.me"
在 2013年10月1日星期二UTC+8上午1时25分30秒,Shannon Coen写道: