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登录,访问国外网站或者网络很慢导致的

相关推荐
禁默8 小时前
2024年图像处理、多媒体技术与机器学习
图像处理·人工智能·microsoft
Zmxcl-00712 小时前
IIS解析漏洞
服务器·数据库·microsoft
蚁景网络安全15 小时前
Cobalt Strike 4.8 用户指南-第十四节 Aggressor 脚本
windows·microsoft
不坑老师2 天前
不坑盒子2024.1218更新了,模板库上线、一键添加拼音、一键翻译……支持Word、Excel、PPT、WPS
microsoft·word·powerpoint·excel·wps
小奥超人2 天前
【ppt技巧】如何设置PPT带有密码的只读模式?
windows·经验分享·microsoft·powerpoint·办公技巧
七月的和弦3 天前
Win10将WindowsTerminal设置默认终端并添加到右键(无法使用微软商店)
windows·microsoft
阿达_优阅达3 天前
集成方案 | Docusign + 金蝶云,实现合同签署流程自动化!
运维·microsoft·自动化·企业数字化转型·docusign
嘟嘟实验室4 天前
TRELLIS,一键生成3D模型,图像转3D,微软开源
人工智能·python·microsoft·3d·开源·aigc
PowerBI学谦4 天前
Copilot for Microsoft 365 office手把手使用指南
人工智能·microsoft·copilot
慧都小妮子4 天前
.NET 9微软新平台 + FastReport .NET:如何提升报告生成效率
microsoft·.net·报表控件·fastreport·.net9