safari from ipad pro does not working...
i see just blank page.
Is there a bug report on webkit's bug tracker?
Yes and it's been floating around for years.
I’m also using an nginx proxy and seeing the black screen. When I remove the proxy I am able to use the app on safari or chrome. With the proxy I see black screen on Safari as well as Chrome. I’m using this nginx file:
server {
listen 443 ssl;
server_name mydomain.com
ssl on;
ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
#prevent 502 bad gateway
#large_client_header_buffers 8 32;
location / {
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;
# prevents 502 bad gateway error
proxy_buffers 8 32k;
proxy_buffer_size 64k;
# redirect all HTTP traffic to localhost:8443;
proxy_pass http://localhost:8443;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header X-NginX-Proxy true;
# enables WS support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 999999999;
proxy_buffering on;
}
}
For the record the authentication via coder also results in a black screen for me on Chrome and Safari
@okwme any console errors or network errors under that tab?
Wish i could check for console errors but i'm on an ipad. I've got an app called web Tools but the console it has only prints nonsense:
%x INFO %x%s%c%s
Chrome on iOS will behave the same as Safari iOS. HTTP Basic Auth definitely does not work. It works perfectly without it for me. I'm using the latest code-server release
Thanks for the help @wei sounds like my only option is to use the auth supplied by the app. Luckily when I set my certificates manually I no longer see the black screen.
It would be nice to handle my own authentication but I could also live with this option. I'm a little confused how to supply my own password as an option though.. I've created an .env file with
PASSWORD=mypassword and run source .env before running the startup command but it does not honor the env variable.
The env needs to be specified in the docker run command using -e option so code-server running inside the container can access it.
I'm not using docker but i found the docs that reference it as export PASSWORD="mypassword", thanks for your help!
I fixed it by using Let's Encrypt instead of a self signed certificate.
Chrome on iOS will behave the same as Safari iOS. HTTP Basic Auth definitely does not work. It works perfectly without it for me. I'm using the latest code-server release
Same for me.
@NGarate this is beyond the scope of this project. https://bugs.webkit.org/show_bug.cgi?id=80362 I doubt Apple will do anything about it.
@kylecarbs Just close the issue. I doubt it too, nine years and nothing yet.
I've managed to use in my iPad Pro with iOS 13 without HTTPS by using sudo ./code-server -N -allow-http.
Not recommended, but if you are in a hurry or just trying it out, it is a way
With iOS13 all is working fine now on IPad Pro. Using under nginx+ Let's encypt, with reverse proxy to localhost http 'code-server' with password authentification.
On iPad OS 13 too, just want to clarify: Yes - built-in password authentication works, http basic authentication does not work.
i can get in to the editor but the smart folio / keyboard for the iPad does not work. The arrow keys don’t work, some of the keys like quotes don’t put in the right characters, etc.
Smart keyboard quotes is unrelated to code server. You can fix it by turning off smart punctuations on your iPad.
I'm on iPadOS v13.1.2. It doesn't work for me either. I see a blank grey page, no UI. The same setup works as a charm on the desktop macOS v10.14.6 Safari v13.0.2
@satyrius are you using a self signed cert? If so, I remember that being the cause of the blank page problem.
Also, this issue seems to be from pretty early in the v1 days. As far as I can tell, the two major issues discussed here are now fixed.
The blank page problem is caused by self signed certificates. You can get around this by using LetsEncrypt to generate a trusted certificate. The problem with arrow keys not working were fixed in iPadOS 13.
If I missed anything let me know.