question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: Unable to load resource on iPad Safari

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Safari
  • Local OS: iPadOS
  • Remote OS: macOS
  • Remote Architecture: arm64
  • code-server --version: 4.6.0

Steps to Reproduce

  1. open code-server
  2. login

Expected

The editor should load.

Actual

White blank page.

Logs

...
File not found: /opt/homebrew/Cellar/code-server/4.6.0/libexec/lib/vscode/out/vs/base/browser/browser.js
File not found: /opt/homebrew/Cellar/code-server/4.6.0/libexec/lib/vscode/out/vs/base/common/cancellation.js
File not found: /opt/homebrew/Cellar/code-server/4.6.0/libexec/lib/vscode/out/vs/base/common/marshalling.js
File not found: /opt/homebrew/Cellar/code-server/4.6.0/libexec/lib/vscode/out/vs/base/common/event.js
File not found: /opt/homebrew/Cellar/code-server/4.6.0/libexec/lib/vscode/out/vs/base/common/lifecycle.js
File not found: /opt/homebrew/Cellar/code-server/4.6.0/libexec/lib/vscode/out/vs/base/parts/request/browser/request.js
File not found: /opt/homebrew/Cellar/code-server/4.6.0/libexec/lib/vscode/out/vs/base/common/resources.js
File not found: /opt/homebrew/Cellar/code-server/4.6.0/libexec/lib/vscode/out/vs/base/common/uri.js
File not found: /opt/homebrew/Cellar/code-server/4.6.0/libexec/lib/vscode/out/vs/platform/product/common/product.js
File not found: /opt/homebrew/Cellar/code-server/4.6.0/libexec/lib/vscode/out/vs/base/common/network.js
File not found: /opt/homebrew/Cellar/code-server/4.6.0/libexec/lib/vscode/out/vs/platform/window/common/window.js
File not found: /opt/homebrew/Cellar/code-server/4.6.0/libexec/lib/vscode/out/vs/base/common/strings.js
File not found: /opt/homebrew/Cellar/code-server/4.6.0/libexec/lib/vscode/out/vs/base/common/path.js

Screenshot/Video

스크린샷 2022-09-03 오전 3 01 36 스크린샷 2022-09-03 오전 3 01 48

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

  • On macOS, everything works fine no matter which browser I use.
  • I tried reinstalling code-server several times.
  • If I refresh a lot of times, strangely it works sometimes. But most of the time it doesn’t. I think the odds are lower on PWA mode.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jsjoeiocommented, Oct 19, 2022

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

1reaction
shp7724commented, Oct 19, 2022

Temporarily disabling and reenabling Prevent cross-site tracking option in settings, everything started to work as expected. 🤯😮

Read more comments on GitHub >

github_iconTop Results From Across the Web

Some sites won't load in Safari, compression issue I think
Safari/Preferences/Advanced - enable the Develop menu, then go there and Empty Caches. Quit/reopen Safari and test. Then try Safari/History/Show ...
Read more >
Fixed: iOS 16 Safari Not Loading Pages on iPhone/iPad
In this post, we're going to cover all the tips you can try to fix iOS 16 Safari not loading pages on iPhone...
Read more >
Safari AJAX bug - Failed to load resource
I suspect Safari recognizes the second request as a mistaken duplicate of the first.
Read more >
FAILED TO LOAD RESOURCE issue - Happens on IPhone ...
This happens on IOS safari in a sporadic manner. This doesn't happen on desktop or ipad. Could this be a worker thread issue...
Read more >
How to fix 'a problem repeatedly occurred' in Safari
The error occurs when Safari is trying to load a webpage, but something is preventing it. That something could be at the server...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found