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 }}
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.
I encountered the exception below while I was trying to run the example appium test with my app's parameters (testobject_api_key, appium url) over https. I only modified the api key and the server address in the example project. The test works as expected if I change the appium url from https to http.
I created the same project with the java-binding and it works as expected both over http and https.
OpenQA.Selenium.WebDriverException : A exception with a null response was thrown sending an HTTP request to the remote WebDriver server for URL https://eu1.appium.testobject.com/wd/hub/session. The status of the exception was SendFailure, and the message was: The underlying connection was closed: An unexpected error occurred on a send.
----> System.Net.WebException : The underlying connection was closed: An unexpected error occurred on a send.
----> System.IO.IOException : Authentication failed because the remote party has closed the transport stream.
TearDown : System.NullReferenceException : Object reference not set to an instance of an object.
at OpenQA.Selenium.Appium.Service.AppiumCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Appium.AppiumDriver`1..ctor(Uri remoteAddress, ICapabilities desiredCapabilities)
at AppiumBasicSetup.BasicTest.SetUp() in C:\Users\tbalogh\dev\appium-c-sharp\AppiumBasicSetup\BasicTest.cs:line 23
--WebException
at System.Net.HttpWebRequest.GetResponse()
at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse(WebRequest request)
--IOException
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
--TearDown
at AppiumBasicSetup.BasicTest.TearDown() in C:\Users\tbalogh\dev\appium-c-sharp\AppiumBasicSetup\BasicTest.cs:line 35
The text was updated successfully, but these errors were encountered:
tbalogh
changed the title
WebDriverException while running test with appium over HTTPS
WebDriverException while running appium test over HTTPS
Jul 28, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I encountered the exception below while I was trying to run the example appium test with my app's parameters (testobject_api_key, appium url) over https. I only modified the api key and the server address in the example project. The test works as expected if I change the appium url from https to http.
I created the same project with the java-binding and it works as expected both over http and https.
You can find the repository of the c# and java examples here: https://github.com/tbalogh/testobject-appium-test
The text was updated successfully, but these errors were encountered: