You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by "aroundabout (via GitHub)" <gi...@apache.org> on 2023/12/20 12:09:57 UTC

[I] [Improvement] add error messages when starting the hugegraph-server fails in the function wait_for_startup of util.sh [incubator-hugegraph]

aroundabout opened a new issue, #2400:
URL: https://github.com/apache/incubator-hugegraph/issues/2400

   ### Feature Description (功能描述)
   
   ![img_v3_026a_2464d106-082c-4ec3-bd62-bb132b5e1c0g](https://github.com/apache/incubator-hugegraph/assets/49650772/6b241f4e-ef71-4a80-ad58-4458be2c1f65)
   When we fail to curl in the function `wait_for_startup` in the following code (I guess),
   ```bash
   status=$(curl -I -s -k -w "%{http_code}" -o /dev/null "$server_url")
   ``` 
   there are no error messages of logs
   ![image](https://github.com/apache/incubator-hugegraph/assets/49650772/88f218e0-1e92-4478-b65b-2aa692d04906)
   
   So, we should ensure that we can get the error message instead of waiting for timeout
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org