Getting below Error
Navigation failed because browser has disconnected! (An internal WebSocket error occurred. Please see the innerException, if present, for more details. )
Environment Information
eSpaceVer: Id=1649, PubId=0, CompiledWith=11.7.2.5749RequestUrl: https://xyz.com/SimplifyOnline/screenservices/SimplifyOnline/MainFlow/eKYC_PDF_Page/ActionPrintPDF (Method: POST)AppDomain: /LM/W3SVC/1/ROOT/SimplifyOnline-223-132785858999742171FilePath: D:\...\PS\running\SimplifyOnline.0702215662\ClientIp: 127.0.0.1Locale: en-USDateFormat: yyyy-MM-ddPID: 7648 ('w3wp', Started='10/7/2021 1:30:54 PM', Priv=1443Mb, Virt=2970Mb)TID: 602Thread Name:.NET: 4.0.30319.42000
Stack
[1] Navigation failed because browser has disconnected! (An internal WebSocket error occurred. Please see the innerException, if present, for more details. )at PuppeteerSharp.FrameManager.<NavigateFrameAsync>d__42.MoveNext()--- End of stack trace from previous location where exception was thrown ---at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)at OutSystems.NssUltimatePDF.Browser.BrowserUtils.<PrintPDF>d__12.MoveNext()--- End of stack trace from previous location where exception was thrown ---at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at OutSystems.NssUltimatePDF.CssUltimatePDF.RunAsync[T](Func`1 async)at OutSystems.NssUltimatePDF.CssUltimatePDF.MssPrintPDF(String ssURL, RCViewportRecord ssViewport, RCPaperRecord ssPaper, String ssSessionCookieDomain, Int32 ssBrowserRevision, Byte[]& ssPDF)at ssSimplifyOnline.RssExtensionUltimatePDF.MssPrintPDF(HeContext heContext, String inParamURL, IRecord inParamViewport, IRecord inParamPaper, String inParamSessionCookieDomain, Int32 inParamBrowserRevision, Byte[]& outParamPDF)[2] Navigation failed because browser has disconnected! (An internal WebSocket error occurred. Please see the innerException, if present, for more details. )at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)--- End of stack trace from previous location where exception was thrown ---at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at PuppeteerSharp.Helpers.TaskHelper.<TimeoutTask>d__9.MoveNext()at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)--- End of stack trace from previous location where exception was thrown ---at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at PuppeteerSharp.Helpers.TaskHelper.<WithTimeout>d__4.MoveNext()--- End of stack trace from previous location where exception was thrown ---at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at PuppeteerSharp.Helpers.TaskHelper.<WithTimeout>d__4.MoveNext()--- End of stack trace from previous location where exception was thrown ---at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at PuppeteerSharp.FrameManager.<NavigateFrameAsync>d__42.MoveNext()
Failed to launch Chromium! [1013/144304.775:ERROR:session_end_watcher.cc(141)] RegisterClass: The operation completed successfully. (0x0)[1013/144304.807:ERROR:message_window.cc(56)] Failed to register the window class for a message-only window: The operation completed successfully. (0x0)[1013/144304.808:ERROR:message_window.cc(112)] Failed to create a message-only window: The parameter is incorrect. (0x57)[1013/144304.828:ERROR:message_window.cc(112)] Failed to create a message-only window: The parameter is incorrect. (0x57)[1013/144304.833:FATAL:window_impl.cc(138)] Check failed: atom. 0Backtrace:ovly_debug_event [0x00007FFCCAAA1252+16183762]ovly_debug_event [0x00007FFCCAAA0832+16181170]ovly_debug_event [0x00007FFCCAAB3383+16257795]GetHandleVerifier [0x00007FFCCB2F6D80+518736]GetHandleVerifier [0x00007FFCCB2F72B8+520072]GetHandleVerifier [0x00007FFCCB2F7050+519456]GetHandleVerifier [0x00007FFCCB2EDF4C+482332]GetHandleVerifier [0x00007FFCCB2EDD11+481761]ovly_debug_event [0x00007FFCCAC83212+18157970]ovly_debug_event [0x00007FFCCAC78B22+18115234]ovly_debug_event [0x00007FFCCA297509+7754889]ovly_debug_event [0x00007FFCCA5F4D7F+11283711]ovly_debug_event [0x00007FFCCA297064+7753700]ovly_debug_event [0x00007FFCCA299C08+7764872]IsSandboxedProcess [0x00007FFCCB14B95F+2378851]ovly_debug_event [0x00007FFCCAA1D3C3+15643459]ovly_debug_event [0x00007FFCCAA1DD67+15645927]ovly_debug_event [0x00007FFCCAA1DACD+15645261]ovly_debug_event [0x00007FFCCAA48F28+15822504]ovly_debug_event [0x00007FFCCAA1D35E+15643358]ovly_debug_event [0x00007FFCCAA483E3+15819619]ovly_debug_event [0x00007FFCCAA482BB+15819323]ovly_debug_event [0x00007FFCCAA480F2+15818866]ChromeMain [0x00007FFCC9B311B6+286]Ordinal0 [0x00007FF74704275F+10079]Ordinal0 [0x00007FF74704182D+6189]GetHandleVerifier [0x00007FF74714B7C2+697538]BaseThreadInitThunk [0x00007FFD0F807974+20]RtlUserThreadStart [0x00007FFD1046A2F1+33]at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)at PuppeteerSharp.ChromiumProcess.State.StartingState.<StartCoreAsync>d__5.MoveNext()--- End of stack trace from previous location where exception was thrown ---at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at PuppeteerSharp.ChromiumProcess.State.StartingState.<StartCoreAsync>d__5.MoveNext()--- End of stack trace from previous location where exception was thrown ---at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at PuppeteerSharp.Launcher.<LaunchAsync>d__7.MoveNext()--- End of stack trace from previous location where exception was thrown ---at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at PuppeteerSharp.Launcher.<LaunchAsync>d__7.MoveNext()--- End of stack trace from previous location where exception was thrown ---at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at OutSystems.NssUltimatePDF.Browser.BrowserUtils.<PrintPDF>d__12.MoveNext()--- End of stack trace from previous location where exception was thrown ---at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at OutSystems.NssUltimatePDF.CssUltimatePDF.RunAsync[T](Func`1 async)at OutSystems.NssUltimatePDF.CssUltimatePDF.MssPrintPDF(String ssURL, RCViewportRecord ssViewport, RCPaperRecord ssPaper, String ssSessionCookieDomain, Int32 ssBrowserRevision, Byte[]& ssPDF) at ssSimplifyOnline.RssExtensionUltimatePDF.MssPrintPDF(HeContext heContext, String inParamURL, IRecord inParamViewport, IRecord inParamPaper, String inParamSessionCookieDomain, Int32 inParamBrowserRevision, Byte[]& outParamPDF)
Some one please let me know how to resolve this.
dileep
Hi,
It seems the major suggestion is to upgrade chromium version
https://github.com/alixaxel/chrome-aws-lambda/issues/104
https://www.outsystems.com/forums/discussion/68965/navigation-failed-because-browser-has-disconnected/
https://github.com/puppeteer/puppeteer/issues/3927
Thanks, Aadhavan S