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

Application crashes on Puppeteer #157

Open
sandor-priva opened this issue Oct 8, 2024 · 0 comments
Open

Application crashes on Puppeteer #157

sandor-priva opened this issue Oct 8, 2024 · 0 comments

Comments

@sandor-priva
Copy link

Most likely due to an update of chrome.
Many thanks for helping!

00:00:01.30 WARN: File D:\source\iocontroller\testtools\wiki-export\Engineer.wiki\Home\Embedded.md is empty and will be skipped!
00:00:02.99 ERR: Something bad happend.
PuppeteerSharp.ProcessException: Failed to create connection
---> System.ObjectDisposedException: The semaphore has been disposed.
at System.Threading.SemaphoreSlim.CheckDispose()
at System.Threading.SemaphoreSlim.WaitAsync(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.SemaphoreSlim.WaitAsync()
at PuppeteerSharp.Helpers.TaskQueue.Enqueue(Func1 taskGenerator) in C:\projects\puppeteer-sharp\lib\PuppeteerSharp\Helpers\TaskQueue.cs:line 32 at PuppeteerSharp.Connection.SendAsync(String method, Object args, Boolean waitForCallback) in C:\projects\puppeteer-sharp\lib\PuppeteerSharp\Connection.cs:line 134 at PuppeteerSharp.Browser.CreateAsync(Connection connection, String[] contextIds, Boolean ignoreHTTPSErrors, ViewPortOptions defaultViewPort, LauncherBase launcher, Func2 targetFilter, Action`1 initAction) in C:\projects\puppeteer-sharp\lib\PuppeteerSharp\Browser.cs:line 530
at PuppeteerSharp.Launcher.LaunchAsync(LaunchOptions options) in C:\projects\puppeteer-sharp\lib\PuppeteerSharp\Launcher.cs:line 76
--- End of inner exception stack trace ---
at PuppeteerSharp.Launcher.LaunchAsync(LaunchOptions options) in C:\projects\puppeteer-sharp\lib\PuppeteerSharp\Launcher.cs:line 85
at PuppeteerSharp.Launcher.LaunchAsync(LaunchOptions options) in C:\projects\puppeteer-sharp\lib\PuppeteerSharp\Launcher.cs:line 91
at azuredevops_export_wiki.PDFGenerator.ConvertHTMLToPDFAsync(SelfDeletingTemporaryFile tempHtmlFile)
at azuredevops_export_wiki.WikiPDFExporter.Export()

Repository owner deleted a comment Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant