It's all about the answers!

Ask a question

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


Alberto Teodoro (6632438) | asked Mar 13 '17, 1:37 p.m.
closed Sep 06 '23, 4:30 a.m. by David Honey (1.8k17)

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

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
Arun K Sriramaiah (3.2k13177) | answered Jun 28 '17, 8:57 a.m.
edited Jun 28 '17, 8:57 a.m.

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

3 other answers



permanent link
Lily Wang (4.9k714) | answered Mar 13 '17, 8:16 p.m.

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


Comments
Alberto Teodoro commented Mar 14 '17, 12:44 p.m.

Hi Lily,

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


permanent link
Alberto Teodoro (6632438) | answered Mar 14 '17, 12:40 p.m.
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

Comments
Lily Wang commented Mar 15 '17, 4:25 a.m.

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


Alberto Teodoro commented Mar 15 '17, 11:46 a.m.

Hi Lily,

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


permanent link
jack austin (111) | answered Sep 05 '23, 6:25 p.m.
edited Sep 11 '23, 3:30 a.m. by Ralph Schoon (63.1k33646)

 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


Comments
David Honey commented Sep 06 '23, 4:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.


Ralph Schoon commented Sep 11 '23, 3:32 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.