Skip to content

Issues encountered at various steps #1

@airmetal

Description

@airmetal

When I run setup.py after configuring terraform/main.tf I get the following error -

Detecting client IP...
Traceback (most recent call last):
File "./setup.py", line 84, in
detect_client_ip(local_vars)
File "./setup.py", line 62, in detect_client_ip
socket.gethostbyname('ifconfig.co') # We need the IPv4 address

I changed the setup.py to derive the URL differently. It seems its making the call now, but now I get the following error:

Detecting client IP...
Traceback (most recent call last):
File "./setup.py", line 96, in
detect_client_ip(local_vars)
File "./setup.py", line 71, in detect_client_ip
urllib2.urlopen(request).read()
File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
'_open', req)
File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>

The firewall is open. It seems I am missing some step. I would imagine a web server would be running prior to receiving the HTTP request?

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions