WebPagetest Forums
Unable to generate HAR file. - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Unable to generate HAR file. (/showthread.php?tid=14228)

Unable to generate HAR file. - abhishekb - 02-26-2016 04:40 PM

I am trying to spawn a test on my private instance on amazon EC2 with following params:
params = {
'url': 'http://dailymail.co.uk/travel/index.html',
'f': 'json',
'script': script,
'runs': 3,
'video': 1,
'cmdline': '--use-spdy=off',
'web10': 0,
'fvonly': 1,
'mv': 1,
'private': 1,
'location': '<location name>'

script = "akamai pragma headers and navigate http://dailymail.co.uk/travel/index.html"

The test spawns properly but after the completion when we try to generate the HAR it gives a 500 error.

Extra Info:
When we tried to debug the php code we traced the problem to following piece of code:
“explode("\t”,str_replace("\t", "\t ", $line))”