Re: [R] Handshake exception in Rserve [Broadcast]

From: Wiener, Matthew <>
Date: Mon 17 Jul 2006 - 22:46:27 EST

We had something similar, and as far as I recall the problem turned out to be that we had not set the config file to allow remote connections.

This would probably be better put on the Rosuda mailing list:

Hope this helps,

Matt Wiener

-----Original Message-----
[] On Behalf Of jaydeep chovatia Sent: Monday, July 17, 2006 12:52 AM
Subject: [R] Handshake exception in Rserve [Broadcast]


We are facing some problem while calling a Rserve API from our Java client. The details are as below:  

  1. We have installed Rserve on linux machine "Nagarajan"(Port: 6311) and related modules.
  2. We have started the Rserve in daemon mode perfectly by executing the comman " R CMD Rserve" on the linux machine.

But when the Java client executes the statement: Rconnection c = new Rconnection ("Nagrajan", 6311), we are getting an exception: "handshake exception: expected 32 bytes received -1 byte".  

It would be really great if you could help us out to resolve the issue or provide a probable root cause of the problem.  

Thank you,


DISCLAIMER\ ==========\ This e-mail may contain privileged a...{{dropped}} mailing list PLEASE do read the posting guide! mailing list PLEASE do read the posting guide! Received on Mon Jul 17 23:04:35 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 18 Jul 2006 - 00:16:27 EST.

Mailing list information is available at Please read the posting guide before posting to the list.