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

[Bug] iOS运行套件几十条之后 手机拒绝链接。 #475

Closed
2 tasks done
Pycoder0901 opened this issue Nov 19, 2024 · 1 comment
Closed
2 tasks done

[Bug] iOS运行套件几十条之后 手机拒绝链接。 #475

Pycoder0901 opened this issue Nov 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Pycoder0901
Copy link

Search before asking

  • I searched in the issue and found nothing similar. | 我查找了并确认issue列表无相似报告。

Sonic version

最新版

Deploy platform

macOS

Minimal reproduce step

cn.hutool.core.io.IORuntimeException: ConnectException: Connection refused
at cn.hutool.http.HttpRequest.send(HttpRequest.java:1272)
at cn.hutool.http.HttpRequest.doExecute(HttpRequest.java:1137)
at cn.hutool.http.HttpRequest.execute(HttpRequest.java:1013)
at cn.hutool.http.HttpRequest.execute(HttpRequest.java:989)
at org.cloud.sonic.driver.common.tool.RespHandler.getResp(RespHandler.java:45)
at org.cloud.sonic.driver.common.tool.RespHandler.getResp(RespHandler.java:39)
at org.cloud.sonic.driver.ios.service.impl.WdaClientImpl.appActivate(WdaClientImpl.java:338)
at org.cloud.sonic.driver.ios.IOSDriver.appActivate(IOSDriver.java:369)
at org.cloud.sonic.agent.tests.handlers.IOSStepHandler.openApp(IOSStepHandler.java:427)
at org.cloud.sonic.agent.tests.handlers.IOSStepHandler.openScheme(IOSStepHandler.java:2140)
at org.cloud.sonic.agent.tests.handlers.IOSStepHandler.loginApp(IOSStepHandler.java:2047)
at org.cloud.sonic.agent.tests.handlers.IOSStepHandler.runStep(IOSStepHandler.java:1910)
at org.cloud.sonic.agent.tests.handlers.NoneConditionHandler.runStep(NoneConditionHandler.java:46)
at jdk.internal.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:102)
at org.cloud.sonic.agent.aspect.IteratorAspect.around(IteratorAspect.java:25)
at jdk.internal.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:637)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:627)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:173)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
at org.cloud.sonic.agent.tests.handlers.NoneConditionHandler$$SpringCGLIB$$0.runStep()
at org.cloud.sonic.agent.tests.handlers.StepHandlers.runStep(StepHandlers.java:42)
at org.cloud.sonic.agent.tests.ios.IOSRunStepThread.run(IOSRunStepThread.java:95)
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:554)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
at java.base/java.net.Socket.connect(Socket.java:633)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:533)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:638)
at java.base/sun.net.www.http.HttpClient.(HttpClient.java:281)
at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:386)
at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:408)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1430)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1401)
at cn.hutool.http.HttpConnection.getOutputStream(HttpConnection.java:449)
at cn.hutool.http.HttpRequest.sendFormUrlEncoded(HttpRequest.java:1295)
at cn.hutool.http.HttpRequest.send(HttpRequest.java:1264)

Are you willing to submit a PR?

  • I'm willing to submit a PR! | 我将发起PR!
@Pycoder0901 Pycoder0901 added the bug Something isn't working label Nov 19, 2024
@ZhouYixun
Copy link
Member

连不上手机了,重启手机试试吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants