Skip to content
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

Zero install not working for me #9

Closed
divs1210 opened this issue Aug 17, 2021 · 9 comments
Closed

Zero install not working for me #9

divs1210 opened this issue Aug 17, 2021 · 9 comments

Comments

@divs1210
Copy link

This is what I'm seeing

Screenshot 2021-08-17 at 1 52 26 PM

These are the errors in the web console:

Firefox can’t establish a connection to the server at ws://localhost:63100/localapp.LocalApp/TunnelStatus. reconnecting-websocket-mjs.js:517:18

Firefox can’t establish a connection to the server at ws://localhost:63100/localapp.LocalApp/TunnelStatus. reconnecting-websocket-mjs.js:517:18

Uncaught (in promise) NoRef (UserDataSyncError) syncResource:unknown operationId:b6fcbf29-095c-4dec-b273-b40f5fd2cf6f: Server did not return the ref
    o userDataSync.ts:250
    s userDataSync.ts:258
    read userDataSyncStoreService.ts:295
    extensionsPreviewInitializerPromise userDataInit.ts:226
    getExtensionsPreviewInitializer userDataInit.ts:227
    initializeInstalledExtensionsPromise userDataInit.ts:195
    initializeInstalledExtensions userDataInit.ts:197
    Ha extensionService.ts:79
    promise callback*Ha extensionService.ts:78
    _createInstance instantiationService.ts:110
    _createServiceInstance instantiationService.ts:230
    _createServiceInstanceWithOwner instantiationService.ts:219
    _createAndCacheServiceInstance instantiationService.ts:208
    _safeCreateAndCacheServiceInstance instantiationService.ts:151
    _getOrCreateServiceInstance instantiationService.ts:135
    get instantiationService.ts:54
    initLayout layout.ts:255
    startup workbench.ts:141
    invokeFunction instantiationService.ts:61
    startup workbench.ts:134
    open web.main.ts:97
    se web.main.ts:389
    g workbench.web.api.ts:544
    V workbench.ts:616
    me workbench.ts:228
    start workbench.ts:774
    c ide-frontend-service-impl.js:31
    set ide-frontend-service-impl.js:79
    <anonymous> workbench.ts:774
    _invokeFactory loader.js:1136
    complete loader.js:1146
    _onModuleComplete loader.js:1772
    _onModuleComplete loader.js:1784
    _resolve loader.js:1732
    defineModule loader.js:1375
    o loader.js:1660
    v loader.js:2167
    _invokeFactory loader.js:1136
    complete loader.js:1146
    _onModuleComplete loader.js:1772
    _onModuleComplete loader.js:1784
    _resolve loader.js:1732
    defineModule loader.js:1375
    p loader.js:1822
    <anonymous> workbench.nls.js:7
userDataSync.ts:250:2

Firefox can’t establish a connection to the server at ws://localhost:63100/localapp.LocalApp/TunnelStatus. reconnecting-websocket-mjs.js:517:18

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://open-vsx.org/vscode/gallery/extensionquery. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://open-vsx.org/vscode/gallery/extensionquery. (Reason: CORS request did not succeed).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://open-vsx.org/vscode/gallery/extensionquery. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://open-vsx.org/vscode/gallery/extensionquery. (Reason: CORS request did not succeed).

Firefox can’t establish a connection to the server at ws://localhost:63100/localapp.LocalApp/TunnelStatus. reconnecting-websocket-mjs.js:517:18

Firefox can’t establish a connection to the server at ws://localhost:63100/localapp.LocalApp/TunnelStatus. reconnecting-websocket-mjs.js:517:18

could not connect to local app 5 times, giving up, use 'Gitpod: Connect to Local App' command to retry workbench.ts:459:13
@PEZ
Copy link
Owner

PEZ commented Aug 17, 2021

Thanks for reporting. Looks like a CORS problem with the open-vsx repository prevents Calva from being installed. Can you check in the Extensions pane if Calva is even there?

@PEZ
Copy link
Owner

PEZ commented Aug 17, 2021

I find this closed issue on Gitpod as my only clue right now: gitpod-io/gitpod#4460

I'm also asking for help in their Discord, let's hope we can find out how to fix this!

@pawlean
Copy link

pawlean commented Aug 17, 2021

Let me look into this and ask internally @PEZ!

@PEZ
Copy link
Owner

PEZ commented Aug 17, 2021

Awesome, @pawlean!

@akosyakov
Copy link

@divs1210 Do you use any firewalls or adblocking software? Some of them remove etags and it breaks browser caching, see: gitpod-io/gitpod#4391 (comment)

@akosyakov
Copy link

CORS issues are irrelevant, if VS Code cannot pull extension through the browser, it works around CORS on the backend.

@divs1210
Copy link
Author

Actually yes, I do use uBlock Origin and ClearURLS.

I will disable them and try again and let you folks know.

@divs1210
Copy link
Author

@akosyakov ClearURLS was causing the issues.

On disabling it, the editor loads just fine - I'm seeing code highlighting and can start a REPL.

@PEZ
Copy link
Owner

PEZ commented Aug 18, 2021

Awesome news! I will update the instructions/readme with this info.

@PEZ PEZ changed the title Zero install not working for me on Firefox on Mac Zero install not working for me Aug 18, 2021
@PEZ PEZ closed this as completed in a8ce2b3 Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants