-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code/syntax highlighting doesn't work #2695
Comments
Please see URL of affected workspace. Code not recognised and ports not being detected. https://ebcb2d05-9fde-43d7-9b60-bbd0bafc39fc.ws-eu03.gitpod.io/#/workspace/placro |
This workspace is also affected all the code is just black and white |
Mine on #2713 works now |
I have a similar issue.No syntax highlights on the code. https://dff35c61-31c4-42af-b5e6-f09cd884a8c0.ws-eu03.gitpod.io/#/workspace/table |
My workspace too is affected with this. |
Hi ! I've managed to fix this problem by turning off Kaspersky Security Cloud. |
I have encountered the same issue: https://c3bb1940-aa22-4467-b066-32c73fcccbf7.ws-eu03.gitpod.io/#/workspace/devxconf.org |
I just tried stopping and restarting the workspace and it fixed the problem for me. |
I have same problem :https://a37fd37e-2860-454b-8621-2b4eb591d8c8.ws-eu03.gitpod.io/#/workspace/TASKERS |
same here, see screen shot including errors on the console https://gitpod.io/#snapshot/d7417464-cf18-4aba-84fe-543715cc98e1 |
I often have this issue with pretty much any workspace. Sometimes it works, sometimes it does not. There's no consistency as to why. Often, all gitpod theme icons do not load either.
Still the issue persisted. However, I turned off Adblock Plus and Ghostery on Chrome, extensions for blocking ads and trackers, and the rate of the issue occurring has gone down quite a lot. |
There are timeouts on downloading extensions (quite high though like 5s per an extension). Maybe blockers (or some other software manipulating traffic on your machine) lead to hitting such timeouts. |
I have one computer running windows and one computer running linux sharing the same internet connection. |
Hi, I have the same problem here on all workspaces that I launched for the last 5 days. |
In addition to above. It does work on Android smartphone with Chrome for Android. It didn't work on windows 10 computer with Firefow or Chrome or Edge. Same Lastly when it it works I still get the above error message: "Access to XMLHttpRequest at 'https://open-vsx.org/vscode/gallery/extensionquery' from origin 'https://olive-cattle-s3uc7gc3.ws-eu03.gitpod.io' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource." |
Could it prohibit some network traffic like wasm files?
It is unrelated. It is misconfigured Open VSX registry, but we work it around but doing the request on the backend. |
@akosyakov I also got this error specific to Kaspersky:
To use Kaspersky with Gitpod, my current workaround: In Kaspersky 2020 > Settings > Networks settings > Traffic processing > Disable : "Inject script into web traffic to interact with web pages." |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I was able to reproduce this issue today with Edge running on Windows 11. Chrome works fine. |
Hey @code2k13, it's probably due to some extension or browser config of yours on Edge. You might find something interesting on your |
Disable or uninstall the "Color Identifiers" extension and reload the workspace. It worked for me. |
Describe the bug
Similar to closed issue #2444:
When the workspace is loaded, the code is displayed as plain white text, with no syntax highlights.
Restarting the workspace and logging out/in of Gitpod didn't help.
Steps to reproduce
Affected workspace: https://e2eb8b73-0e99-4f1b-9108-81386ff2ae9a.ws-eu03.gitpod.io/#/workspace/curl-command-line
Expected behavior
Code highlight works.
The text was updated successfully, but these errors were encountered: