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

Open Folder brings up file dialog but open button does nothing. #135656

Closed
djsegfault opened this issue Oct 22, 2021 · 19 comments
Closed

Open Folder brings up file dialog but open button does nothing. #135656

djsegfault opened this issue Oct 22, 2021 · 19 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@djsegfault
Copy link

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
    Version: 1.61.2
    Commit: 6cba118
    Date: 2021-10-19T14:55:21.000Z
    Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
    NOTE: I have Ghostery installed but I whitelisted the domain. I have no other plugins that could affect his.
  • OS Version: Kubuntu 20.04.2

Steps to Reproduce:

  1. Go to https://vscode.dev/
  2. Click on either Open Folder, or choose File / Add Folder To workspace
  3. When the file dialog pops up, either go into a folder with files, or select a folder with files (I tried both)
  4. Click on the Open button
  5. Observe that the Open button background changes from off white to blue. but the file dialog does not close and the folder is not open. The button remains blue and the dialog box remains open no matter what I do at this point.
  6. Choose File / Open File
  7. When the file dialog pops up, select a text file in the folder tried previously
  8. Click on the Open button
  9. Observe that the file is opened and the contents presented, proving that this is not a permissions problem or a problem with the browser not supporting the API.
@JacksonKearl
Copy link
Contributor

It is known that Firefox does not support local file access, however when I try this I get a notification saying as much:
image

Did you see this notification at all or do you possibly have something installed which would hide it?

@JacksonKearl
Copy link
Contributor

\gifPlease

@JacksonKearl JacksonKearl added the info-needed Issue requires more information from poster label Oct 22, 2021
@djsegfault
Copy link
Author

Thanks for your quick response. I tried to be as descriptive as possible but it's probably not enough. I will provide a screen recording tonight.

I realize now that it's not clear from the user agent above, but I am using Chrome under Linux. I did RTFM and saw it's not supported under Firefox.

@djsegfault
Copy link
Author

Here is the video showing the version, trying to open folder, and adding folder to workspace.

vscode_support_open_folder_djsegfault_211023_recording

@bpasero
Copy link
Member

bpasero commented Oct 23, 2021

Can you open the developer tools console when this happens in your browser?

@djsegfault
Copy link
Author

vscode_support_open_folder_djsegfault_211024_recording_w_console

@djsegfault
Copy link
Author

Console output:

DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/6cba118ac49a1b88332f312a8f67186f7f3c1643/core/vs/workbench/workbench.web.api.nls.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
main.js:1 [main] DONE routing undefined
main.js:1 [main] creating WORKBENCH with these options {configurationDefaults: {…}, additionalBuiltinExtensions: Array(3), enabledExtensions: Array(1), assumeGalleryExtensionsAreAddressable: true, urlCallbackProvider: n, …}
dom.ts:46 [Violation] Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
c @ dom.ts:46
n @ dom.ts:67
registerTabsContainerListeners @ tabsTitleControl.ts:348
create @ tabsTitleControl.ts:178
F @ titleControl.ts:130
Zt @ tabsTitleControl.ts:147
_createInstance @ instantiationService.ts:110
createInstance @ instantiationService.ts:76
createTitleAreaControl @ editorGroupView.ts:474
Ni @ editorGroupView.ts:205
_createInstance @ instantiationService.ts:110
createInstance @ instantiationService.ts:76
createNew @ editorGroupView.ts:63
doCreateGroupView @ editorPart.ts:541
doCreateGridControl @ editorPart.ts:980
createContentArea @ editorPart.ts:858
create @ part.ts:76
(anonymous) @ workbench.ts:339
renderWorkbench @ workbench.ts:336
(anonymous) @ workbench.ts:154
invokeFunction @ instantiationService.ts:61
startup @ workbench.ts:134
open @ web.main.ts:99
DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/6cba118ac49a1b88332f312a8f67186f7f3c1643/core/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.linux.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://vscodeweb.azureedge.net/stable/6cba118ac49a1b88332f312a8f67186f7f3c1643/node_modules/@microsoft/applicationinsights-web/dist/applicationinsights-web.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://vscodeweb.azureedge.net/stable/6cba118ac49a1b88332f312a8f67186f7f3c1643/node_modules/tas-client-umd/lib/tas-client-umd.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
abstractExtensionService.ts:920 [digitalbrainstem.javascript-ejs-support]: Cannot register configuration defaults for 'files.associations'. Only defaults for language specific settings are supported.
_logMessageInConsole @ abstractExtensionService.ts:920
_handleExtensionPointMessage @ abstractExtensionService.ts:871
Q @ abstractExtensionService.ts:845
_msg @ extensionsRegistry.ts:35
warn @ extensionsRegistry.ts:48
(anonymous) @ configurationExtensionPoint.ts:133
(anonymous) @ configurationExtensionPoint.ts:129
_handle @ extensionsRegistry.ts:140
acceptUsers @ extensionsRegistry.ts:131
_handleExtensionPoint @ abstractExtensionService.ts:905
_doHandleExtensionPoints @ abstractExtensionService.ts:851
_scanAndHandleExtensions @ extensionService.ts:222
async function (async)
_scanAndHandleExtensions @ extensionService.ts:189
_initialize @ abstractExtensionService.ts:518
async function (async)
_initialize @ abstractExtensionService.ts:516
(anonymous) @ extensionService.ts:78
async function (async)
(anonymous) @ extensionService.ts:77
Promise.then (async)
xl @ extensionService.ts:76
_createInstance @ instantiationService.ts:110
_createServiceInstance @ instantiationService.ts:230
_createServiceInstanceWithOwner @ instantiationService.ts:219
_createAndCacheServiceInstance @ instantiationService.ts:208
_safeCreateAndCacheServiceInstance @ instantiationService.ts:151
_getOrCreateServiceInstance @ instantiationService.ts:135
_createInstance @ instantiationService.ts:88
createInstance @ instantiationService.ts:76
acquireInstantiationService @ configurationService.ts:449
(anonymous) @ workbench.ts:206
invokeFunction @ instantiationService.ts:61
initServices @ workbench.ts:200
startup @ workbench.ts:132
open @ web.main.ts:99
async function (async)
open @ web.main.ts:90
pe @ web.main.ts:401
h @ workbench.web.api.ts:657
(anonymous) @ main.js:1
s @ main.js:1
Promise.then (async)
c @ main.js:1
(anonymous) @ main.js:1
c @ main.js:1
t.main @ main.js:1
(anonymous) @ (index):1
r @ (index):1
Promise.then (async)
c @ (index):1
r @ (index):1
Promise.then (async)
c @ (index):1
r @ (index):1
Promise.then (async)
c @ (index):1
r @ (index):1
Promise.then (async)
c @ (index):1
r @ (index):1
Promise.then (async)
c @ (index):1
r @ (index):1
Promise.then (async)
c @ (index):1
(anonymous) @ (index):1
i @ (index):1
(anonymous) @ (index):1
(anonymous) @ (index):1
484 @ (index):1
n @ (index):1
(anonymous) @ (index):1
(anonymous) @ (index):1
abstractExtensionService.ts:920 [digitalbrainstem.javascript-ejs-support]: Cannot register configuration defaults for 'emmet.includeLanguages'. Only defaults for language specific settings are supported.
_logMessageInConsole @ abstractExtensionService.ts:920
_handleExtensionPointMessage @ abstractExtensionService.ts:871
Q @ abstractExtensionService.ts:845
_msg @ extensionsRegistry.ts:35
warn @ extensionsRegistry.ts:48
(anonymous) @ configurationExtensionPoint.ts:133
(anonymous) @ configurationExtensionPoint.ts:129
_handle @ extensionsRegistry.ts:140
acceptUsers @ extensionsRegistry.ts:131
_handleExtensionPoint @ abstractExtensionService.ts:905
_doHandleExtensionPoints @ abstractExtensionService.ts:851
_scanAndHandleExtensions @ extensionService.ts:222
async function (async)
_scanAndHandleExtensions @ extensionService.ts:189
_initialize @ abstractExtensionService.ts:518
async function (async)
_initialize @ abstractExtensionService.ts:516
(anonymous) @ extensionService.ts:78
async function (async)
(anonymous) @ extensionService.ts:77
Promise.then (async)
xl @ extensionService.ts:76
_createInstance @ instantiationService.ts:110
_createServiceInstance @ instantiationService.ts:230
_createServiceInstanceWithOwner @ instantiationService.ts:219
createAndCacheServiceInstance @ instantiationService.ts:208
safeCreateAndCacheServiceInstance @ instantiationService.ts:151
getOrCreateServiceInstance @ instantiationService.ts:135
createInstance @ instantiationService.ts:88
createInstance @ instantiationService.ts:76
acquireInstantiationService @ configurationService.ts:449
(anonymous) @ workbench.ts:206
invokeFunction @ instantiationService.ts:61
initServices @ workbench.ts:200
startup @ workbench.ts:132
open @ web.main.ts:99
async function (async)
open @ web.main.ts:90
pe @ web.main.ts:401
h @ workbench.web.api.ts:657
(anonymous) @ main.js:1
s @ main.js:1
Promise.then (async)
c @ main.js:1
(anonymous) @ main.js:1
c @ main.js:1
t.main @ main.js:1
(anonymous) @ (index):1
r @ (index):1
Promise.then (async)
c @ (index):1
r @ (index):1
Promise.then (async)
c @ (index):1
r @ (index):1
Promise.then (async)
c @ (index):1
r @ (index):1
Promise.then (async)
c @ (index):1
r @ (index):1
Promise.then (async)
c @ (index):1
r @ (index):1
Promise.then (async)
c @ (index):1
(anonymous) @ (index):1
i @ (index):1
(anonymous) @ (index):1
(anonymous) @ (index):1
484 @ (index):1
n @ (index):1
(anonymous) @ (index):1
(anonymous) @ (index):1
DevTools failed to load source map: Could not load content for https://vscodeweb.azureedge.net/stable/6cba118ac49a1b88332f312a8f67186f7f3c1643/node_modules/vscode-textmate/release/main.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/microsoft-authentication/dist/browser/extension.js.map: Fetch through target failed: Target not supported; Fallback: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://johnpapa.vscode-unpkg.net/johnpapa/vscode-peacock/3.10.1/extension/dist/extension-web.js.map: Fetch through target failed: Target not supported; Fallback: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
extension.js:8 Refused to set unsafe header "user-agent"
eval @ extension.js:8
o.forEach @ extension.js:8
eval @ extension.js:8
le @ extension.js:8
jf @ extension.js:1077
_ @ extension.js:1077
cg @ extension.js:1077
eval @ extension.js:1077
eval @ extension.js:3
Promise.then (async)
G @ extension.js:3
Au.Object.assign.endpoint @ extension.js:1077
setCurrentUser @ extension.js:1094
createHub @ extension.js:1094
initialize @ extension.js:1094
async function (async)
initialize @ extension.js:1094
L
@ extension.js:1186
async function (async)
L
@ extension.js:1186
O
@ extension.js:1186
async function (async)
O
@ extension.js:1186
_callActivateOptional @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
_callActivate @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
eval @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
Promise.then (async)
_doActivateExtension @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
_activateExtension @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
async function (async)
_activateExtension @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
actualActivateExtension @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
_activateExtension @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:75
eval @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:75
_activateExtensions @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:75
activateByEvent @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:75
_activateByEvent @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
_handleEagerExtensions @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
eval @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
Promise.then (async)
_startExtensionHost @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
initialize @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
async function (async)
initialize @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
_ @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:80
eval @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:83
Promise.then (async)
_ @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:83
(anonymous) @ workerMain.ts:88
setTimeout (async)
(anonymous) @ workerMain.ts:87
a._safeInvokeFunction @ loader.js:1131
a._invokeFactory @ loader.js:1150
a.complete @ loader.js:1163
a._onModuleComplete @ loader.js:1789
a._onModuleComplete @ loader.js:1801
a._onModuleComplete @ loader.js:1801
a._onModuleComplete @ loader.js:1801
a._onModuleComplete @ loader.js:1801
a._onModuleComplete @ loader.js:1801
a._onModuleComplete @ loader.js:1801
a._resolve @ loader.js:1749
a.defineModule @ loader.js:1392
w @ loader.js:1677
(anonymous) @ nls.build.js:126
a._safeInvokeFunction @ loader.js:1131
a._invokeFactory @ loader.js:1150
a.complete @ loader.js:1163
a._onModuleComplete @ loader.js:1789
a._onModuleComplete @ loader.js:1801
a._resolve @ loader.js:1749
a.defineModule @ loader.js:1392
R @ loader.js:1839
anonymous @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.nls.js:4
(anonymous) @ loader.js:723
Promise.then (async)
u.load @ loader.js:718
u.load @ loader.js:607
_ @ loader.js:1648
a._loadModule @ loader.js:1660
a._resolve @ loader.js:1745
a.defineModule @ loader.js:1392
a._relativeRequire @ loader.js:1426
L @ loader.js:1600
o.load @ nls.build.js:119
a._loadPluginDependency @ loader.js:1682
a._resolve @ loader.js:1732
a.defineModule @ loader.js:1392
R @ loader.js:1839
eval @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:65
anonymous @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:83
(anonymous) @ loader.js:723
Promise.then (async)
u.load @ loader.js:718
u.load @ loader.js:607
_ @ loader.js:1648
a._loadModule @ loader.js:1660
a._resolve @ loader.js:1745
a.defineModule @ loader.js:1392
l @ loader.js:1864
(anonymous) @ workerMain.ts:86
Promise.then (async)
l @ workerMain.ts:80
self.onmessage @ workerMain.ts:110
webWorkerFileSystemProvider.ts:21 GET https://ms-vsliveshare.vscode-unpkg.net/MS-vsliveshare/vsliveshare/1.0.5043/extension/remoteSettings.json 404
readFile @ webWorkerFileSystemProvider.ts:21
(anonymous) @ fileService.ts:574
readFileUnbuffered @ fileService.ts:593
doReadFileStream @ fileService.ts:507
doReadFile @ fileService.ts:457
readFile @ fileService.ts:440
async function (async)
readFile @ fileService.ts:434
$readFile @ mainThreadFileSystem.ts:100
doInvokeHandler @ rpcProtocol.ts:472
invokeHandler @ rpcProtocol.ts:457
receiveRequest @ rpcProtocol.ts:373
receiveOneMessage @ rpcProtocol.ts:295
(anonymous) @ rpcProtocol.ts:160
fire @ event.ts:577
N.onmessage @ webWorkerExtensionHost.ts:232
DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/github-authentication/dist/browser/extension.js.map: Fetch through target failed: Target not supported; Fallback: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
extension.js:8 Refused to set unsafe header "user-agent"
eval @ extension.js:8
o.forEach @ extension.js:8
eval @ extension.js:8
le @ extension.js:8
jf @ extension.js:1077
_ @ extension.js:1077
cg @ extension.js:1077
eval @ extension.js:1077
eval @ extension.js:3
Promise.then (async)
G @ extension.js:3
Au.Object.assign.endpoint @ extension.js:1077
setCurrentUser @ extension.js:1094
initialize @ extension.js:1094
async function (async)
initialize @ extension.js:1094
L
@ extension.js:1186
async function (async)
L
@ extension.js:1186
O
@ extension.js:1186
async function (async)
O
@ extension.js:1186
_callActivateOptional @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
_callActivate @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
eval @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
Promise.then (async)
_doActivateExtension @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
_activateExtension @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
async function (async)
_activateExtension @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
actualActivateExtension @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
_activateExtension @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:75
eval @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:75
_activateExtensions @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:75
activateByEvent @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:75
_activateByEvent @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
_handleEagerExtensions @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
eval @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
Promise.then (async)
_startExtensionHost @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
initialize @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
async function (async)
initialize @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:77
_ @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:80
eval @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:83
Promise.then (async)
_ @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:83
(anonymous) @ workerMain.ts:88
setTimeout (async)
(anonymous) @ workerMain.ts:87
a._safeInvokeFunction @ loader.js:1131
a._invokeFactory @ loader.js:1150
a.complete @ loader.js:1163
a._onModuleComplete @ loader.js:1789
a._onModuleComplete @ loader.js:1801
a._onModuleComplete @ loader.js:1801
a._onModuleComplete @ loader.js:1801
a._onModuleComplete @ loader.js:1801
a._onModuleComplete @ loader.js:1801
a._onModuleComplete @ loader.js:1801
a._resolve @ loader.js:1749
a.defineModule @ loader.js:1392
w @ loader.js:1677
(anonymous) @ nls.build.js:126
a._safeInvokeFunction @ loader.js:1131
a._invokeFactory @ loader.js:1150
a.complete @ loader.js:1163
a._onModuleComplete @ loader.js:1789
a._onModuleComplete @ loader.js:1801
a._resolve @ loader.js:1749
a.defineModule @ loader.js:1392
R @ loader.js:1839
anonymous @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.nls.js:4
(anonymous) @ loader.js:723
Promise.then (async)
u.load @ loader.js:718
u.load @ loader.js:607
_ @ loader.js:1648
a._loadModule @ loader.js:1660
a._resolve @ loader.js:1745
a.defineModule @ loader.js:1392
a._relativeRequire @ loader.js:1426
L @ loader.js:1600
o.load @ nls.build.js:119
a._loadPluginDependency @ loader.js:1682
a._resolve @ loader.js:1732
a.defineModule @ loader.js:1392
R @ loader.js:1839
eval @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:65
anonymous @ ../../../vs/workbench/services/extensions/worker/extensionHostWorker.js:83
(anonymous) @ loader.js:723
Promise.then (async)
u.load @ loader.js:718
u.load @ loader.js:607
_ @ loader.js:1648
a._loadModule @ loader.js:1660
a._resolve @ loader.js:1745
a.defineModule @ loader.js:1392
l @ loader.js:1864
(anonymous) @ workerMain.ts:86
Promise.then (async)
l @ workerMain.ts:80
self.onmessage @ workerMain.ts:110
DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/configuration-editing/dist/browser/configurationEditingMain.js.map: Fetch through target failed: Target not supported; Fallback: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/json-language-features/client/dist/browser/jsonClientMain.js.map: Fetch through target failed: Target not supported; Fallback: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/typescript-language-features/dist/browser/extension.js.map: Fetch through target failed: Target not supported; Fallback: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/json-language-features/server/dist/browser/jsonServerMain.js.map: Fetch through target failed: Target not supported; Fallback: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/merge-conflict/dist/browser/mergeConflictMain.js.map: Fetch through target failed: Target not supported; Fallback: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/emmet/dist/browser/emmetBrowserMain.js.map: Fetch through target failed: Target not supported; Fallback: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

