Remote Debugging Broken "Websocket Disconnected"

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Remote Debugging Broken "Websocket Disconnected"

Postby leeroy » Wed Mar 22, 2023 11:40 am

After updating to 5612, we are running into issue with remote debugging failing.

We receive a "websocket disconnected" seconds after trying to connect.
leeroy
Expert
 
Posts: 103
Joined: Mon Jan 06, 2020 6:27 pm

Re: Remote Debugging Broken "Websocket Disconnected"

Postby leeroy » Wed Mar 22, 2023 12:35 pm

This also occurs with the prebuild binaries

https://cef-builds.spotifycdn.com/cef_b ... nt.tar.bz2

cefclient.exe --remote-debugging-port=9222 --user-data-dir=d:\tmp\cef-data-dir
leeroy
Expert
 
Posts: 103
Joined: Mon Jan 06, 2020 6:27 pm

Re: Remote Debugging Broken "Websocket Disconnected"

Postby salvadordf » Wed Mar 22, 2023 4:18 pm

Try using --remote-allow-origins=* in Chromium 111
This is mentioned in the debug.log file.
Maintainer of the CEF4Delphi, WebView4Delphi, WebUI4Delphi and WebUI4CSharp projects.
User avatar
salvadordf
Expert
 
Posts: 129
Joined: Sun Dec 18, 2016 8:39 am
Location: Spain

Re: Remote Debugging Broken "Websocket Disconnected"

Postby leeroy » Thu Mar 23, 2023 1:14 pm

salvadordf wrote:Try using --remote-allow-origins=* in Chromium 111
This is mentioned in the debug.log file.


THANK YOU! That totally worked. And gross that I totally missed the debug.log entry. :oops:
leeroy
Expert
 
Posts: 103
Joined: Mon Jan 06, 2020 6:27 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 39 guests