This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268445 - Slow file upload (sftp)
Summary: Slow file upload (sftp)
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 8.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-10 11:41 UTC by el_vato
Modified: 2017-03-07 08:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description el_vato 2016-10-10 11:41:12 UTC
File upload is very slow, takes about 11 seconds before the "connection to ..." appears
then it disconnects and starts over again and again 11 seconds before "connection to ..." appears. actual file upload is fast

running a fresh install of macOS Sierra.
local network linux servers (multiple, all slow)
using keys for authentication
access from the terminal with SSH is normal.


---- connection log -----

Connecting to 192.168.11.68 port 22
Connection established
Remote version string: SSH-2.0-OpenSSH_6.6.1
Local version string: SSH-2.0-JSCH-0.1.53
CheckCiphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
aes256-ctr is not available.
aes192-ctr is not available.
aes256-cbc is not available.
aes192-cbc is not available.
CheckKexes: diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
SSH_MSG_KEXINIT sent
SSH_MSG_KEXINIT received
kex: server: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
kex: server: ssh-rsa,ecdsa-sha2-nistp256
kex: server: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
kex: server: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
kex: server: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
kex: server: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
kex: server: none,zlib@openssh.com
kex: server: none,zlib@openssh.com
kex: server:
kex: server:
kex: client: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
kex: client: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc
kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc
kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
kex: client: none
kex: client: none
kex: client:
kex: client:
kex: server->client aes128-ctr hmac-md5 none
kex: client->server aes128-ctr hmac-md5 none
SSH_MSG_KEX_ECDH_INIT sent
expecting SSH_MSG_KEX_ECDH_REPLY
ssh_rsa_verify: signature true
Host '192.168.11.68' is known and matches the RSA host key
SSH_MSG_NEWKEYS sent
SSH_MSG_NEWKEYS received
SSH_MSG_SERVICE_REQUEST sent
SSH_MSG_SERVICE_ACCEPT received
Authentications that can continue: gssapi-with-mic,publickey,keyboard-interactive,password
Next authentication method: gssapi-with-mic
Authentications that can continue: publickey,keyboard-interactive,password
Next authentication method: publickey
Authentications that can continue: password
Next authentication method: password
Disconnecting from 192.168.11.68 port 22
Connecting to 192.168.11.68 port 22
Connection established
Remote version string: SSH-2.0-OpenSSH_6.6.1
Local version string: SSH-2.0-JSCH-0.1.53
CheckCiphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
aes256-ctr is not available.
aes192-ctr is not available.
aes256-cbc is not available.
aes192-cbc is not available.
CheckKexes: diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
SSH_MSG_KEXINIT sent
SSH_MSG_KEXINIT received
kex: server: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
kex: server: ssh-rsa,ecdsa-sha2-nistp256
kex: server: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
kex: server: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
kex: server: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
kex: server: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
kex: server: none,zlib@openssh.com
kex: server: none,zlib@openssh.com
kex: server:
kex: server:
kex: client: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
kex: client: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc
kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc
kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
kex: client: none
kex: client: none
kex: client:
kex: client:
kex: server->client aes128-ctr hmac-md5 none
kex: client->server aes128-ctr hmac-md5 none
SSH_MSG_KEX_ECDH_INIT sent
expecting SSH_MSG_KEX_ECDH_REPLY
ssh_rsa_verify: signature true
Host '192.168.11.68' is known and matches the RSA host key
SSH_MSG_NEWKEYS sent
SSH_MSG_NEWKEYS received
SSH_MSG_SERVICE_REQUEST sent
SSH_MSG_SERVICE_ACCEPT received
Authentications that can continue: gssapi-with-mic,publickey,keyboard-interactive,password
Next authentication method: gssapi-with-mic
Authentications that can continue: publickey,keyboard-interactive,password
Next authentication method: publickey
Authentication succeeded (publickey).
CWD /var/www/CORE
Directory successfully changed.
PWD
/var/www/CORE
CWD /var/www/CORE
Directory successfully changed.
LIST
Here comes the directory listing.
Directory send OK.
CWD /var/www/CORE
Directory successfully changed.
LIST
Here comes the directory listing.
Directory send OK.
CWD /var/www/CORE
Directory successfully changed.
STOR index.php
File receive OK.
QUIT
Goodbye

