{"action":"created","issue":{"url":"https://api.github.com/repos/fabric/fabric/issues/575","repository_url":"https://api.github.com/repos/fabric/fabric","labels_url":"https://api.github.com/repos/fabric/fabric/issues/575/labels{/name}","comments_url":"https://api.github.com/repos/fabric/fabric/issues/575/comments","events_url":"https://api.github.com/repos/fabric/fabric/issues/575/events","html_url":"https://github.com/fabric/fabric/issues/575","id":3538497,"number":575,"title":"Low level socket error when trying to upload template","user":{"login":"azizmb","id":212671,"avatar_url":"https://avatars.githubusercontent.com/u/212671?v=3","gravatar_id":"","url":"https://api.github.com/users/azizmb","html_url":"https://github.com/azizmb","followers_url":"https://api.github.com/users/azizmb/followers","following_url":"https://api.github.com/users/azizmb/following{/other_user}","gists_url":"https://api.github.com/users/azizmb/gists{/gist_id}","starred_url":"https://api.github.com/users/azizmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azizmb/subscriptions","organizations_url":"https://api.github.com/users/azizmb/orgs","repos_url":"https://api.github.com/users/azizmb/repos","events_url":"https://api.github.com/users/azizmb/events{/privacy}","received_events_url":"https://api.github.com/users/azizmb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2012-03-07T06:24:17Z","updated_at":"2016-09-06T10:24:04Z","closed_at":"2015-12-06T23:12:56Z","body":"Im trying to deploy a project to webfaction using the scripts [here](https://github.com/ashwoods/webfaction-django-fabfile), and face errors when running a task that installs the application. A previous task that installs supervisor runs fine.\r\n\r\nIve posted this on [stackoverflow](http://stackoverflow.com/questions/9436552/problems-with-fabric-deployment), and on [webfaction](http://community.webfaction.com/questions/7654/problems-deploying-with-fabric), with whom I also followed up on support tickets, but still couldnt resolve the issue.\r\n\r\nThe stack traces is below:\r\n\r\n```\r\n(project_name)aziz@ynl:~/workspace/project_name$ fab -f webfaction-django-fabfile/fabfile.py deploy --show debug\r\nUsing fabfile '/home/aziz/workspace/project_name/webfaction-django-fabfile/fabfile.py'\r\nCommands to run: deploy\r\nParallel tasks now using pool size of 1\r\n[username.webfactional.com] Executing task 'deploy'\r\n[username.webfactional.com] run: /bin/bash -l -c \"test -e \\\"\\$(echo /home/username/webapps/supervisor)\\\"\"\r\n[username.webfactional.com] run: /bin/bash -l -c \"test -d /home/username/webapps/supervisor/conf.d/project_name.conf\"\r\nTimed out trying to connect to username.webfactional.com (attempt 1 of 1), giving up)\r\n\r\nFatal error: Low level socket error connecting to host username.webfactional.com: Connection refused (tried 1 time)\r\n\r\nTraceback (most recent call last):\r\nFile \"/home/aziz/.virtualenvs/project_name/local/lib/python2.7/site-packages/fabric/tasks.py\", line 292, in execute\r\nmultiprocessing\r\nFile \"/home/aziz/.virtualenvs/project_name/local/lib/python2.7/site-packages/fabric/tasks.py\", line 191, in _execute\r\nreturn task.run(*args, **kwargs)\r\nFile \"/home/aziz/.virtualenvs/project_name/local/lib/python2.7/site-packages/fabric/tasks.py\", line 113, in run\r\nreturn self.wrapped(*args, **kwargs)\r\nFile \"/home/aziz/workspace/project_name/webfaction-django-fabfile/fabfile.py\", line 38, in deploy\r\ninstall_app()\r\nFile \"/home/aziz/workspace/project_name/webfaction-django-fabfile/fabfile.py\", line 63, in install_app\r\n'user': env.user,\r\nFile \"/home/aziz/.virtualenvs/project_name/local/lib/python2.7/site-packages/fabric/contrib/files.py\", line 85, in upload_template\r\nif func('test -d %s' % destination).succeeded:\r\nFile \"/home/aziz/.virtualenvs/project_name/local/lib/python2.7/site-packages/fabric/network.py\", line 457, in host_prompting_wrapper\r\nreturn func(*args, **kwargs)\r\nFile \"/home/aziz/.virtualenvs/project_name/local/lib/python2.7/site-packages/fabric/operations.py\", line 904, in run\r\nreturn _run_command(command, shell, pty, combine_stderr)\r\nFile \"/home/aziz/.virtualenvs/project_name/local/lib/python2.7/site-packages/fabric/operations.py\", line 814, in _run_command\r\nstdout, stderr, status = _execute(default_channel(), wrapped_command, pty,\r\nFile \"/home/aziz/.virtualenvs/project_name/local/lib/python2.7/site-packages/fabric/state.py\", line 340, in default_channel\r\nchan = connections[env.host_string].get_transport().open_session()\r\nFile \"/home/aziz/.virtualenvs/project_name/local/lib/python2.7/site-packages/fabric/network.py\", line 84, in __getitem__\r\nself.connect(key)\r\nFile \"/home/aziz/.virtualenvs/project_name/local/lib/python2.7/site-packages/fabric/network.py\", line 76, in connect\r\nself[key] = connect(user, host, port)\r\nFile \"/home/aziz/.virtualenvs/project_name/local/lib/python2.7/site-packages/fabric/network.py\", line 393, in connect\r\nraise NetworkError(msg, e)\r\nNetworkError: Low level socket error connecting to host username.webfactional.com: Connection refused (tried 1 time)\r\n\r\n\r\nAborting.\r\nDisconnecting from username.webfactional.com... done.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/fabric/fabric/issues/comments/244910441","html_url":"https://github.com/fabric/fabric/issues/575#issuecomment-244910441","issue_url":"https://api.github.com/repos/fabric/fabric/issues/575","id":244910441,"user":{"login":"aamiryu","id":4047393,"avatar_url":"https://avatars.githubusercontent.com/u/4047393?v=3","gravatar_id":"","url":"https://api.github.com/users/aamiryu","html_url":"https://github.com/aamiryu","followers_url":"https://api.github.com/users/aamiryu/followers","following_url":"https://api.github.com/users/aamiryu/following{/other_user}","gists_url":"https://api.github.com/users/aamiryu/gists{/gist_id}","starred_url":"https://api.github.com/users/aamiryu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aamiryu/subscriptions","organizations_url":"https://api.github.com/users/aamiryu/orgs","repos_url":"https://api.github.com/users/aamiryu/repos","events_url":"https://api.github.com/users/aamiryu/events{/privacy}","received_events_url":"https://api.github.com/users/aamiryu/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T10:24:04Z","updated_at":"2016-09-06T10:24:04Z","body":"In v1.8 it is there."}}
{"actor":{"display_login":"aamiryu"}}