Ardesco / appium-maven-plugin

A maven plugin for appium
Apache License 2.0
4 stars 1 forks source link

Getting org.apache.http.conn.HttpHostConnectException error #5

Open JayChhabra opened 7 years ago

JayChhabra commented 7 years ago

Hi,

I have configured this plugin into my pom.xml after running it am getting following error

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 80.956 s <<< FAILURE! - in Script [ERROR] script(Script) Time elapsed: 10.55 s <<< FAILURE! java.lang.AssertionError: Exception occured while creating mobile driver[Ljava.lang.StackTraceElement;@47eaca72

caused by: org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: 'Macs-Mac-mini.local', ip: '...', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.6', java.version: '1.8.0_111' Driver info: driver.version: RemoteWebDriver

Caused by: org.apache.http.conn.HttpHostConnectException: Connect to 127.0.0.1:4788 [/127.0.0.1] failed: Connection refused (Connection refused)

Please help!!

Thanks

Ardesco commented 7 years ago

Can you provide your POM please

Ardesco commented 7 years ago

I can't do much without seeing what you have put in your POM, have you followed all the instructions in the README.md?