You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Getting org.openqa.selenium.WebDriverException: java.net.SocketException on Java client 6.0.0-Beta5 and 6.0.0 versions #922
Hello, @SrinivasanTarget , I update the server version to 1.8.1, and I still have the issue, that is reproducible in my test cases, not intermittent. This is the log:
I am able to build the project but now block with below issue as I am not able to init Page Object.
ExceptionI while trying to Initialise Page factory with Java client 6.0.0 #949
I am using Java client 6.0.0 and face the same issue, I think everyone using page factory framework and facing this issue. Can anyone fix this? Please describe in detail, how it gonna be fixed
Activity
Gocoollnath commentedon Jun 1, 2018
@sravanmedarapu @dpgraham Could any light be thrown into this issue,please?
ElenaAlejo commentedon Jun 12, 2018
I am also getting an org.openqa.selenium.WebDriverException, java.net.SocketException.
Reproducible with version java client version 6.0.0 only
SrinivasanTarget commentedon Jun 12, 2018
@Gocoollnath @ElenaAlejo I couldn't reproduce this issue in latest java client(6.0.0) and server version(1.8.1).
Gocoollnath commentedon Jun 12, 2018
@SrinivasanTarget the issue is not continuous. It occurs sparingly
SrinivasanTarget commentedon Jun 12, 2018
@Gocoollnath @ElenaAlejo Have been running tests since then the versions are out. I couldn't reproduce it. So its hard to solve atleast from my end.
ElenaAlejo commentedon Jun 13, 2018
Hello, @SrinivasanTarget , I update the server version to 1.8.1, and I still have the issue, that is reproducible in my test cases, not intermittent. This is the log:
https://gist.github.com/ElenaAlejo/79d21d5c8284b24e8b74202de2c00cb7
Stack trace:
Message: org.openqa.selenium.WebDriverException: java.net.SocketException: Connection reset
Build info: version: '3.12.0', revision: '7c6e0b3', time: '2018-05-08T14:04:26.12Z'
System info: host: 'MacBook-Pro-de-elena.local', ip: 'fe80:0:0:0:8b9:df9e:95df:fa45%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.2', java.version: '1.8.0_151'
Driver info: driver.version: IOSDriver
Stack Trace:
io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:233)
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543)
io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:46)
io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
io.appium.java_client.HasSessionDetails.getSessionDetails(HasSessionDetails.java:39)
io.appium.java_client.HasSessionDetails.getSessionDetail(HasSessionDetails.java:56)
io.appium.java_client.HasSessionDetails.getPlatformName(HasSessionDetails.java:65)
io.appium.java_client.pagefactory.AppiumFieldDecorator.(AppiumFieldDecorator.java:96)
commonsteps.Init.findByTags(Init.java:17)
Workaround:
I am using Java client 6.0.0-Beta5
saikrishna321 commentedon Jun 13, 2018
@ElenaAlejo there is fix in master #928 can you please try building latest from master n give it a try.
In my case the master code fixed this issue.
Siddh010 commentedon Jun 18, 2018
I am facing similar issue with Java client 5.0.0 versions also:-
Can you please let us know how to write details in pom.xml for java -client master code.
org.openqa.selenium.WebDriverException: java.net.SocketException: Connection reset
Build info: version: '3.12.0', revision: '7c6e0b3', time: '2018-05-08T14:04:26.12Z'
System info: host: 'gwgmobilabsiMac', ip: 'fe80:0:0:0:10e4:6e09:2a1:57de%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.4', java.version: '1.8.0_171'
Driver info: driver.version: IOSDriver
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:104)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
saikrishna321 commentedon Jun 18, 2018
@Siddh010 clone master and run
./gradlew clean build -x test -x signArchivesand replace the .jar from build/ inside .m2 of io.java-clientSiddh010 commentedon Jun 19, 2018
I am able to build the project but now block with below issue as I am not able to init Page Object.
ExceptionI while trying to Initialise Page factory with Java client 6.0.0 #949
NavdeepSingh09 commentedon Jun 22, 2018
I am using Java client 6.0.0 and face the same issue, I think everyone using page factory framework and facing this issue. Can anyone fix this? Please describe in detail, how it gonna be fixed
saikrishna321 commentedon Jun 22, 2018
@NavdeepSingh09 Please use version 6.1.0
NavdeepSingh09 commentedon Jun 22, 2018
It's working Thanks