Closed
Bug 851511
Opened 12 years ago
Closed 12 years ago
Automatic emails are failing on production, 400 BadRequest
Categories
(Socorro :: Backend, task)
Socorro
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
40
People
(Reporter: adrian, Assigned: adrian)
References
Details
(Whiteboard: [qa-])
A new problem arose with automatic emails on production, this time there's a 400 BadRequest raised from suds.
"last_error": {
"traceback": " File \"/data/socorro/application/socorro/cron/crontabber.py\", line 676, in _run_one\n for last_success in self._run_job(job_class, config, info):\n File \"/data/socorro/application/socorro/cron/base.py\", line 104, in main\n function(when)\n File \"/data/socorro/application/socorro/cron/base.py\", line 143, in _run_proxy\n self.run(connection, date)\n File \"/data/socorro/application/socorro/cron/jobs/automatic_emails.py\", line 125, in run\n self.send_email(report)\n File \"/data/socorro/application/socorro/cron/jobs/automatic_emails.py\", line 156, in send_email\n ['token']\n File \"/data/socorro/application/socorro/external/exacttarget/exacttarget.py\", line 98, in wrapper\n return f(inst, *args, **kwargs)\n File \"/data/socorro/application/socorro/external/exacttarget/exacttarget.py\", line 182, in get_subscriber\n obj = self.client.service.Retrieve(req)\n File \"/data/socorro/thirdparty/suds/client.py\", line 542, in __call__\n return client.invoke(args, kwargs)\n File \"/data/socorro/thirdparty/suds/client.py\", line 602, in invoke\n result = self.send(soapenv)\n File \"/data/socorro/thirdparty/suds/client.py\", line 649, in send\n result = self.failed(binding, e)\n File \"/data/socorro/thirdparty/suds/client.py\", line 708, in failed\n raise Exception((status, reason))\n",
"type": "<type 'exceptions.Exception'>",
"value": "(400, u'Bad Request')"
| Assignee | ||
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/e2867957538b925385f9df690f2455d437caba57
Bug 851511 - Debug another error with automatic emails.
https://github.com/mozilla/socorro/commit/41b7668a564efd77808f2c13fbabf827faa245a4
Merge pull request #1142 from AdrianGaudebert/851511-fix-automatic-emails
Bug 851511 - Debug another error with automatic emails.
Updated•12 years ago
|
Whiteboard: [qa-]
Target Milestone: --- → 39
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [qa-]
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [qa-]
| Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 3•12 years ago
|
||
I forgot that there are two places where we send requests to exacttarget. I need to protect the other one before this works right.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 39 → 41
| Assignee | ||
Comment 4•12 years ago
|
||
Pull request: https://github.com/mozilla/socorro/pull/1163
Comment 5•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/a27902944aa474f24799811698adaf297990bb11
Fixes bug 851511 - Caught another expected exception from suds in automatic emails.
https://github.com/mozilla/socorro/commit/42685b6baa7f812c2e0bd22b0972dc513235f24d
Merge pull request #1163 from AdrianGaudebert/851511-fix-automatic-emails
Fixes bug 851511 - Caught another expected exception from suds in automa...
Updated•12 years ago
|
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Target Milestone: 41 → 40
You need to log in
before you can comment on or make changes to this bug.
Description
•