Closed shp7724 closed 4 months ago
This is very strange 🤔 How are you doing this exactly?
Yes, I installed via homebrew and enabled HTTPS using nginx
and certbot
.
I managed to (temporalily) solve this issue by going through the whole installation process twice, which includes reinstalling everything(i.e. code-server
, nginx
, certbot
) and reissuing ssl certificates. Reinstalling only one of them didn't solve the issue.
As far as I remember, I started seeing this issue when my ssl certificate got expired and reissued a new one. I don't see how it can be associated with this issue, though. :(
I guess what would be helpful for me is to know how to reproduce this. Would these steps suffice?
ngrok
to expose code-server@jsjoeio It's been a quite a while, but I'm still suffering from this issue. The steps you suggested doesn't seem to be enough to reproduce it.
One thing I noticed though, is that all the failed requests are missing a cookie named code-server-session
.
For instance, the following request succeeded with the cookie code-server-session
:
whereas this request didn't (note the entire cookie is missing here):
If I copy the request as cURL and manually attach the same code-server-session
cookie, it does seem to work.
I suspect this might have something to do with the internal session management mechanism of iPadOS safari.
Temporarily disabling and reenabling Prevent cross-site tracking
option in settings, everything started to work as expected. 🤯😮
Nice find!!! Can we close this now?
@jsjoeio
It turned out to be a coincidence, I'm afraid. 😔
Darn it :( Okay well sadly, I don't have bandwidth to dive in now but feel free to leave comments here and I can be your async rubber duck
I have seen this happen on a slow network where the bundle takes a while to load. It times out and tries to load the sources individually, which do not exist of course.
Closing but see https://github.com/coder/code-server/issues/2407
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.6.0Steps to Reproduce
Expected
The editor should load.
Actual
White blank page.
Logs
Screenshot/Video
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes