Closed Bug 612723 Opened 15 years ago Closed 15 years ago

mrapp-stage04 can't talk to chat-support.mozilla.com:9091

Categories

(mozilla.org Graveyard :: Server Operations, task)

All
Other
task
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jsocol, Assigned: oremj)

Details

We're getting the following stack trace from a cron job that does an HTTP request using Python 2.6's urllib2.urlopen() method. It's happening every time the cron runs, making me think it's an access issue. The cron is running on mrapp-stage04. Traceback (most recent call last): File "/data/www/support-stage-new.mozilla.com/kitsune/manage.py", line 49, in <module> execute_manager(settings) File "/data/www/support-stage-new.mozilla.com/kitsune/vendor/src/django/django/core/management/__init__.py", line 438, in execute_manager utility.execute() File "/data/www/support-stage-new.mozilla.com/kitsune/vendor/src/django/django/core/management/__init__.py", line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/data/www/support-stage-new.mozilla.com/kitsune/vendor/src/django/django/core/management/base.py", line 191, in run_from_argv self.execute(*args, **options.__dict__) File "/data/www/support-stage-new.mozilla.com/kitsune/vendor/src/django/django/core/management/base.py", line 220, in execute output = self.handle(*args, **options) File "/data/www/support-stage-new.mozilla.com/kitsune/vendor/src/django-cronjobs/cronjobs/management/commands/cron.py", line 38, in handle registered[script](*args) File "/data/www/support-stage-new.mozilla.com/kitsune/apps/chat/cron.py", line 15, in get_queue_status xml = urllib2.urlopen(url) File "/usr/lib64/python2.6/urllib2.py", line 124, in urlopen return _opener.open(url, data, timeout) File "/usr/lib64/python2.6/urllib2.py", line 383, in open response = self._open(req, data) File "/usr/lib64/python2.6/urllib2.py", line 401, in _open '_open', req) File "/usr/lib64/python2.6/urllib2.py", line 361, in _call_chain result = func(*args) File "/usr/lib64/python2.6/urllib2.py", line 1138, in https_open return self.do_open(httplib.HTTPSConnection, req) File "/usr/lib64/python2.6/urllib2.py", line 1105, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno 110] Connection timed out>
Was going to have neteng do this, but just ended up figuring out a fw rule: access-list webapp-outbound line 117 extended permit tcp host 10.2.81.207 any eq 9091
Assignee: server-ops → jeremy.orem+bugs
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Why is stage talking to prod?
Because chat-support-stage is woefully out of date and doesn't appear to have the API we need. It's read-only, a GET request to read an XML file.
Status: RESOLVED → VERIFIED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.