@djsegfault
Copy link
Author

djsegfault commented Oct 24, 2021

Note that all of this is from page load. Nothing added to console as I try to open folder in different ways.

I see a lot of windows.net stuff here. Is that stuff compatible with Linux, whatever it is?

BTW https://windows.net/ returns Error code: SSL_ERROR_BAD_CERT_DOMAIN

@bpasero
Copy link
Member

bpasero commented Oct 24, 2021

@djsegfault can you try this playground to see if you can open a file: https://googlechromelabs.github.io/text-editor/

@djsegfault
Copy link
Author

Yes, I can open a file using that URL. And as I said I can open a file using https://vscode.dev/ also, but I can't open a folder/add a folder to the workspace so I can see and manage the files in the project. File/Open File then selecting a file works.

@bpasero
Copy link
Member

bpasero commented Oct 25, 2021

I start to believe that this is a browser issue. When picking a folder you should see a dialog like this one asking for permissions:

image

Can you do this:

  • open developer tools
  • open "Sources" tab
  • open file fileDialogService.ts
  • add a breakpoint into line 180
  • select "Add Folder" and pick a folder
  • see if that breakpoint is hit

image

@djsegfault
Copy link
Author

I do not get that dialog box, and I don't see that file mentioned. If I view source and search for it I don't see it either. What path should I see it at? Though it may get pulled in by another file dynamically? I am attaching the output of View Source.
I just tried disabling all extensions and that didn't change anything.

view-source_https___vscode.dev.txt

@bpasero
Copy link
Member

bpasero commented Oct 25, 2021

@djsegfault yeah, the fact that the dialog does not appear hints to an upstream issue.

Here is how to open that file, I pressed Cmd+P to get that picker (Ctrl+P on Windows):
recording

@djsegfault
Copy link
Author

I added the breakpoint and it never triggered when I tried to open a folder. Or when I tried opening a file (which did work)

@bpasero
Copy link
Member

bpasero commented Oct 25, 2021

Ok then I suspect it is something either with the OS, browser or maybe even our certificate when hosted on vscode.dev?

@djsegfault
Copy link
Author

What's the path forward then? Ubuntu and Chrome aren't exactly rare.

@bpasero
Copy link
Member

bpasero commented Oct 26, 2021

I suggest to report a bug to Chrome: https://bugs.chromium.org/p/chromium/issues/list

@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants
@bpasero @djsegfault @JacksonKearl and others