Tissue deployment problems

Im using fab script from here . fab deploygives an error immediately after creating the application. Error:

Fatal error: Low level socket error connecting to host username.webfactional.com: Connection refused (tried 1 time)

Underlying exception:
    Connection refused

I saw this answer , but ssh is working on my machine.

+5
source share
3 answers

The main cause of the problem was the use of the port in the code.

The bug report is here and the fix is here.

+1
source

I had a similar problem connecting to recently launched AWS EC2 instances. Apparently, instances may not yet be available via ssh, even if their status is already running.

There seems to be no right solution, this is the most elegant I got:

while True:
    try:
        run('whoami')
        break
    except Exception, e:
        print "instance not yet reachable, wait a little bit", e
        time.sleep(10)
+1

Fabric 1.3.4 1.4

0

All Articles