Request processing failed: com.microsoft.playwright.PlaywrightException: Error

jakarta.servlet.ServletException: Request processing failed: com.microsoft.playwright.PlaywrightException: Error

Caused by: com.microsoft.playwright.PlaywrightException: Error

Caused by: com.microsoft.playwright.impl.DriverException: Error

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.1.3)

2023-09-25T10:58:59.446+08:00  INFO 4676 --- [           main] cn.bzvs.paypal.Application               : Starting Application v0.0.1-SNAPSHOT using Java 17.0.1 with PID 4676 (F:\Document_Other_Project_ZengWenFeng\2023.08.12.paypal\paypal-tools\paypal-tools.jar started by Administrator in F:\Document_Other_Project_ZengWenFeng\2023.08.12.paypal\paypal-tools)
2023-09-25T10:58:59.469+08:00  INFO 4676 --- [           main] cn.bzvs.paypal.Application               : No active profile set, falling back to 1 default profile: "default"
2023-09-25T10:59:01.565+08:00  WARN 4676 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used
2023-09-25T10:59:01.590+08:00  INFO 4676 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext
2023-09-25T10:59:01.591+08:00  INFO 4676 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1984 ms
2023-09-25T10:59:26.418+08:00  INFO 4676 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page template: index
2023-09-25T10:59:27.177+08:00  INFO 4676 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint(s) beneath base path '/actuator'
2023-09-25T10:59:27.256+08:00  INFO 4676 --- [           main] io.undertow                              : starting server: Undertow - 2.3.8.Final
2023-09-25T10:59:27.327+08:00  INFO 4676 --- [           main] org.xnio                                 : XNIO version 3.8.8.Final
2023-09-25T10:59:27.387+08:00  INFO 4676 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.8.8.Final
2023-09-25T10:59:28.024+08:00  INFO 4676 --- [           main] org.jboss.threads                        : JBoss Threads version 3.5.0.Final
2023-09-25T10:59:28.115+08:00  INFO 4676 --- [           main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port(s) 8080 (http)
2023-09-25T10:59:28.133+08:00  INFO 4676 --- [           main] cn.bzvs.paypal.Application               : Started Application in 29.965 seconds (process running for 35.114)
开始自动加载指定的页面
2023-09-25T10:59:30.209+08:00  INFO 4676 --- [  XNIO-1 task-2] io.undertow.servlet                      : Initializing Spring DispatcherServlet 'dispatcherServlet'
2023-09-25T10:59:30.210+08:00  INFO 4676 --- [  XNIO-1 task-2] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2023-09-25T10:59:30.213+08:00  INFO 4676 --- [  XNIO-1 task-2] o.s.web.servlet.DispatcherServlet        : Completed initialization in 3 ms
2023-09-25T11:01:16.084+08:00 ERROR 4676 --- [  XNIO-1 task-3] io.undertow.request                      : UT005023: Exception handling request to /api/paypal/login

jakarta.servlet.ServletException: Request processing failed: com.microsoft.playwright.PlaywrightException: Error {
  message='Target closed
  name='Error
  stack='Error: Target closed
    at C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkConnection.js:140:16
    at new Promise (<anonymous>)
    at WKSession.send (C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkConnection.js:136:12)
    at WKPage._updateViewport (C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkPage.js:683:23)
    at WKPage._initializePageProxySession (C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkPage.js:116:24)
    at WKPage._onTargetCreated (C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkPage.js:339:33)
    at WKSession.emit (node:events:514:28)
    at C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkConnection.js:172:41
}
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1019) ~[spring-webmvc-6.0.11.jar!/:6.0.11]
	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914) ~[spring-webmvc-6.0.11.jar!/:6.0.11]
	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:547) ~[jakarta.servlet-api-6.0.0.jar!/:6.0.0]
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) ~[spring-webmvc-6.0.11.jar!/:6.0.11]
	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614) ~[jakarta.servlet-api-6.0.0.jar!/:6.0.0]
	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-6.0.11.jar!/:6.0.11]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.0.11.jar!/:6.0.11]
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-6.0.11.jar!/:6.0.11]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.0.11.jar!/:6.0.11]
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109) ~[spring-web-6.0.11.jar!/:6.0.11]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.0.11.jar!/:6.0.11]
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-6.0.11.jar!/:6.0.11]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.0.11.jar!/:6.0.11]
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) ~[undertow-core-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) ~[undertow-core-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) ~[undertow-core-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101) ~[undertow-servlet-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393) ~[undertow-core-2.3.8.Final.jar!/:2.3.8.Final]
	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859) ~[undertow-core-2.3.8.Final.jar!/:2.3.8.Final]
	at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) ~[jboss-threads-3.5.0.Final.jar!/:3.5.0.Final]
	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513) ~[jboss-threads-3.5.0.Final.jar!/:3.5.0.Final]
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538) ~[jboss-threads-3.5.0.Final.jar!/:3.5.0.Final]
	at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282) ~[xnio-api-3.8.8.Final.jar!/:3.8.8.Final]
	at java.base/java.lang.Thread.run(Thread.java:833) ~[na:na]
