springernature / boomcatch

A standalone, node.js-based beacon receiver for boomerang.
GNU General Public License v3.0
110 stars 33 forks source link

Boomcatch: TypeError Issue - Running Boomcatch with waterfall mapper #86

Open sivakumarp0030 opened 7 years ago

sivakumarp0030 commented 7 years ago

HI @philbooth /Team

Am trying to run the boomcatch with waterfall mapper using the following command "boomcatch --port 8888 --host 127.0.0.1 -m waterfall -T template.html" and boomcatch started . After refreshing my webpage am getting the boomcatch: TypeError:

Pls take look at the error message! 2017-06-14 13:48:25 INFO boomcatch: starting boomcatch in process 5349 with options: { "port": 8888, "host":127.0.0.1, "mapper": "waterfall", "svgTemplate": "template.html", "log": {}, "workers": 4 } 2017-06-14 13:48:25 INFO boomcatch: worker 5365 started 2017-06-14 13:48:25 INFO boomcatch: worker 5360 started 2017-06-14 13:48:25 INFO boomcatch: worker 5359 started 2017-06-14 13:48:25 INFO boomcatch: worker 5354 started 2017-06-14 13:48:25 INFO boomcatch: listening for 127.0.0.1:8888/beacon 2017-06-14 13:48:25 INFO boomcatch: listening for 127.0.0.1:888/beacon 2017-06-14 13:48:25 INFO boomcatch: listening for 127.0.0.1:888/beacon 2017-06-14 13:48:25 INFO boomcatch: listening for 127.0.0.1:888/beacon 2017-06-14 13:48:51 INFO boomcatch: referer=http://localhost:8080/home.html user-agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 address=127.0.0.1[localhost] method=GET url=/beacon?u=http%3A%2F%2F10.11.128.161%3A8080%2FCOE%2Fhtml%2Fhome.html&v=%25boomerang_version%25&vis.st=visible&ua.plt=Win32&ua.vnd=Google%20Inc.&pid=9ar6036k&rt.tstart=1497428185546&rt.bstart=1497428185895&rt.end=1497428331472&t_done=145926&rt.quit= 2017-06-14 13:48:51 INFO boomcatch: sent 0 bytes 2017-06-14 13:48:51INFO boomcatch: referer=http://localhost:8080/home.html user-agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 address=127.0.0.1[localhost] method=POST url=/beacon

2017-06-14 13:48:52 ERROR boomcatch: 400 Invalid data 2017-06-14 13:48:52 ERROR boomcatch: TypeError: Cannot read property 'timestamps' of undefined

at mapResource (/usr/local/lib/node_modules/boomcatch/src/mappers/waterfall/index.js:109:21)
at Array.map (native)
at map (/usr/local/lib/node_modules/boomcatch/src/mappers/waterfall/index.js:96:32)
at send (/usr/local/lib/node_modules/boomcatch/src/index.js:656:22)
at emitNone (events.js:67:13)
at IncomingMessage.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:903:12)
at doNTCallback2 (node.js:439:9)
at process._tickCallback (node.js:353:17) 

Please Forgive me if i might have just missed out anything, But i'd love to hear from you guys about this issue .

Kindly help !

Thanks Siva.P