code-server icon indicating copy to clipboard operation
code-server copied to clipboard

safari from ipad pro does not working...

Open kd0g opened this issue 7 years ago • 86 comments

i see just blank page.

kd0g avatar Mar 07 '19 15:03 kd0g

@coadler thanks for the quick reply. Just for a reference, I installed it from a Digital Ocean Marketplace https://cloud.digitalocean.com/marketplace/5d3f3a29bdfa55613aea566e?i=15a27f. Yes. it has a self-signed cert. I would be great to have the template updated with Let's Encrypt or instructions how to make it manually.

satyrius avatar Oct 21 '19 17:10 satyrius

cc @sr229

coadler avatar Oct 21 '19 19:10 coadler

Do not use basicauth. It's my config file ,using caddy server. In iPad 10.5,iOS 13,Safari. code.example.com{ proxy / 127.0.0.1:8081 { transparent websocket } } And systemd service config [Unit] Description=Code Server Wants=network-online.target After=network-online.target

[Service] Environment=PASSWORD="password" Type=exec User=http ExecStart=/usr/local/bin/code-server --port 8081

[Install] WantedBy=multi-user.target

jianfei96 avatar Jan 07 '20 13:01 jianfei96

There’s a workaround if you are using nginx. The problem for iOS (not iPad Pro version) is the browser won’t set Authentication header for web sockets connection. If you configure nginx to use cookie based authentication like SSO. The one I tried is nginx-sso https://github.com/Luzifer/nginx-sso

LindenLiu avatar Jan 13 '20 05:01 LindenLiu

I have this problem also. Does anyone know the solution or I just need to use it without SSL in my local VM?

aykutkaskaya avatar May 03 '21 16:05 aykutkaskaya

@aykutkaskaya Please open a bug report if you're having issues and we'll be happy to take a look!

jsjoeio avatar May 03 '21 17:05 jsjoeio