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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...