Caused by: com.microsoft.playwright.PlaywrightException: Error {
  message='Target closed
  name='Error
  stack='Error: Target closed
    at C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkConnection.js:140:16
    at new Promise (<anonymous>)
    at WKSession.send (C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkConnection.js:136:12)
    at WKPage._updateViewport (C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkPage.js:683:23)
    at WKPage._initializePageProxySession (C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkPage.js:116:24)
    at WKPage._onTargetCreated (C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkPage.js:339:33)
    at WKSession.emit (node:events:514:28)
    at C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkConnection.js:172:41
}
	at com.microsoft.playwright.impl.WaitableResult.get(WaitableResult.java:54) ~[playwright-1.37.0.jar!/:1.37.0]
	at com.microsoft.playwright.impl.ChannelOwner.runUntil(ChannelOwner.java:111) ~[playwright-1.37.0.jar!/:1.37.0]
	at com.microsoft.playwright.impl.Connection.sendMessage(Connection.java:126) ~[playwright-1.37.0.jar!/:1.37.0]
	at com.microsoft.playwright.impl.ChannelOwner.sendMessage(ChannelOwner.java:102) ~[playwright-1.37.0.jar!/:1.37.0]
	at com.microsoft.playwright.impl.ChannelOwner.sendMessage(ChannelOwner.java:98) ~[playwright-1.37.0.jar!/:1.37.0]
	at com.microsoft.playwright.impl.BrowserContextImpl.newPageImpl(BrowserContextImpl.java:391) ~[playwright-1.37.0.jar!/:1.37.0]
	at com.microsoft.playwright.impl.BrowserContextImpl.lambda$newPage$13(BrowserContextImpl.java:384) ~[playwright-1.37.0.jar!/:1.37.0]
	at com.microsoft.playwright.impl.LoggingSupport.withLogging(LoggingSupport.java:47) ~[playwright-1.37.0.jar!/:1.37.0]
	at com.microsoft.playwright.impl.ChannelOwner.withLogging(ChannelOwner.java:87) ~[playwright-1.37.0.jar!/:1.37.0]
	at com.microsoft.playwright.impl.BrowserContextImpl.newPage(BrowserContextImpl.java:384) ~[playwright-1.37.0.jar!/:1.37.0]
	at com.microsoft.playwright.impl.BrowserContextImpl.newPage(BrowserContextImpl.java:44) ~[playwright-1.37.0.jar!/:1.37.0]
	at cn.bzvs.paypal.controller.PaypalApiController.login(PaypalApiController.java:60) ~[classes!/:0.0.1-SNAPSHOT]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
	at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na]
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-6.0.11.jar!/:6.0.11]
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-6.0.11.jar!/:6.0.11]
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118) ~[spring-webmvc-6.0.11.jar!/:6.0.11]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884) ~[spring-webmvc-6.0.11.jar!/:6.0.11]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) ~[spring-webmvc-6.0.11.jar!/:6.0.11]
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-6.0.11.jar!/:6.0.11]
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081) ~[spring-webmvc-6.0.11.jar!/:6.0.11]
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974) ~[spring-webmvc-6.0.11.jar!/:6.0.11]
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011) ~[spring-webmvc-6.0.11.jar!/:6.0.11]
	... 52 common frames omitted
Caused by: com.microsoft.playwright.impl.DriverException: Error {
  message='Target closed
  name='Error
  stack='Error: Target closed
    at C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkConnection.js:140:16
    at new Promise (<anonymous>)
    at WKSession.send (C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkConnection.js:136:12)
    at WKPage._updateViewport (C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkPage.js:683:23)
    at WKPage._initializePageProxySession (C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkPage.js:116:24)
    at WKPage._onTargetCreated (C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkPage.js:339:33)
    at WKSession.emit (node:events:514:28)
    at C:\Users\ADMINI~1\AppData\Local\Temp\playwright-java-18293338396538834064\package\lib\server\webkit\wkConnection.js:172:41
}
	at com.microsoft.playwright.impl.Connection.dispatch(Connection.java:226) ~[playwright-1.37.0.jar!/:1.37.0]
	at com.microsoft.playwright.impl.Connection.processOneMessage(Connection.java:206) ~[playwright-1.37.0.jar!/:1.37.0]
	at com.microsoft.playwright.impl.ChannelOwner.runUntil(ChannelOwner.java:109) ~[playwright-1.37.0.jar!/:1.37.0]
	... 75 common frames omitted

没有VPN登录,访问国外网站或者网络很慢导致的

相关推荐
小白不太白95012 小时前
设计模式之 外观模式
microsoft·设计模式·外观模式
万里沧海寄云帆14 小时前
Word 插入分节符页码更新问题
windows·microsoft·word
huaqianzkh1 天前
学习C#中的Parallel类
windows·microsoft·c#
Code哈哈笑1 天前
【Java 学习】初识类和对象、this引用
java·学习·microsoft
code_shenbing1 天前
跨平台WPF框架Avalonia教程 三
前端·microsoft·ui·c#·wpf·跨平台·界面设计
宝桥南山3 天前
.NET 9 - BinaryFormatter移除
microsoft·微软·c#·asp.net·.net·.netcore
zhuqiyua3 天前
深入解析Kernel32.dll与Msvcrt.dll
汇编·microsoft·windbg·二进制·dll
Deepcong3 天前
使用Azure Kinect获取彩色三维点云,对彩色二维图像进行目标检测,依据得到的box区域,再找出对应的点云信息
目标检测·microsoft·azure·三维点云
开源Linux3 天前
微软Office 2021 24年11月授权版
microsoft
乐鑫科技 Espressif4 天前
“乐鑫组件注册表”简介
java·前端·microsoft·iot·乐鑫科技