- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
05-14-2019 10:59 PM
Hello everyone,
I try to create a web connector through PGU 1.2 but on the stage that recording starts chrome open and closes instantly. Error on logs is the following . (i had the error once again but i restarted the server and manage to run PGU correctly once)
ERROR -> <>c__DisplayClass45_0 :: <HandleExceptionAsync>b__0 -> Start record failed Exception Details: OpenQA.Selenium.WebDriverException: A exception with a null response was thrown sending an HTTP request to the remote WebDriver server for URL http://localhost:64829/session/86943622e4095887bbb035311f1c3a40/window_handles. The status of the exception was ConnectFailure, and the message was: Unable to connect to the remote server ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted 127.0.0.1:64829
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, Exception& exception)
--- End of inner exception stack trace ---
05-14-2019 11:38 PM
Seems the problem is Chrome browser version, if you are running version 74, downgrade it to 71 and it shall work seem-less, let me know how it goes?
Thanks,
05-14-2019 11:45 PM
Can you post the error logs from PGU folder?
05-14-2019 11:45 PM
Can you post the error logs from PGU folder?
05-15-2019 12:05 AM
15/05/2019 08:55:52.781 | ERROR -> <>c__DisplayClass45_0 :: <HandleExceptionAsync>b__0 -> Start record failed Exception Details: OpenQA.Selenium.WebDriverException: A exception with a null response was thrown sending an HTTP request to the remote WebDriver server for URL http://localhost:64829/session/86943622e4095887bbb035311f1c3a40/window_handles. The status of the exception was ConnectFailure, and the message was: Unable to connect to the remote server ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted 127.0.0.1:64829
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, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
--- End of inner exception stack trace ---
at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.get_WindowHandles()
at Cyberark.PGU.PSMCC.Logic.SeleniumDriverService`2.get_WindowHandles()
at Cyberark.PGU.PSMCC.Logic.ChromeService.StartRecord(CancellationToken ct)
at Cyberark.PGU.PSMCC.Logic.WebRecordingService.StartRecord(Int32 actionTimeout, Int32 pageLoadTimeout, String url, CancellationToken ct)
at Cyberark.PGU.PSMCC.UI.UserControls.ViewModels.RecordingControlViewModel.PreapreRecording()
15/05/2019 08:55:52.802 | Info -> WebAppDispatcherService :: .ctor -> Driver folder: C:\Cyberark Files\Plugin Generator Utility 1.2\Selenium
05-15-2019 12:08 AM
Seems from the machine you are trying to create the web connector is not reachable, can you try opening the URL on chrome browser on same machine you are running PGU from?
05-15-2019 12:08 AM
Seems from the machine you are trying to create the web connector is not reachable, can you try opening the URL on chrome browser on same machine you are running PGU from?
05-15-2019 12:12 AM
Already did .. URL is open (with a certificate error) through chrome on the same machine.
06-18-2019 11:32 PM
A small update. I did not manage to resolve the issue, but by disabling/enabling ethernet PGU is working again (once or twice) than another disable-enable needed.
As far as i understand, it keep connections open when program closes.
06-24-2019 12:33 AM
I have installed V71 Chrome on CPM machine and also able to open URL from CPM server
Still i am getting http://localhost/;63096/ session timeout after 60 sec error..
Any suggestion.
06-24-2019 12:33 AM
I have installed V71 Chrome on CPM machine and also able to open URL from CPM server
Still i am getting http://localhost/;63096/ session timeout after 60 sec error..
Any suggestion.
06-24-2019 12:40 AM
Is that you are trying to create a CPM plugin or Web based CPM plugin, plz elaborate more on problem statement??
06-24-2019 12:40 AM
Is that you are trying to create a CPM plugin or Web based CPM plugin, plz elaborate more on problem statement??
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

