Error using repo init on Ubuntu

822 views
Skip to first unread message

Traysa Lee

unread,
Feb 19, 2015, 9:14:52 PM2/19/15
to infr...@chromium.org
I am getting the following error and I am not certain why.   I was given this email address with the suggestion that someone might be able to discern this error.  Any help is appreciated

error: server certificate verification failed.  CAFile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessinghttps://cromium.googlesource.com/external/repo/info/refs
fatal: HTTP request failed

The command being executed is:

Thanks

Nodir Turakulov

unread,
Feb 20, 2015, 12:11:12 PM2/20/15
to Traysa Lee, infr...@chromium.org, gerritcode...@google.com
+gerritcodereview-team might be a better mailing list.
(I don't know how the "repo" thing works)

--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
To post to this group, send email to infr...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/5B7B15D4-2BBD-46C3-80CA-7BA42460AB27%40arxan.com.

Nodir Turakulov

unread,
Feb 20, 2015, 12:30:02 PM2/20/15
to Traysa Lee, infr...@chromium.org
bcc:gerritcodereview-team

Nope, gerritcodereview-team is not a better list.

On Fri Feb 20 2015 at 9:11:12 AM Nodir Turakulov <no...@google.com> wrote:
+gerritcodereview-team might be a better mailing list.
(I don't know how the "repo" thing works)

On Thu Feb 19 2015 at 6:14:52 PM Traysa Lee <tl...@arxan.com> wrote:
I am getting the following error and I am not certain why.   I was given this email address with the suggestion that someone might be able to discern this error.  Any help is appreciated

error: server certificate verification failed.  CAFile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessinghttps://cromium.googlesource.com/external/repo/info/refs
fatal: HTTP request failed

The command being executed is:

Thanks

--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+unsubscribe@chromium.org.

Steve

unread,
Feb 20, 2015, 6:43:39 PM2/20/15
to Nodir Turakulov, Traysa Lee, infr...@chromium.org
You can try setting the environment variable `GIT_CURL_VERBOSE=1` to get a more verbose output of the error and what git is doing.

You can also try looking through some of the responses and linked articles from this stack overflow question: http://stackoverflow.com/questions/21181231/server-certificate-verification-failed-cafile-etc-ssl-certs-ca-certificates-c.  It is not recommended to turn off ssl verification though, as some of the answers suggest, as thats not very safe.

Also, a potential source of your problem (which I'm not able to reproduce myself running the repo init command you executed), is in your output:
accessinghttps://cromium.googlesource.com/external/repo/info/refs
There appears to be a typo, "cromium" instead of "chromium" in the url.  Make sure if you appended any '--repo-url' flags as per the developer guide, that there wasn't a typo in the command.


To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.

To post to this group, send email to infr...@chromium.org.
Reply all
Reply to author
Forward
0 new messages