Org avatar does not appear for private GHE.

       

       

          [JENKINS-68047] Org avatar does not appear for private GHE

          kumar gaurav created issue -

          It would be helpful if you could provide the image URL it tries to load the image from to ensure this is not a duplicate of an already tracked issue.

          Alexander Brandes added a comment - It would be helpful if you could provide the image URL it tries to load the image from to ensure this is not a duplicate of an already tracked issue.

          kumar gaurav added a comment -

          image url that its trying to download from: https://myghe/sessions/_auth_request_bounce?return_to=https%3A%2F%2Favatars.myghe%2Fu%2F765%3F%26s%3D32 (also in screenshot)

          This is what I see in network inspection.

           

          In HTML, I see:

          <img src="https://avatars.myghe/u/765?&s=32" alt="GitHub Organization" tooltip="GitHub Organization" class="icon-lg" title="GitHub Organization">

          kumar gaurav added a comment - image url that its trying to download from: https://myghe/sessions/_auth_request_bounce?return_to=https%3A%2F%2Favatars.myghe%2Fu%2F765%3F%26s%3D32  (also in screenshot) This is what I see in network inspection.   In HTML, I see: <img src="https://avatars.myghe/u/765?&s=32" alt="GitHub Organization" tooltip="GitHub Organization" class="icon-lg" title="GitHub Organization">

          Is the avatar link accessible if you copy/paste the URL into your browser? My organizations' icons are resolved properly, unless I launch them via --prefix, maybe you could provide additional information how you launch Jenkins or how you've set your organization folders up.

          Alexander Brandes added a comment - Is the avatar link accessible if you copy/paste the URL into your browser? My organizations' icons are resolved properly, unless I launch them via --prefix, maybe you could provide additional information how you launch Jenkins or how you've set your organization folders up.

          kumar gaurav added a comment -

          I can open `https://avatars.myghe/u/765?&s=32` in my browser but I can't open `https://myghe/sessions/_auth_request_bounce?return_to=https%3A%2F%2Favatars.myghe%2Fu%2F765%3F%26s%3D32` in my browser (get 404). Browser is trying the latter request and so failing.

          kumar gaurav added a comment - I can open ` https://avatars.myghe/u/765?&s=32 ` in my browser but I can't open ` https://myghe/sessions/_auth_request_bounce?return_to=https%3A%2F%2Favatars.myghe%2Fu%2F765%3F%26s%3D32 ` in my browser (get 404). Browser is trying the latter request and so failing.
          rross made changes -
          Attachment New: screenshot-1.png [ 57615 ]

          rross added a comment - - edited

          We are now seeing this same problem with GitLab Branch Source plugin after upgrade to Jenkins 2.341.


          I can confirm that all the image sizes do exist under: /var/lib/jenkins/plugins/gitlab-branch-source/images/ with the various size folders:

          • 16x16
          • 24x24
          • 32x32
          • 48x48
            However, attempting to access the referenced URL of `/gitlab-logo` gets a 404 error after upgrade.

          rross added a comment - - edited We are now seeing this same problem with GitLab Branch Source plugin after upgrade to Jenkins 2.341. I can confirm that all the image sizes do exist under: /var/lib/jenkins/plugins/gitlab-branch-source/images/ with the various size folders: 16x16 24x24 32x32 48x48 However, attempting to access the referenced URL of `/gitlab-logo` gets a 404 error after upgrade.
          rross made changes -
          Attachment New: image-2022-04-02-11-20-40-505.png [ 57616 ]

            Unassigned Unassigned
            gaurav517 kumar gaurav
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: