- JohnSnowActive particpant
- Posts : 13
Join date : 2017-03-23
How can I fix it? TCP PORT Exhaustion
Wed Apr 19, 2017 3:29 pm
I create a program using Selenium WebDriver with Firefox 46.0.1. The program does a bunch of work automatically. When I opened 3 instances of the execution file of the program, a WebDriverException threw as follow:
Please help me to get rid of it. Thank you so much!
- Code:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
OpenQA.Selenium.WebDriverException: Unexpected error. System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full 127.0.0.1:7059
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Firefox.FirefoxDriverCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Firefox.FirefoxDriver..ctor(FirefoxBinary binary, FirefoxProfile profile, ICapabilities capabilities, TimeSpan commandTimeout)
at OpenQA.Selenium.Firefox.FirefoxDriver..ctor(FirefoxBinary binary, FirefoxProfile profile, TimeSpan commandTimeout)
at myapps.methods001_Timer_Tick(Object sender, EventArgs e)
at NISysTem.methods002_Timer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Please help me to get rid of it. Thank you so much!
- TCP port exhaustion occurred when I was using Multi-Firefox Webdriver
- Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output
- Unable to connect to host 127.0.0.1 on port 7055
- Still getting "unable to connect to host 127.0.0.1 on port 7055 after 45000 ms"
- Unable to bind to locking port 7054 within 45000 ms
Permissions in this forum:
You cannot reply to topics in this forum
|
|