<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Massimo,<div class=""><br class=""></div><div class="">now it works all properly :)</div><div class=""><br class=""></div><div class="">Thank you very much for your help.</div><div class=""><br class=""></div><div class="">Ciao,</div><div class="">Roberto Nunziato</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Il giorno 10 feb 2017, alle ore 11:55, Massimo Candela <<a href="mailto:mcandela@ripe.net" class="">mcandela@ripe.net</a>> ha scritto:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Roberto,<div class=""><br class=""></div><div class="">Our fault, endTime has been deprecated in favour of stopTime** but we didn’t update the documentation correctly. It will be updated with the next deployment, shortly.</div><div class=""><br class=""></div><div class="">If you set an endTime it will be ignored and you will keep getting measurement results.</div><div class="">On the error subscription you should receive a warning asking you to switch to stopTime instead.</div><div class=""><br class=""></div><div class="">Sorry for the inconvenience</div><div class=""><br class=""></div><div class="">** this is because stopTime and endTime were not used consistently before among our APIs/tools. Now everything should be stopTime.</div><div class=""><br class=""></div><div class="">Ciao,</div><div class="">Massimo</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 10 Feb 2017, at 10:26, Roberto Nunziato <<a href="mailto:roberto.nunziato@gmail.com" class="">roberto.nunziato@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span style="font-family: TimesNewRomanPSMT; background-color: rgb(255, 255, 255);" class="">Hello everybody, </span><br style="font-family: TimesNewRomanPSMT;" class=""><br style="font-family: TimesNewRomanPSMT;" class=""><span style="font-family: TimesNewRomanPSMT; background-color: rgb(255, 255, 255);" class="">I am an Italian student and I am working with the RIPE Atlas Streaming API.</span><br style="font-family: TimesNewRomanPSMT;" class=""><span style="font-family: TimesNewRomanPSMT; background-color: rgb(255, 255, 255);" class="">I am trying to replay events that have happened in the past, so I am using</span><br style="font-family: TimesNewRomanPSMT;" class=""><span style="font-family: TimesNewRomanPSMT; background-color: rgb(255, 255, 255);" class="">the optional parameter endTime in the code below. </span><br style="font-family: TimesNewRomanPSMT;" class=""><br style="font-family: TimesNewRomanPSMT;" class=""><span style="font-family: TimesNewRomanPSMT; background-color: rgb(255, 255, 255);" class="">Now, the stream starts at the specified time but it never ends.</span><br style="font-family: TimesNewRomanPSMT;" class=""><span style="font-family: TimesNewRomanPSMT; background-color: rgb(255, 255, 255);" class="">Am I doing anything wrong? Is this a bug?</span><div class=""><span style="font-family: TimesNewRomanPSMT; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><div class="" style="font-family: TimesNewRomanPSMT;">var socket = io(“<font class=""><a href="https://atlas-stream.ripe.net/" class="">https://atlas-stream.ripe.net</a>:443</font>” , {path: “/stream/<a href="http://socket.io/" class="">socket.io</a>”});</div><div class="" style="font-family: TimesNewRomanPSMT;">startTime = 1486256400 //05-02-17 h: 01:00GMT<span class="Apple-tab-span" style="white-space: pre;"> </span></div><div class="" style="font-family: TimesNewRomanPSMT;">endTime = 1486258200 //05-02-17 h: 01:30GMT</div><div class="" style="font-family: TimesNewRomanPSMT;">socket.emit(“atlas_subscribe”, {stream_type: “result”, startTime: startTime, endTime: endTime, msm: 1962548});</div></div><div class=""><span style="font-family: TimesNewRomanPSMT; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="font-family: TimesNewRomanPSMT; background-color: rgb(255, 255, 255);" class="">Best,</span><br style="font-family: TimesNewRomanPSMT;" class=""><span style="font-family: TimesNewRomanPSMT; background-color: rgb(255, 255, 255);" class="">Roberto Nunziato</span></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>