It seems like the response of codecov API is not in time

Description

It seems like the response of codecov is not in time now. After a few minutes, it comes back to normal.
FYI: My time now is 2020.12.14T10:25:01 UTC

curl https://codecov.io/api/gh/qiniu/goc/commit/fec5f7f29ac42462741149dc9f8a66229cac54e3

You should expect random Internet URLs to timeout or otherwise fail randomly yet succeed when retried. You just failed a basic interview question. You have to be able to deal with random failures.

@fansi404, that’s strange, we didn’t see any downtime on our end. I would suggest some additional parameters, maybe --retry 5 --retry-delay 2 --connect-timeout 2

Got it. Thanks for your advise @tom