Summary
====================
Succeeded:
file      index.php
Runtime: 10 ms, processed: 1 file(s), 0.764 KB
Comment 1 el_vato 2016-10-10 11:53:32 UTC
same issue with SVN, also very slow
Comment 2 el_vato 2016-10-10 11:56:23 UTC
==[IDE]== Oct 10, 2016 1:50:13 PM Preparing Commit...
==[IDE]== Oct 10, 2016 1:50:14 PM Preparing Commit... finished.
==[IDE]== Oct 10, 2016 1:50:58 PM Committing...
commit -m "- updates for database usage..." (8 paths specified)
svn: E200015: authentication cancelled
svn: E200015: authentication cancelled
commit -m "- updates for database usage..." (8 paths specified)
Sending        /Users/something/Projects/RPI/RBPI/lib/database.js
Deleting       /Users/something/Projects/RPI/RBPI/lib/functions.js
Sending        /Users/something/Projects/RPI/RBPI/lib/librpi.js
Sending        /Users/something/Projects/RPI/RBPI/lib/rest.js
Sending        /Users/something/Projects/RPI/RBPI/lib/system.js
Sending        /Users/something/Projects/RPI/RBPI/routes/download.js
Sending        /Users/something/Projects/RPI/RBPI/routes/index.js
Sending        /Users/something/Projects/RPI/RBPI/server.js
Transmitting file data ...
Committed revision 42.
Revision: 42
Author  : ivob
Date    : Oct 10, 2016 2:06:58 PM
- updates for database usage
- single database
- close and open database after 100 saves

==[IDE]== Oct 10, 2016 1:54:28 PM Committing... finished.
Comment 3 el_vato 2016-10-11 09:18:07 UTC
Found something very weird. If I start Coda (IDE from Panic) everything (both SFTP and SVN) is working normal. 

When I close Coda everything is slow again (after a few seconds).


I installed Coda recently when the problem already existed.
Comment 4 marciuz 2017-01-02 12:10:51 UTC
Me too I have this problem: for my style of Netbeans' use this problem is really big...  I tried to install Coda and replicate the strange situation reported below and... works!
Comment 5 marciuz 2017-01-20 22:17:23 UTC
The solution is simple: add your Mac name at the end of these two lines in your /etc/hosts file :

127.0.0.1   localhost your-mac-name.local
::1         localhost your-mac-name.local

(from this post: https://netbeans.org/bugzilla/show_bug.cgi?id=268997)
Comment 6 Tomas Hurka 2017-02-14 08:35:41 UTC
For the workaround, this looks like JDK problem.
Comment 7 cokarmando 2017-02-28 17:30:28 UTC
Hello I have got the same problem, Mac too. I've downloaded the last SDK and continues with the problem too.
Comment 8 cokarmando 2017-02-28 17:30:51 UTC
Hello I have got the same problem, Mac too. I've downloaded the last SDK and continues with the problem too.
Comment 9 cokarmando 2017-02-28 17:30:54 UTC
Hello I have got the same problem, Mac too. I've downloaded the last SDK and continues with the problem too.
Comment 10 cokarmando 2017-03-02 18:20:28 UTC
Hello!,

I can confirm the same that tells el_vato@netbeans.org, Open Coda and the all works again.

XD

Thanks, Isn't the solution but is going to save me a lot of time!
Comment 11 el_vato 2017-03-07 08:19:05 UTC
(In reply to marciuz from comment #5)
> The solution is simple: add your Mac name at the end of these two lines in
> your /etc/hosts file :
> 
> 127.0.0.1   localhost your-mac-name.local
> ::1         localhost your-mac-name.local
> 
> (from this post: https://netbeans.org/bugzilla/show_bug.cgi?id=268997)

This solved my problem. Muchos gracias!