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
Avatar images are broken on GHE Server running in private mode #770
Comments
|
Yep, sorry about that -- we're aware of this issue and trying to find a resolution with GitHub support. I believe the root cause is actually the lack of |
|
I submitted a discription of this issue to GHE. Hopefully we'll hear back soon. |
|
Any news regarding this issue (we are using 2.22 {latest} GitHub version) |
|
Doug is out this week but I don't believe we ever heard back from GitHub. On the other hand, we haven't heard from any other customers about this issue either, so I'm guessing it's either due to some oddity in your configuration or perhaps a recent regression. I'll put in some time this week to repro and find a workaround, if possible. |
|
I spent a few hours working the issue but failed to make progress. Basically, at some point GitHub Enterprise started to set session cookies to I was hoping I could work around the issue by proxying the avatars through Reviewable's server but I can't find a way for the server to fetch avatars at all! There's no separate API for fetching avatar image data, and the usual API authorization header doesn't work on avatar image URLs. GitHub's session cookies are of course set as We'll push GitHub support for answers, but at this point the only workaround I can think of is to turn off private mode in GHE. The issue seems pretty fundamental -- do you have other GitHub apps installed that are successfully displaying avatars? |
|
My initial submission seems to be lost in the ether. I've submitted again with through the same channel ( https://enterprise.githubsupport.com/hc/en-us/requests/new ) and also again through one that will hopefully work better ( https://support.github.com/ticket/personal/0/867191 ). |
|
Here's the response from GitHub:
Looks like all you can do is put pressure on your GitHub Enterprise rep to get this issue fixed from their side. |
|
I'm running into the same issue. Any updates on this? |
|
The only thing that solved the problem for me is having both github enterprise and reviewable on same parent domain.For example reviewable.domain.congithub.domain.com In this case github is not causing the CORS problem.If you can get them on same domain, for any reason, I don't see how this issue can be solved.On 8 Mar 2021 9:42, Hasani Rogers <notifications@github.com> wrote:
I'm running into the same issue. Any updates on this?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
It seems likely that this is the same GHE issue as https://issues.jenkins.io/browse/JENKINS-61506. We've been having trouble with GHE avatars loading as Jenkins folder icons for a long time now, in the console there's a CORB error from a redirect to the GHE login page. |
|
@pkaminski Were you able to resolve this? Any official guidance from GitHub?
|
|
I never got this completely straightened out, and received no official guidance from GitHub beyond the default "known limitation" blurb above. I'm pretty sure that disabling private mode will help, or at least everyone who has complained about this had private mode enabled. I also believe that there's some workaround to do with domains since there are customers running in private mode who don't encounter the issue, but I don't have enough data points to discern a definite pattern. |
|
Another customer reports that having GHE and Reviewable on the same domain resolves the issue in Chrome, but not in Safari, FWIW. |
|
I don't use this software, but I came across this thread while trying to debug the same issue in a different project. For future users of search engines who find this thread, here's something I've noticed.
|
|
We implemented a fallback mode with procedurally generated avatars when we detect that avatars aren't loading. It doesn't look like GitHub is in any hurry to fix the underlying problem so this is likely as good a fix as we'll get in the foreseeable future. |
Pictures that needs to be retrieved from Github instance (both reviewable and github are self-hosted in this case) are blocked due to CORS.
F12 (chrome - console error)
Cross-Origin Read Blocking (CORB) blocked cross-origin response https://github.xxxxxxxx.com/login?return_to=https%3A%2F%2Fgithub.xmcyber.com%2Favatars%2Fu%2F75%3Fs%3D60%26 with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
The text was updated successfully, but these errors were encountered: