Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3942702
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:41:40+00:00 2026-05-20T00:41:40+00:00

To set the context, I am trying to use the toto to set up

  • 0

To set the context, I am trying to use the toto to set up my blog.
I did

$ sudo gem install toto

and the gems were installed properly.

Successfully installed rdiscount-1.6.8
Successfully installed toto-0.4.9
2 gems installed

After that, I tried

$ git clone git://github.com/cloudhead/dorothy.git myblog

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 are correct

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 by http, as

$ git clone http://github.com/cloudhead/dorothy.git myblog

and it worked.

Now, when I do the following

$ cd myblog
$ heroku create myblog

it works till here and I get

Creating myblog...... done
Created http://myblog.heroku.com/ | git@heroku.com:myblog.git
Git remote heroku added

But it fails down here:

$ git push heroku master

and the following error comes up

ssh: connect to host heroku.com port 22: Connection timed out
fatal: The remote end hung up unexpectedly

I didn’t know what to do, so after Googling a bit I found that you can’t push changes to github using http.
On digging in further, I found this link

how-to-use-the-git-protocol-through-a-http-connect-proxy

which says that you can have your firewall administrator configure the proxy to also allow CONNECT for port 9418, which is the port used by git.

Once they have appropriately configured the proxy, you should then be able to use tools like netcat-openbsd or socat to connect through.

My problem is that I am a student and I can’t get around this because I can’t reach out to the administrator. I don’t know what to do, as I am still stuck looking for an answer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T00:41:41+00:00Added an answer on May 20, 2026 at 12:41 am

    You added the heroku remote using this URL git@heroku.com:myblog.git. This was probably configured by the heroku create command.

    When you push to this remote, it is done via SSH. And this is exactly what the error message indicates: that you (or git) tried to ssh to heroku.com, but couldn’t because of your firewall (probably) denied that. With your git push heroku master command, you are not pushing to Github, but to the git repository at Heroku. To push your stuff to Github, you need to git push origin master and use either ssh or http for the transport. The git:// protocol itself does not support pushing changesets but is an unauthenticated re-only protocol.

    Currently, Heroku seems to only allow the SSH transport for its git repos and there don’t seem to be any direct hooks on Github (see Push from github to heroku without downloading repo). This means to publish your apps on Heroku, you need to be able to push to heroku.com via SSH from your local host.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use a simple_tag and set a context variable. I'm using the
Context: I am trying to use the same set of models for both XML
I am trying to use warn-on-reflection in a clj file. When I write: (set!
I am trying to use the Spring AOP for logging purposes. I have set
I'm trying to use context as partially as possible because I want my software
I am trying to use this to set an alarm that goes off everyday.
I'm trying to use jQuery to get current window height. I intend to set
I'm trying to set a condition that if the content of the SPAN with
We all know to set canvas's context property like this: ctx.textBaseline = top; ctx.shadowColor
Is it safe to blindly overwrite the ModelMetaData of a binding context to set

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.