Azoff, Justin S
jazoff at illinois.edu
Sat Jan 28 11:28:57 PST 2017
> On Jan 27, 2017, at 11:49 PM, Dave Crawford <bro at pingtrip.com> wrote:
> I’m testing a new script in 2.5 that uses ActiveHTTP but I'm unable to retrieve the response. With a simple test script of:
> when ( local resp = ActiveHTTP::request([$url="https://www.google.com/"]) )
> print “Inside the Matrix."
> I can see the ActiveHTTP request was successful based on the temporary files created:
> -rw-r--r-- 1 dave wheel 162 Jan 27 23:43 /tmp/bro-activehttp-HJKhXt6UYXi_body
> -rw-r--r-- 1 dave wheel 163 Jan 27 23:43 /tmp/bro-activehttp-HJKhXt6UYXi_headers
> But the print statement within the when block never executes. Any ideas what I’m missing?
If you still have the temp files it means something went wrong along the way. Is bro writing out a reporter.log?
- Justin Azoff
More information about the Bro