Good Morning/Afternoon, Mr. Garg,I am currently having a problem with the Server mode of the Remote probe for CloudProber. Currently, I have a Python script that listens on STDIN, deserializes the Protobuf data into a ProbeRequest, serializes a response into a ProbeReply and spits it back out to STDOUT.However, I am having a problem where CloudProber (and looking at the codebase, Go's context module) complaining about context timeout exceeded. I know for sure that the script responds well within the timeout (I have tried raising the timeout to enormous amounts as well). Is there any specific format of an output CloudProber is expecting for accepting ProbeReply serialized protobuf data?--Sincerely,Alastair ParagasOpenLab Summer Student Researcher, CERN (European Organization for Nuclear Research)Software Engineer, Apple Inc.
alastai...@gmail.com
Good Morning/Afternoon, Mr. Garg,Sorry for the late notice but I managed to figure it out! I got my Python prober working with CloudProber.Many thanks for a great project!On Fri, Sep 29, 2017 at 10:36 PM, Manu Garg <manu...@gmail.com> wrote:Hello Alastair,I am sorry, I forgot to reply you. I think what you're missing is Content-Length header.Please take a look at this Go code for what's expected on stdout:I'll add server libraries for python as well to make this part easy.
Good luck. Let me know how it goes.
On Tue, Sep 12, 2017 at 1:24 PM, Alastair Paragas <alastai...@gmail.com> wrote:
Good Morning/Afternoon, Mr. Garg,I compiled against the latest commits and it still seems that I am getting a context deadline exceeded for my Probe Reply. I know up to this point that my server probe works all the way but cloud prober is complaining about context deadline exceeded.I am sending a protobuf serialized ProbeReply to stdout and flushing it. Is there a protocol that I have to abide by to make this work or would what I am doing (snapshot attached) work just as well?
On Fri, Sep 8, 2017 at 2:55 PM, Alastair Paragas <alastai...@gmail.com> wrote:
Good Morning/Afternoon, Mr. Garg,Thank you for the prompt response! I will check on that. I see some commits from 2 days ago so that might change it.
Software Engineer Intern, Apple Inc.
alastai...@gmail.com
--
Sincerely,Alastair ParagasOpenLab Summer Student Researcher, CERN (European Organization for Nuclear Research)
Software Engineer Intern, Apple Inc.
alastai...@gmail.com
--Sincerely,Alastair Paragas
Software Engineer, Apple Inc.
alastai...@gmail.com