telnet slave

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

telnet slave

Aleksandar Kostadinov
Anybody used telnet to connect the slave where master on linux?

I get:

Unable to launch the slave agent for SLAVE-X
java.io.StreamCorruptedException: invalid stream header
        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)
        at hudson.remoting.Channel.<init>(Channel.java:170)
        at hudson.model.Slave$ComputerImpl.setChannel(Slave.java:351)
        at hudson.model.Slave$ComputerImpl$1.run(Slave.java:303)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)

Thanks,
Aleksandar

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: telnet slave

Aleksandar Kostadinov
and slave is windoz 2003 R2. Just want to initiate connections from
master but not install additional soft on the windows.

Aleksandar Kostadinov wrote, On 12/07/2007 07:10 PM (EEST):

> Anybody used telnet to connect the slave where master on linux?
>
> I get:
>
> Unable to launch the slave agent for SLAVE-X
> java.io.StreamCorruptedException: invalid stream header
> at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
> at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)
> at hudson.remoting.Channel.<init>(Channel.java:170)
> at hudson.model.Slave$ComputerImpl.setChannel(Slave.java:351)
> at hudson.model.Slave$ComputerImpl$1.run(Slave.java:303)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> Aleksandar
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: telnet slave

Kohsuke Kawaguchi
Administrator
In reply to this post by Aleksandar Kostadinov
Does telnet pass through binary? The communication between the master
and slave is a binary protocol, and looking at this error message that
seems to be interfering.

If that's indeed the issue, maybe I should support base64 encoded
communication or something. If you'd like that, please file an RFE.

2007/12/7, Aleksandar Kostadinov <[hidden email]>:

> Anybody used telnet to connect the slave where master on linux?
>
> I get:
>
> Unable to launch the slave agent for SLAVE-X
> java.io.StreamCorruptedException: invalid stream header
>         at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
>         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)
>         at hudson.remoting.Channel.<init>(Channel.java:170)
>         at hudson.model.Slave$ComputerImpl.setChannel(Slave.java:351)
>         at hudson.model.Slave$ComputerImpl$1.run(Slave.java:303)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
>
> Thanks,
> Aleksandar
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: telnet slave

stephenconnolly
BASE64 might be good for some of the Windows-Windows slaves as
well.... I'm thinking it might let PSEXEC work

On Dec 13, 2007 8:18 AM, Kohsuke Kawaguchi <[hidden email]> wrote:

> Does telnet pass through binary? The communication between the master
> and slave is a binary protocol, and looking at this error message that
> seems to be interfering.
>
> If that's indeed the issue, maybe I should support base64 encoded
> communication or something. If you'd like that, please file an RFE.
>
> 2007/12/7, Aleksandar Kostadinov <[hidden email]>:
>
> > Anybody used telnet to connect the slave where master on linux?
> >
> > I get:
> >
> > Unable to launch the slave agent for SLAVE-X
> > java.io.StreamCorruptedException: invalid stream header
> >         at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
> >         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)
> >         at hudson.remoting.Channel.<init>(Channel.java:170)
> >         at hudson.model.Slave$ComputerImpl.setChannel(Slave.java:351)
> >         at hudson.model.Slave$ComputerImpl$1.run(Slave.java:303)
> >         at
> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> >         at
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> >         at java.lang.Thread.run(Thread.java:595)
> >
> > Thanks,
> > Aleksandar
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>
>
> --
> Kohsuke Kawaguchi
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: telnet slave

Aleksandar Kostadinov
In reply to this post by Kohsuke Kawaguchi
Thanks for replying. I still don't know if telnet would support binary
i/o. I suspect it could disabling escape character and negotiating 8bit
i/o. But I'm facing a very odd expect program issue so couldn't test it
really.

When/if I manage to do that I'll report back. Anyway Base64 sounds like
a good option to me. I'll file a RFE if it appears to be required for
telnet.

Thanks,
Aleksandar

Kohsuke Kawaguchi wrote, On 12/23/-28158 09:59 PM (EEST):
> Does telnet pass through binary? The communication between the master
> and slave is a binary protocol, and looking at this error message that
> seems to be interfering.
>
> If that's indeed the issue, maybe I should support base64 encoded
> communication or something. If you'd like that, please file an RFE.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: telnet slave

Kohsuke Kawaguchi
Administrator
Looking at RFC854 <http://www.faqs.org/rfcs/rfc854.html>, telnet does
appear to be binary unsafe. You are probably referring to RFC856
<http://www.faqs.org/rfcs/rfc856.html> when speaking about "binary
i/o", but I like base64 option better as in that way this can work
with things other than telnet (like psexec, though I don't know if
it's binary safe or not.)

2007/12/13, Aleksandar Kostadinov <[hidden email]>:

> Thanks for replying. I still don't know if telnet would support binary
> i/o. I suspect it could disabling escape character and negotiating 8bit
> i/o. But I'm facing a very odd expect program issue so couldn't test it
> really.
>
> When/if I manage to do that I'll report back. Anyway Base64 sounds like
> a good option to me. I'll file a RFE if it appears to be required for
> telnet.
>
> Thanks,
> Aleksandar
>
> Kohsuke Kawaguchi wrote, On 12/23/-28158 09:59 PM (EEST):
> > Does telnet pass through binary? The communication between the master
> > and slave is a binary protocol, and looking at this error message that
> > seems to be interfering.
> >
> > If that's indeed the issue, maybe I should support base64 encoded
> > communication or something. If you'd like that, please file an RFE.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: telnet slave

Kohsuke Kawaguchi
Administrator
I implemented this in 1.161. When launching a slave agent on a remote
machine,  add the -text option like this:

  $ java -jar slave.jar -text

If you see "running in the text mode", you know that it has kicked in.

There's 33% loss of efficiency due to base64 but hopefully this would
work with telnet.


2007/12/13, Kohsuke Kawaguchi <[hidden email]>:

> Looking at RFC854 <http://www.faqs.org/rfcs/rfc854.html>, telnet does
> appear to be binary unsafe. You are probably referring to RFC856
> <http://www.faqs.org/rfcs/rfc856.html> when speaking about "binary
> i/o", but I like base64 option better as in that way this can work
> with things other than telnet (like psexec, though I don't know if
> it's binary safe or not.)
>
> 2007/12/13, Aleksandar Kostadinov <[hidden email]>:
> > Thanks for replying. I still don't know if telnet would support binary
> > i/o. I suspect it could disabling escape character and negotiating 8bit
> > i/o. But I'm facing a very odd expect program issue so couldn't test it
> > really.
> >
> > When/if I manage to do that I'll report back. Anyway Base64 sounds like
> > a good option to me. I'll file a RFE if it appears to be required for
> > telnet.
> >
> > Thanks,
> > Aleksandar
> >
> > Kohsuke Kawaguchi wrote, On 12/23/-28158 09:59 PM (EEST):
> > > Does telnet pass through binary? The communication between the master
> > > and slave is a binary protocol, and looking at this error message that
> > > seems to be interfering.
> > >
> > > If that's indeed the issue, maybe I should support base64 encoded
> > > communication or something. If you'd like that, please file an RFE.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>
>
> --
> Kohsuke Kawaguchi
>


--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...