To establish the context, I am trying to use toto to customize my blog.
I did
$ sudo gem install toto
and the gems were set correctly.
Successfully installed rdiscount-1.6.8
Successfully installed toto-0.4.9
2 gems installed
After that i tried
$ git clone git:
but i get the following error
Cloning into myblog...
github.com[0: 207.97.227.239]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
My git http proxy settings
jatin@jatin-ubuntu:~/myblog$ git config --global http.proxy
http://proxy:port
My http_proxy settings are also correct.
jatin@jatin-ubuntu:~$ echo $http_proxy
http://proxy:port/
So, I replaced git with http, as
$ git clone http:
and it worked.
Now when i do the following
$ cd myblog
$ heroku create myblog
it works so far and i get
Creating myblog...... done
Created http://myblog.heroku.com/ | git@heroku.com:myblog.git
Git remote heroku added
But this will not work here:
$ git push heroku master
and the following error appears
ssh: connect to host heroku.com port 22: Connection timed out
fatal: The remote end hung up unexpectedly
I did not know what to do, so after Googling I discovered that you cannot make changes to github using http.
With further digging, I found this link
how-to-use-the-git-protocol-through-a-http-connect-proxy
, - CONNECT 9418, , git.
-, , netcat-openbsd socat .
, , , . , , .