On 6 December 2011 14:06, iyerbalaji <[email protected]> wrote: > Hi, > > I tried using stunnel to accept FTP connections and forwarding it to sftp > server.Jmeter connects to localhost and then to the server successfully. > > Problem -1 : > > While uploading/downloading a file from the server Jmeter displays the > following error message in response: > > ------------------ > Response code:000 > Response message: java.io.IOException: Host attempting data connection > 192.168.10.52 is not same as server 127.0.0.1 > ------------------ > where : 192.168.10.52 is sftp server ip. > > Problem - 2 : > > Also, when observed in stunnel log the socket gets closed while reading for > data immediately after it has negotiated for ciphers. > > ------------------ > "2011.12.06 19:31:59 LOG6[6956:2460]: SSL connected: new session negotiated > 2011.12.06 19:31:59 LOG6[6956:2460]: Negotiated ciphers: AES128-SHA SSLv3 > Kx=RSA Au=RSA Enc=AES(128) Mac=SHA1 > 2011.12.06 19:32:00 LOG7[6956:2460]: Socket closed on read > 2011.12.06 19:32:00 LOG7[6956:2460]: Sending SSL write shutdown > 2011.12.06 19:32:00 LOG7[6956:2460]: SSL alert (write): warning: close > notify > 2011.12.06 19:32:00 LOG6[6956:2460]: SSL_shutdown successfully sent > close_notify > 2011.12.06 19:32:01 LOG7[6956:2460]: SSL alert (read): warning: close notify > 2011.12.06 19:32:01 LOG7[6956:2460]: SSL closed on SSL_read > 2011.12.06 19:32:01 LOG7[6956:2460]: Sending socket write shutdown > 2011.12.06 19:32:01 LOG5[6956:2460]: Connection closed: 72 bytes sent to > SSL, 468 bytes sent to socket > 2011.12.06 19:32:01 LOG7[6956:2460]: Service sftp finished (0 left) > 2011.12.06 19:32:01 LOG7[6956:2460]: str_stats: 0 block(s), 0 data byte(s), > 0 control byte(s) > ---------------- > > Any suggestions?
Try the same command using an FTP client via the tunnel. I suspect you may need to use Passive Mode to ensure the client works via the tunnel. Unfortunately JMeter does not support PASV mode currently. [Feel free to raise a Bugzilla enhancement for this.] > > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Jmeter-support-for-FTPS-FTP-over-SSL-and-SFTP-FTP-over-SSH-tp5037601p5052166.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
