Help - blank page after login : "nginx" on "mac osx" certified with "certbot" #2610
Replies: 2 comments 5 replies
-
Also tried
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't think this one is websockets. It seems to have failed to
download the main JavaScript bundle (workbench.web.api.js). Since this
fails it tries to load files individually but we only ship the bundle
with code-server and not individual files.
Are you able to open workbench.web.api.js directly in its own tab from
the network list? If so, the browser might then cache it and then
subsequent loads might work.
I'm not sure what causes this though. Maybe the network tab has some
information on why it failed? Or possibly the nginx logs themselves
might have something to say.
|
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
pwangjoo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm currently very new to server and stuff, but found
code-server
very fascinating.I'm trying several ways to get things work, and my explanation can be a bit weird, but please bear with me.
Some settings of mine:
I am currently running
code-server
on my Macbook.Installed
code-server
,nginx
,certbot
withbrew
. (not usingdocker
)I wanted to run
code-server
under subdomain, and it seemed to work fine until I got a blank white page after log-in.(It works fine when I access it through
http://localhost:8080/
locally on Macbook.)What I'm doing to start servers:
brew services start code-server
brew services start nginx
Before logging-in:
After logging-in:
I've found some "possibly" related discussions that this is websocket related issue when you try to access it using iPad (with remote server Ubuntu), but I am on Windows Chrome.
Some logs that might be helpful:
code-server
config file:nginx
.conf file:※ I don't think this matters, but I have
chmod 755
ed/etc/letsencrypt/live/*
due tonginx
permission error.What I have tried:
nginx
, and accessing withhttps://_______:8080/
nginx
but without subdomain, and accessing withhttps://_______/code/
nginx
but without certificates, and accessing withhttp://code._______.com/
What am I missing?? I'm totally lost...
Beta Was this translation helpful? Give feedback.
All reactions