-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Travis badges seem to be broken #137
Comments
@patcon It seems from looking at the logs that Travis sometimes takes more time than Heroku likes, especially with specified branches. Heroku kills every request that takes more than 30 seconds to process and returns an error. Such a timeout doesn't happen that often, but even once a day is too often. Our best bet is #134, which will return a cached version when it takes more than 10 seconds to proceed the request. |
Thanks for the response man, but just to clarify, it wasn't an isolated incident. I saw dead badges on over a dozen other github projects over the course of last night, and every time I checked it was because they were using shields.io :( Do you have metrics on the number of pageviews where badges can't be rendered? Is that something you need? Just wondering how I might help get some perspective on the scope of this, if we need that :) EDIT: And still dead by the way: https://github.com/badges/shields#shields--- EDIT2: Ah nevermind... github caches... |
Hm. Seemed perhaps github won't cache https images: Would that be helpful for us? |
Or perhaps it's that the failed image doesn't send |
I tweeted to them to know whether we are rate-limited (if we are, we weren't before). From what I see, it is never a systematic request timeout, and it is only from shields' Heroku server instance. Also, that request timeout is set at 30 seconds. |
@patcon that was a long time ago. github now caches https images too. |
If the PNG format (which we only used HEAD with) is rate-limited, as seems to be the case considering issue #137, this should fix it. However, this is about experimentation, since I have received little communication from them on those issues.
It seems that this is less of an issue now. |
Yep, it's been working well for me for a while now. |
I'll note here that the Travis badges are broken for my first project to make use of this nifty service. They aren't just broken on Github's read-me display:
The last few test runs have been successful on both release (master) and development branches. |
@amcgregor Can you open a separate issue for this, the badges aren't "broken", they're reporting erroneous information which is a different problem than this issue was originally about and a bit more interesting actually. Thanks. :-) |
Not sure what's up, but here were some threads for anyone else coming across this:
gittip/www.gittip.com
SVG definitely broken: http://img.shields.io/travis/gittip/www.gittip.com/master.svgNothing seems to have changes recently for
Content-Disposition
header from travis:https://github.com/travis-ci/travis-api/blame/master/lib/travis/api/app/responders/image.rb#L10
(
https.request
headers aren't case-sensitive, are they?)https://github.com/badges/shields/blob/master/server.js#L104
Reponse looks fine from travis:
The text was updated successfully, but these errors were encountered: