Community Help and Support

Git not working?

[STICKY] #1 - page 1 of 1 Git not working? - 2010-06-25 14:53
matnel
Registered user
matnel's avatar

Posts: 1

Hi,

I've tried to commit my code to GIT and it says everything goes fine. However, the files are not available for pulling nor visible in the Web UI :(

#2 - page 1 of 1 Re: Git not working? - 2010-06-29 10:24
ceefour
Registered user
ceefour's avatar

Posts: 1

I've tried to commit my code to GIT and it says everything goes fine. However, the files are not available for pulling nor visible in the Web UI :(

I'm having problem with Git too. Have you been able to push? I can't even push yet.

$ git push origin master
error: gnutls_handshake() failed: A TLS fatal alert has been received. while accessing https://projects.forum.nokia.com/git/messagemerge/info/refs

Neither URLs work:

$ git push origin master --force
Password:
error: gnutls_handshake() failed: A TLS packet with unexpected length was received. while accessing https://ceefour@projects.forum.nokia.com/git/messagemerge.git/info/refs
fatal: HTTP request failed

To Forum Nokia Projects maintainer: have you ran "git update-server-info" on all git repos? It seems you're having this issue. See: https://bugs.maemo.org/show_bug.cgi?id=4943

And which one is the correct URL?

https://<user>@projects.forum.nokia.com/git/<project>.git or https://projects.forum.nokia.com/git/<project> ??

#3 - page 1 of 1 Re: Git not working? - 2010-06-29 12:49
NokAndrea
Project owners
NokAndrea's avatar

Posts: 64

Hi ceefour, we are looking into your problem and we will post a solution ASAP.

WRT matnel, it was an error in the parameters he was using, so that is resolved.

#4 - page 1 of 1 Re: Git not working? - 2010-06-29 13:07
NokAndrea
Project owners
NokAndrea's avatar

Posts: 64

ceefour, for the TLS issue can you see this guide? GitQuickStart#GitTLSissue?

The correct URL is with .git at the end. If you want to push changes you will have to authenticate, it will be up to your client if it supports using the username in front of the hostname. Check your manual.

#5 - page 1 of 1 Re: Git not working? - 2010-09-14 14:38
riussi
Registered user
riussi's avatar

Posts: 2

I created a new project but git is not working for it.

I try to clone the repository and get:

$ git clone https://riussi@projects.forum.nokia.com/git/QTUITMPL.git
Initialized empty Git repository in c:/source/futu/git/QTUITMPL/.git/
Password:
error: error setting certificate verify locations:
  CAfile: /bin/curl-ca-bundle.crt
  CApath: none
 while accessing https://riussi@projects.forum.nokia.com/git/QTUITMPL.git/info/refs
fatal: HTTP request failed
#6 - page 1 of 1 Re: Git not working? - 2010-09-17 16:33
NokAndrea
Project owners
NokAndrea's avatar

Posts: 64

Dear riussi, did you fix the issue? I believe we also sent you an e-mail.

Anyway, for the record, you should fix your git client settings, depending on where is your ca-bundle. This is unfortunately not very well done in Windows. find the file curl-ca-bundle.crt and then run:

git config --system http.sslcainfo /<path>/curl-ca-bundle.crt
#7 - page 1 of 1 Re: Git not working? - 2010-09-20 09:10
riussi
Registered user
riussi's avatar

Posts: 2

Hi,

Yes I got the issue fixed.

#8 - page 1 of 1 Re: Git not working? - 2010-09-22 19:24
davidmaxwaterman
Registered user
davidmaxwaterman's avatar

Posts: 6

I have this same issue when trying to use git from MS Windows.

I ran the command you gave :

git config ++system http.sslcainfo C:\Program Files\Git\bin\curl-ca-bundle.crt

and that made the complaint about the certificate go away, but it still says :

" Fatal: HTTP request failed "

Ideas?

Max.

Download in other formats
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2011 All rights reserved