microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.36k stars 815 forks source link

Problem running google-chrome & Microsoft Edge on WSL-2: Could not bind NETLINK socket #9612

Closed mwoodpatrick closed 5 months ago

mwoodpatrick commented 1 year ago

Version

Windows version: 10.0.22623.1250

WSL Version

Kernel Version

No response

Distro Version

No response

Other Software

No response

Repro Steps

sudo apt update && sudo apt -y upgrade && sudo apt -y autoremove wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb sudo apt -y install ./google-chrome-stable_current_amd64.deb

google-chrome

Expected Behavior

Google chrome starts

Actual Behavior

[14095:14119:0208/092548.909669:ERROR:address_tracker_linux.cc(208)] Could not bind NETLINK socket: Function not implemented (38)
[14095:14119:0208/092548.913098:ERROR:udev_watcher.cc(63)] Failed to enable receiving udev events.
[14095:14095:0208/092548.915123:ERROR:process_singleton_posix.cc(1075)] Failed to bind() /tmp/.com.google.Chrome.x6NIA2/SingletonSocket: Function not implemented (38)
[14095:14095:0208/092548.915207:ERROR:chrome_browser_main.cc(1424)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.

Diagnostic Logs

WslLogs-2023-02-08_09-33-54.zip

mwoodpatrick commented 1 year ago

I have similar issues running Microsoft Edge on WSL-2microsoft-edge-stable


[17367:17496:0218/032739.202643:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[17367:17496:0218/032739.203184:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[17367:17496:0218/032739.203800:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[17409:17409:0218/032742.445795:ERROR:gpu_memory_buffer_support_x11.cc(49)] dri3 extension not supported.
[17367:17367:0218/032742.650849:ERROR:CONSOLE(51)] "Uncaught TypeError: Cannot read properties of undefined (reading 'importerType')", source: edge://welcome-edge/bundle.js (51)
[17440:1:0218/032829.615513:ERROR:pic
```ture_in_picture_overlay_agent.cc(49)] Connection to PIPOverlayDriver dropped
mwoodpatrick@westie-microK8s:~$
Moleeee commented 1 year ago

When I try to launch Google Chrome & Microsoft Edge on WSL-1 [0303/155728.804876:ERROR:exception_handler_server.cc(361)] getsockopt: Invalid argument (22) [0303/155728.805390:ERROR:socket.cc(153)] unhandled cmsg -1431655766, -1431655766 [0303/155728.806291:ERROR:exception_handler_server.cc(361)] getsockopt: Invalid argument (22) [27559:27559:0303/155728.806422:ERROR:socket.cc(153)] unhandled cmsg -1431655766, -1431655766 Trace/breakpoint trap (core dumped)

mwoodpatrick commented 1 year ago

Current error messages

[17808:17879:0305/225620.056835:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files [17808:17879:0305/225620.057329:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files [17808:17879:0305/225620.057665:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files [17848:17848:0305/225624.466599:ERROR:gpu_memory_buffer_support_x11.cc(49)] dri3 extension not supported. INFO: Created TensorFlow Lite XNNPACK delegate for CPU. [17808:17837:0305/225904.180717:ERROR:mcs_client.cc(702)] Error code: 500 Error message: Authentication Failed. [17808:17837:0305/225904.181396:ERROR:mcs_client.cc(704)] Failed to log in to GCM, resetting connection. [17848:17848:0305/225916.039415:ERROR:shared_image_manager.cc(197)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox. [17848:17848:0305/225916.049633:ERROR:shared_image_manager.cc(197)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox. [17848:17848:0305/225916.050762:ERROR:shared_image_manager.cc(197)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox. [17848:17848:0305/225916.051917:ERROR:shared_image_manager.cc(197)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox. [17848:17848:0305/225916.052836:ERROR:shared_image_manager.cc(197)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox. [17848:17848:0305/225916.054175:ERROR:shared_image_manager.cc(197)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox. Fontconfig error: Cannot load default config file: No such file: (null) [17808:17833:0305/230027.057112:ERROR:cert_verify_proc_builtin.cc(677)] CertVerifyProcBuiltin for io.narrative.io failed: ----- Certificate i=0 (CN=*.narrative.io) ----- ERROR: Time is before notBefore

[17850:17875:0305/230027.082929:ERROR:ssl_client_socket_impl.cc(992)] handshake failed; returned -1, SSL error code 1, net_error -201 [17848:17848:0305/230032.691131:ERROR:shared_image_manager.cc(197)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox. Fontconfig error: Cannot load default config file: No such file: (null) Fontconfig error: Cannot load default config file: No such file: (null) [17808:17832:0305/230517.038739:ERROR:cert_verify_proc_builtin.cc(677)] CertVerifyProcBuiltin for woodpatrick.org failed: ----- Certificate i=0 (emailAddress=admin@localhost,CN=localhost,OU=Devilbox,O=Devilbox,L=Berlin,ST=Berlin,C=DE) ----- ERROR: No matching issuer found

[17850:17875:0305/230517.040203:ERROR:ssl_client_socket_impl.cc(992)] handshake failed; returned -1, SSL error code 1, net_error -202 [17850:17875:0305/230517.040701:ERROR:ssl_client_socket_impl.cc(992)] handshake failed; returned -1, SSL error code 1, net_error -202 [17808:17832:0305/230707.122214:ERROR:cert_verify_proc_builtin.cc(677)] CertVerifyProcBuiltin for wp.woodpatrick.org failed: ----- Certificate i=0 (emailAddress=admin@wp.woodpatrick.org,CN=wp.woodpatrick.org,OU=Devilbox,O=Devilbox,L=Berlin,ST=Berlin,C=DE) ----- ERROR: No matching issuer found

[17850:17875:0305/230707.123186:ERROR:ssl_client_socket_impl.cc(992)] handshake failed; returned -1, SSL error code 1, net_error -202 [17850:17875:0305/230707.123394:ERROR:ssl_client_socket_impl.cc(992)] handshake failed; returned -1, SSL error code 1, net_error -202

edyu commented 1 year ago

I have the same problems and I'm guessing these are due to Wayland implementation on WSL. Has anyone found out whether they cause any problems or just being annoying? I now just do the piping of microsoft-edge > /dev/null 2&>1 so they don't bother me. :)

microsoft-github-policy-service[bot] commented 5 months ago

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!