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 243613 - When pushing to remote git, it was timeout(45 sec) before the push action had completed due to large files uploaded
Summary: When pushing to remote git, it was timeout(45 sec) before the push action had...
Status: REOPENED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-06 20:37 UTC by nickovsky
Modified: 2016-06-03 11:50 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
IDE log (115.15 KB, text/plain)
2014-04-06 20:38 UTC, nickovsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nickovsky 2014-04-06 20:37:52 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Comment 1 nickovsky 2014-04-06 20:38:01 UTC
Created attachment 146591 [details]
IDE log
Comment 2 Ondrej Vrabec 2014-04-11 12:14:00 UTC
i don't understand. What exactly took too long? Was IDE frozen? Did the push simply take too long because slow connection?
Please make a profiler snapshot http://wiki.netbeans.org/FitnessViaPartnership
Comment 3 nickovsky 2014-04-13 15:53:45 UTC
(In reply to Ondrej Vrabec from comment #2)
> i don't understand. What exactly took too long? Was IDE frozen? Did the push
> simply take too long because slow connection?
> Please make a profiler snapshot
> http://wiki.netbeans.org/FitnessViaPartnership

The IDE was not frozen. The task status displayed message of doing push command for 45 seconds then out put message stating read time out and nothing happened on the remote git i.e. no file was uploaded from the local git to the remote git.

Then i did the same thing on NetBeans 7.3. The task status displayed message of doing the push command until the push command completed which took more than 45 seconds. All files on the local git were uploaded to the remote git.

I guess the push took too long because either slow connection or big file size.
Comment 4 Jason.Hall 2015-06-02 21:09:45 UTC
Have had the same problem with GIT for some time.

It has to do with latency from my VPN from my house to my office.  I cannot change the GIT read timeout value.

Eclipse has a default timeout of 30 seconds - which obviously times out as well, BUT eclipse has a screen where I can adjust the value for the read timeout.  I change 30 to another value > 30 seonds (ie: 180, 300, or whatever I choose), then it is fine.

I have to have eclipse installed or another utility just so I can change the read timeout value to perform pulls and/or pushes.  

I wish to only run netbeans as I strongly believe it is "cleaner" IDE than eclipse as well as superb at handling Maven projects.

Could an editable parameter be  put into the <Tools> <options> <team> <versioning> <git> screen to allow us to change that parameter when we encounter an issue like network latency or etc.  There is plenty of room on that screen for a label and textbox.
Comment 5 Ondrej Vrabec 2015-06-03 06:26:25 UTC
Our client seems to get the default timeout from the config. Try to add:
timeout = 180
to your .git/config into [remote "origin"] section.
Comment 6 Jason.Hall 2015-06-04 22:33:48 UTC
Tried that.  Didn't make a difference.  Still timed out in 45,000 ms....
Comment 7 otisjenkins85 2016-06-03 11:50:30 UTC
Have the same problem with Linux version of Netbeans 8.1 (Windows version seems fine however :) ).  Whenever I try to clone my project from within Netbeans it times out after 45 seconds, but if I clone the same project by command line it is fine.