未验证 提交 4b89f7ad 编写于 作者: H hongyi-zhao 提交者: GitHub

See here for more discussions on the relative problem: (#12299)

https://github.com/ApolloAuto/apollo/issues/12285#issuecomment-682435918

Disable the possible proxy for curl when obtaining the HTTP status code in the scripts/bootstrap.sh
上级 b5eb305f
......@@ -31,7 +31,7 @@ function start() {
./scripts/dreamview.sh start
if [ $? -eq 0 ]; then
sleep 2 # wait for some time before starting to check
http_status="$(curl -o /dev/null -I -L -s -w '%{http_code}' ${DREAMVIEW_URL})"
http_status="$(curl -o /dev/null -x '' -I -L -s -w '%{http_code}' ${DREAMVIEW_URL})"
if [ $http_status -eq 200 ]; then
echo "Dreamview is running at" $DREAMVIEW_URL
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册