It's all about the answers!

Ask a question

Problem connecting RTC and GIT

Rafael Hernandez (3222233) | asked Jun 03 '15, 1:30 p.m.
edited Jun 04 '15, 11:03 a.m.
Hello everyone,

Im trying to connect RTC and GIT; all looks ok, but when i send a push request im getting this error:

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master
POST git-receive-pack (1390 bytes)

remote: oldRev=b8f3420892f42fc597de6c201b0ed612464b2937 newRev=3aa5205b8f559b27ee9c7172dab7c055daedca13 refName=refs/heads/master
remote: <urlopen error unknown url type: https>

Pushing to http://server:8888/project/Whatsapp_Monitoreo_RTC.git
To http://server:8888/project/Whatsapp_Monitoreo_RTC.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://server:8888/project/Whatsapp_Monitoreo_RTC.git'

Im thinking this is a problem with the https protocol, any idea?

Thanks in advance

Rafael Hernandez

2 answers

permanent link
Arun K Sriramaiah (3.2k12775) | answered Jun 04 '15, 8:51 a.m.
Hi Rafel,

Can you please check do you have right information of "RTC URI" and "repository key" in below files.

1) GIT repo config folder ( Monitoreo_RTC.git')
2) Post receive Hook
3) Pre receive Hook


permanent link
Kiran M N (3262) | answered Jun 04 '15, 10:08 a.m.
Hi Rafael,

The error message is indicative of HTTP client side error that it is not able to create a connection to RTC server. As suggested above, check the RTC repository URL setting, in both pre-push hook as well as the Git repository configuration property.

Your answer

Register or to post your answer.