Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

[closed] RTC and GIT Integration: problem of the remote end hung up, during the cloning projects

Hi all,

I've problems when I try to clone a GIT project that is of medium size in mb (ca 300 MB).
I'm using RTC 6.0.2 and GIT with Nodejs integration.
I always receive the following maessages:
error: RPC failed; curl 52 Empty reply from server
fatal: The remote end hung up unexpectedly
Instead I've no problem during a push, to the remote server, of the entire project.

Many thanks in advance
Alberto

0 votes


The question has been closed for the following reason: "The question is answered, right answer was accepted" by davidhoney Sep 06 '23, 4:30 a.m.

Accepted answer

Permanent link

Hi Alberto,

Find the links below:

1) set the value (--max-old-space-size) to 8GB:
                                                                    
  --max-old-space-size=8192

https://github.com/nodejs/node/wiki/Frequently-Asked-Questions

https://stackoverflow.com/questions/12978169/rangeerror-length-kmaxlength-while-reading-massive-text-file-with-nodejs

2) Double the value postBuffer to 1048576000

https://stackoverflow.com/questions/6842687/the-remote-end-hung-up-unexpectedly-while-git-cloning)

3) Change the below settings in nodejs (config.json) file.

"Server-Socket-Timeout" : 0,

Regards,
Arun.

Alberto Teodoro selected this answer as the correct answer

0 votes


3 other answers

Permanent link

 Hi,

I am having a weird issue with Visual Studio for Mac. Have a look at the image below:

REMOVED URL

For some reason, the tiny little preview screen tile appears randomly when I hover over a tab (and this is not consistent but it happens randomly) and it then freezes everything by covering the editor with blue shaded cover. This makes the entire editor unusable and I have to restart the IDE to resume.

This is so disappointing that VS for Mac has always caused me random issues and has never been a stable IDE for me. Earlier it used to crash a lot and now this super annoying issue is killing my productivity.

Kindly look into it and fix it soon as it really hampers the productivity.

Thanks

0 votes

Comments

Jack, please do not post questions as answers to posts that were already answered 6 years ago. If you have a new question to ask, please post your own question.

This forum is for these products: https://jazz.net/products 


MS Visual Studio is only covered when used with these products, otherwise I'd suggest to go to Microsoft Forums or Support.  


Permanent link
Hi Lily,
thanks you.

In ccm.log I have seen no errors.

I've tried all you have advice me (links to git problems solutions), also in the previous days:
1) I can't use SSH, because I can't permit the access to the Repo Server: otherwise I'll not use the RTC profiling authentication;
2) the http.postBuffer does not solve my problem, that seems to be more related to a timeout connection and the inability to reconnect again.

I try to resume my situation:
a. I've set the GIT RTC integration (how it's descibed in the officicial documentation for RTC 6.0.2):
 - RTC 6.0.2
 - GIT 2.11.1
 - Python 2.7
 - Nodejs 0.12.9
 - Git-Server-Toolkit-6.0.2
 - my environment is set up on a RHEL 6.2 Linux server
b. I can Push repos that have medium size in MB (ca 300MB);
c. I can't clone repos, via http, that have medium size in MB (ca 300MB);
d. I can clone repos, via ssh, on the Repo server itself, that have medium size in MB (ca 300MB);
e. I can clone repos , via http, that have medium size in MB (ca 300MB), if I use Apache http server, but the new RTC GIT integration uses Nodejs (new hooks are recompiled ad hoc).

So, I could think that:
- or Nodejs has some size limits in download and not in not in upload
- or Git-Server-Toolkit-6.0.2 doesn't work properly

Maybe I should try to open a PMR?
Many Thanks
Alberto

0 votes

Comments

I suggest you open a PMR in such case. I will also have a test in my environment.

Hi Lily,

many thanks.
Please, let me know the results in your environment.
Ciao and best regards
Alberto


Permanent link

Did you see any error in ccm.log?
Looking the error message, the issue looks like a Git problem which can be resolved by changing the postBuffer.
Searching the error by Google, you could find the solution mentioned below:
http://stackoverflow.com/questions/37085184/git-push-error-rpc-failed-curl-52
http://stackoverflow.com/questions/18436812/why-do-i-get-error-rpc-failed-result-52-http-code-0-fatal-the-remote-end-h
http://stackoverflow.com/questions/6842687/the-remote-end-hung-up-unexpectedly-while-git-cloning

0 votes

Comments

Hi Lily,

thanks a lot.
I've asked you some more details in my question below.


Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 97
× 4

Question asked: Mar 13 '17, 1:37 p.m.

Question was seen: 10,899 times

Last updated: Sep 11 '23, 3:32 a.m.

Confirmation Cancel Confirm