Skip to content

GitHub Image Proxy breaking Nodei.co images in markdown #9

Closed

Description

@Glavin001

It appears that after GitHub's release for proxying user images my new projects and Nodei.co badges no longer are working.

Example:

Nodei.co (working):

https://nodei.co/#feathers-mongoose-service

Project README (not working):

https://github.com/Glavin001/feathers-mongoose-service

Markdown (used in README):

NPM

Link to Image, as used in Markdown (working)

https://nodei.co/npm/feathers-mongoose-service.png?downloads=true&stars=true


This may because GitHub's new proxy is not caching properly? They stated that this change would provide fewer broken images in the future although it appears to be causing more.

Is anyone else having this problem? Is there a workaround solution? This is likely a GitHub issue that needs to be fixed, but I wanted to get some feedback here before I contact GitHub support.


I really love using Nodei.co! Thank you for such a simple, yet awesome project.

Activity

  1. rvagg commented on Jan 29, 2014

    @rvagg
    Owner

    I honestly don't know what the status of this is, a real mess. @feross was investigating and I think the current conclusion is that some repos will have broken images which have been cached and will be broken until removed from whatever cache they are stuck in. Other repos seem to pass through to nodei.co without touching fastly.

    Also see twitter rants where @holman has been pulled in, he seems to be the lightening-rod for this since it was his post that introduced the change and perhaps he's responsible for this new functionality.

  2. rvagg commented on Jan 29, 2014

    @rvagg
    Owner

    For the record, we've had cache-control: no-cache on nodei.co badges from the beginning.

  3. holman commented on Jan 29, 2014

    @holman

    Do any of you have a thread going with support on this?

  4. rvagg commented on Jan 29, 2014

    @rvagg
    Owner

    @holman not I, twitter is the venting medium of choice on this one

  5. Glavin001 commented on Jan 29, 2014

    @Glavin001
    Author

    Thank you for your prompt reply, @rvagg. While I am glad I am not the only one, I really hope this can be resolved soon for everyone affected.
    And thanks for sharing the link, @feross.

    @holman, is there anything we can do to help quicken GitHub's debugging process? Or is there an already known bug that is in progress?

  6. holman commented on Jan 29, 2014

    @holman

    @holman, is there anything we can do to help quicken GitHub's debugging process?

    Yup; shoot an email to [email protected] with some of these details.

  7. Glavin001 commented on Jan 29, 2014

    @Glavin001
    Author

    Will do now.

  8. feross commented on Jan 29, 2014

    @feross

    @substack sent an email to support yesterday but I don't know the
    current status
    of that.

    On Wednesday, January 29, 2014, Glavin Wiechert [email protected]
    wrote:

    Will do now.

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-33643549
    .

    Feross
    ✩ blog http://feross.org/ | ✎ studynotes http://www.apstudynotes.org/ |☮
    webtorrent http://webtorrent.io/

  9. mcollina commented on Feb 3, 2014

    @mcollina

    Any update on this? Mosca has its badges broken.

  10. rvagg commented on Feb 3, 2014

    @rvagg
    Owner

    @mcollina can you try appending some ?garbage to the end of the urls and see if that helps?

  11. mcollina commented on Feb 3, 2014

    @mcollina

    I tried in the 'edit preview' and it does not help at all.

  12. DamonOehlman commented on Feb 3, 2014

    @DamonOehlman

    Did @substack get a response from github at all, like @mcollina I've got broken badges all over the place :(

    I'm assuming projects like hapi still have a valid badge because they haven't pushed an update to the README since the github changes?

  13. subfuzion commented on Feb 4, 2014

    @subfuzion

    I tried adding to force it to requery by adding ?version=2 last week and it
    didn't do any good

  14. rvagg commented on Feb 4, 2014

    @rvagg
    Owner

    I believe that this may be rectified now; I set a more explicit certificate chain and switched to the same cert provider as testling uses cause their badges are working.

  15. subfuzion commented on Feb 4, 2014

    @subfuzion

    Awesome -- actually, I didn't have to do anything -- you apparently
    resolved the issue with either the cert chain or by switching cert
    providers. Thanks!

  16. mcollina commented on Feb 4, 2014

    @mcollina

    Awesome! It works perfectly now!

  17. DamonOehlman commented on Feb 4, 2014

    @DamonOehlman

    Yeah, same for me here - thanks @rvagg for implementing a workaround :)

  18. Glavin001 commented on Feb 4, 2014

    @Glavin001
    Author

    👍 All fixed here, too! Thank you, @rvagg!

    I see this as being closed. Please reopen if the fix by @rvagg did not work for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions