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: http://mailman.rz.uni-augsburg.de/mailman/listinfo/stats-rosuda-devel Hope this helps, Matt Wiener -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of jaydeep chovatia Sent: Monday, July 17, 2006 12:52 AM To: r-help at stat.math.ethz.ch Cc: washu_feclient at persistent.co.in Subject: [R] Handshake exception in Rserve [Broadcast] Hello, 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, Jaydeep DISCLAIMER\ ==========\ This e-mail may contain privileged a...{{dropped}} ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html