Replies: 1 comment
-
I am moving this to a discussion. Let's create an issue when you have something I can test locally. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I have an application being run by clients, and am using Puppeteer Sharp within it.
Everything is working for everyone, apart from one person who is having a bug crash the application at the point where we are launching the browser.
I am getting a TargetClosedException whilst launching, stating Protocol Error. Target Closed.
I have foudn various similar looking issues but nothing which helps me fix my situation.
Complete minimal example reproducing the issue
The exception is being thrown at the final line in this code, LaunchAsync.
Expected behavior:
Launches the browser for everyone without exceptions thrown
Actual behavior:
For one person, the following errors (apologies for only having screenshots)
Outer Exception (ProcessException). Message: Failed to create connection
Stack Trace:
Inner Exception (TargetClosedException). Message: Protocol error(Target.setAutoAttach): Target closed. (The remote party closed the WebSocket connection without completing the close handshake.)
Stack Trace:
Versions
PuppeteerSharp 9.0.2
.NET 7.0.4
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
Beta Was this translation helpful? Give feedback.
All reactions