microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.2k stars 28.55k forks source link

error DioException #211691

Closed mahdi3800 closed 2 months ago

mahdi3800 commented 4 months ago

Type: Performance Issue

DioException (DioException [bad response]: This exception was thrown because the response has a status code of 404 and RequestOptions.validateStatus was configured to throw for this status code. The status code of 404 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled" Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code. )

VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:41:02.734Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i3-9100F CPU @ 3.60GHz (4 x 3600)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|7.93GB (0.33GB free)| |Process Argv|--crash-reporter-id 505af6db-e65c-48cb-a656-c63faaa64acd| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 69 10112 code main 0 11 1804 crashpad-handler 0 24 2616 fileWatcher [1] 0 71 3304 extensionHost [1] 0 4 5780 C:\WINDOWS\system32\cmd.exe /d /s /c ""C:\Users\Office\Desktop\flutter\bin\cache\dart-sdk\bin\dart.exe" "language-server" "--protocol=lsp" "--client-id=VS-Code" "--client-version=3.86.0"" 0 724 12412 "C:\Users\Office\Desktop\flutter\bin\cache\dart-sdk\bin\dart.exe" "language-server" "--protocol=lsp" "--client-id=VS-Code" "--client-version=3.86.0" 0 5 15432 C:\WINDOWS\system32\conhost.exe 0x4 0 4 8724 C:\WINDOWS\system32\cmd.exe /d /s /c ""C:\Users\Office\Desktop\flutter\bin\flutter.bat" "daemon"" 0 38 5972 electron-nodejs (config.js ) 0 5 10180 C:\WINDOWS\system32\conhost.exe 0x4 0 4 11496 C:\WINDOWS\system32\cmd.exe /d /s /c ""C:\Users\Office\Desktop\flutter\bin\cache\dart-sdk\bin\dart.exe" "devtools" "--machine" "--allow-embedding"" 0 5 2836 C:\WINDOWS\system32\conhost.exe 0x4 0 13 14288 "C:\Users\Office\Desktop\flutter\bin\cache\dart-sdk\bin\dart.exe" "devtools" "--machine" "--allow-embedding" 0 4 12204 C:\WINDOWS\system32\cmd.exe /d /s /c ""c:\Users\Office\.vscode\extensions\vscjava.vscode-gradle-3.13.5\lib\gradle-server.bat" 12795" 0 6 13464 C:\WINDOWS\system32\conhost.exe 0x4 0 8 17228 "C:\Program Files\Java\jdk-20/bin/java.exe" "-Dfile.encoding=UTF-8" -classpath "c:\Users\Office\.vscode\extensions\vscjava.vscode-gradle-3.13.5\lib\gradle-server.jar" com.github.badsyntax.gradle.GradleServer 12795 0 56 1072 "C:\Program Files\Java\jdk-20\bin\java.exe" --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED -XX:MaxMetaspaceSize=384m -XX:+HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp C:\Users\Office\.gradle\wrapper\dists\gradle-8.7-bin\bhs2wmbdwecv87pi65oeuq5iu\gradle-8.7\lib\gradle-launcher-8.7.jar -javaagent:C:\Users\Office\.gradle\wrapper\dists\gradle-8.7-bin\bhs2wmbdwecv87pi65oeuq5iu\gradle-8.7\lib\agents\gradle-instrumentation-agent-8.7.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 8.7 0 11 16012 "C:\Program Files\Java\jdk-20\bin\java" -Dfile.encoding=utf8 -jar c:\Users\Office\.vscode\extensions\vscjava.vscode-gradle-3.13.5\lib\gradle-language-server.jar 0 6 16220 C:\WINDOWS\system32\conhost.exe 0x4 0 63 10204 gpu-process 0 170 11380 window [1] (pubspec.yaml - nike_ecommerce_flutter - Visual Studio Code) 0 23 12716 ptyHost 0 6 2236 conpty-agent 0 73 6312 "C:\Program Files\PowerShell\7\pwsh.exe" -noexit -command "try { . \"c:\Users\Office\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}" 2 68 13052 window [2] (Issue Reporter) 0 50 14440 shared-process 0 22 15700 utility-network-service ```
Workspace Info ``` | Window (pubspec.yaml - nike_ecommerce_flutter - Visual Studio Code) | Folder (nike_ecommerce_flutter): 1961 files | File types: json(133) xml(120) flat(96) class(42) png(39) bin(33) | len(32) jar(30) old(28) stamp(28) | Conf files: cmake(2) launch.json(1) | Launch Configs: dart(3); ```
Extensions (9) Extension|Author (truncated)|Version ---|---|--- dart-code|Dar|3.86.0 flutter|Dar|3.86.0 vscode-markdownlint|Dav|0.55.0 githistory|don|0.6.20 git-project-manager|fel|1.8.2 bloc|Fel|6.6.6 intellij-idea-keybindings|k--|1.7.2 flutter-intl|loc|1.19.3 vscode-gradle|vsc|3.13.5 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 fegfb526:30981948 bg6jg535:30979843 ccp1r3:30993539 dsvsc020:30976470 pythonait:31006305 gee8j676:31009558 dsvsc021:30996838 724cj586:31013169 pythoncenvptcf:31022791 ```
roblourens commented 2 months ago

This doesn't sound related to VS Code. Maybe an extension, another tool, or your code.