-
I followed the installation instructions from here: I was able to see the login page on iPad, and once I put in password and logged in, the page is blank and not loading. I tried accessing https://pi.local from my Mac and it works fine, I can login and see the VSCODE. Is there something that I missed? I also read this, but can someone clarify on "exposing" code-server to Edit: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Exposing on 0.0.0.0 means to do something like:
```
code-server --host 0.0.0.0
```
This makes code-server listen to requests that come from outside the
machine.
But since you're using Caddy that won't be necessary since Caddy handles
the external requests.
If you are trying to access `https://pi.local` that might be why it's
not working. iPads are rather strict about certificates (at least when
it comes to websockets, which is why you can see the login page but not
VS Code) and you need to have a real domain with a certificate signed by
a certificate authority.
But we have some docs on getting self-signed certificates working if
needed: https://github.com/cdr/code-server/blob/v3.8.0/doc/guide.md#self-signed-certificate
|
Beta Was this translation helpful? Give feedback.
-
Now that @code-asher has given hints, I tried a little more and finally was able to get Here’s the steps:
Hope this helps someone in the future. |
Beta Was this translation helpful? Give feedback.
Now that @code-asher has given hints, I tried a little more and finally was able to get
code-server
on iPad working.Here’s the steps:
.crt
path ofcode-server
on the serversudo systemctl status code-server@$USER
Hope this helps someone in the future.