"The certificate of ‘github.com’ is not trusted."

3,243 views
Skip to first unread message

Ricardo Pietrobon

unread,
Mar 3, 2014, 1:08:54 PM3/3/14
to oppi...@googlegroups.com
Trying to install to a mac with maverick OS X 10.9.1

when running the start.sh i get:

Resolving github.com... 192.30.252.129
Connecting to github.com|192.30.252.129|:443... connected.
ERROR: The certificate of ‘github.com’ is not trusted.
ERROR: The certificate of ‘github.com’ hasn't got a known issuer.

Marcel Schmittfull

unread,
Mar 3, 2014, 1:43:24 PM3/3/14
to oppi...@googlegroups.com
Hi Ricardo,

I had the same problem, maybe try this: In scripts/install_third_party.sh replace `wget' by `wget --no-check-certificate' everywhere, then run bash scripts/start.sh again.

Hope this helps!
Marcel

Ricardo Pietrobon

unread,
Mar 3, 2014, 10:43:41 PM3/3/14
to oppi...@googlegroups.com
Thanks Marcel, that did solve that problem. But now I get:

Starting GAE development server
python: can't open file '/Users/myhome/oppia/../oppia_tools/google_appengine_1.8.8/google_appengine/dev_appserver.py': [Errno 2] No such file or directory

the oppia_tools/google_appengine_1.8.8/google_appengine directory does exist but it is empty

any thoughts?

Marcel Schmittfull

unread,
Mar 3, 2014, 11:43:01 PM3/3/14
to oppi...@googlegroups.com
Hm, I don't know about that one, maybe the oppia developers can help?

From

grep -i engine scripts/*

it seems that bash/start.sh should take care of it, but not sure.

When I installed oppia, I did not read the instructions very carefully
and did not run start.sh in the beginning but started to install things
manually. If I remember correctly I downloaded the google app engine
somewhere and copied it to the directory where oppia wanted to have it.
But in the end I did completely new install running start.sh, so not
sure if it's necessary to install google app engine manually...

Best,
Marcel

On 03/03/2014 19:43, Ricardo Pietrobon wrote:
> Thanks Marcel, that did solve that problem. But now I get:
>
> Starting GAE development server
> python: can't open file
> '/Users/myhome/oppia/../oppia_tools/google_appengine_1.8.8/google_appengine/dev_appserver.py':
> [Errno 2] No such file or directory
>
> the oppia_tools/google_appengine_1.8.8/google_appengine directory does
> exist but it is empty
>
> any thoughts?
>
>
>
>
> On Monday, March 3, 2014 1:43:24 PM UTC-5, Marcel Schmittfull wrote:
>
> Hi Ricardo,
>
> I had the same problem, maybe try this: In
> scripts/install_third_party.sh replace `wget' by `wget
> --no-check-certificate' everywhere, then run bash scripts/start.sh
> again.
>
> Hope this helps!
> Marcel
>
> On Monday, March 3, 2014 10:08:54 AM UTC-8, Ricardo Pietrobon wrote:
>
> Trying to install to a mac with maverick OS X 10.9.1
>
> when running the start.sh i get:
>
> Resolving github.com... 192.30.252.129
> Connecting to github.com
> <http://github.com>|192.30.252.129|:443... connected.
> ERROR: The certificate of ‘github.com <http://github.com>’ is
> not trusted.
> ERROR: The certificate of ‘github.com <http://github.com>’
> hasn't got a known issuer.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "oppia-dev" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/oppia-dev/26cRxC0siZw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> oppia-dev+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Sean Lip

unread,
Mar 4, 2014, 12:16:50 AM3/4/14
to Ricardo Pietrobon, oppia-dev
Hi Ricardo, the start.sh script should download Google App Engine automatically. It looks as though there was an incomplete install. Would you mind deleting the entire oppia_tools/ directory, and running the script again?

Thanks,
Sean


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

Ricardo Pietrobon

unread,
Mar 4, 2014, 12:39:06 AM3/4/14
to Sean Lip, oppia-dev
hey Sean,

so, I tried a few more times and it seems to to have downloaded now. the next error message I got related to the start.sh being pointed to line 72: /opt/google/chrome/chrome , which I then redirected to my local application. the next error now is:

  File "/Users/rpietro/oppia_tools/google_appengine_1.8.8/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py", line 383, in do_open
    url_error.reason.args[1])
fancy_urllib.InvalidCertificateException: Host appengine.google.com returned an invalid certificate (_ssl.c:507: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed):
➜  oppia git:(master) ✗ Opening browser window pointing to an end user interface
[17655:1287:0304/002912:ERROR:process_singleton_mac.cc(103)] Unable to obtain profile lock.
[0304/002912:ERROR:mach_broker_mac.mm(152)] Failed to look up named parent port: 0x44e unknown error code

I'm using python 2.7.6 but went ahead and reinstalled https://pypi.python.org/pypi/ssl/ anyway, but the message persists

any thoughts?

Sean Lip

unread,
Mar 4, 2014, 1:03:04 AM3/4/14
to Ricardo Pietrobon, oppia-dev
Hi Ricardo,

Please have a look at the second bullet point in the Troubleshooting section on this page:

    https://code.google.com/p/oppia/wiki/GettingStarted

Does that address the issue?

Thanks,
Sean

黒鉄 章 Akira Kurogane

unread,
Mar 4, 2014, 4:16:14 AM3/4/14
to oppi...@googlegroups.com, Ricardo Pietrobon
This may have not been the issue for Ricardo, but for other people who have the symptom:

the ../oppia_tools/google_appengine_1.8.8/google_appengine directory does exist but it is empty

  this can also be caused by unzip failing once whilst running the scripts/start.sh.

In my case I setup Oppia on new virtual server with minimal packages. The start.sh script ran up to the point of unzipping/installing google appengine and failed showing the error 'unzip not found' or something like that. I installed unzip and re-ran the start.sh script and it continued,performing steps after google appengine installation.

So, if you had to install unzip in the middle of running scripts/start.sh and you have the same symptom I recommend deleting oppia_tools and starting again.
Reply all
Reply to author
Forward
0 new messages