All Apps and Add-ons

Python selenium script running through Splunk forwarder

sreebind
New Member

we are using Splunk Synthetic App in order to set up and run some transactions that I created with Python selenium script. I am running into problems when I try and get Splunk to run my Python program(which runs on chrome). This was working fine till last week and started failing. Tried to update the Splunk forwarder to a latest version and still its failing. The program runs fine through command line. any help on why it's failing is greatly helpful. Thanks in advance

Tags (1)
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@sreebind

Any error from selenium ?

0 Karma

sreebind
New Member

In splunk logs I see this

File "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py", line 14, in
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" wd = webdriver.Chrome()
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" File "C:\Program Files (x86)\Python36-32\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 69, in init
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" desired_capabilities=desired_capabilities)
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" File "C:\Program Files (x86)\Python36-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 92, in init
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" self.start_session(desired_capabilities, browser_profile)
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" File "C:\Program Files (x86)\Python36-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 179, in start_session
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" response = self.execute(Command.NEW_SESSION, capabilities)
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" File "C:\Program Files (x86)\Python36-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 238, in execute
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" self.error_handler.check_response(response)
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" File "C:\Program Files (x86)\Python36-32\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 193, in check_response
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" raise exception_class(message, screen, stacktrace)
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" selenium.common.exceptions.WebDriverException: Message: session not created
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" from disconnected: Unable to receive message from renderer
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" (Session info: chrome=73.0.3683.86)
04-04-2019 14:30:18.526 -0400 ERROR ExecProcessor - message from "python "C:\Program Files\SplunkUniversalForwarder\etc\apps\splunk-app-synthetic\bin\insideGraphDebug.py"" (Driver info: chromedriver=2.46.628402 (536cd7adbad73a3783fdc2cab92ab2ba7ec361e1),platform=Windows NT 6.1.7601 SP1 x86_64)

0 Karma
Get Updates on the Splunk Community!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...