Closed Bug 829393 Opened 10 years ago Closed 10 years ago

[traceback] HttpServerError: Server Error 500: https://payments-dev.allizom.org/bango/billing/

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME
2013-01-17

People

(Reporter: krupa.mozbugs, Assigned: andy+bugzilla)

References

Details

(Whiteboard: u=patron p=1)

Sometimes, clicking the Purchase button for a paid app launches the PaymentFlow screen which then loads the "Something went wrong!" page.

However, retrying the flow usually works.

From the logs-

Traceback (most recent call last):

  File "/data/www/marketplace-dev.allizom.org-webpay/venv/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/data/www/marketplace-dev.allizom.org-webpay/venv/lib/python2.6/site-packages/django/views/decorators/http.py", line 41, in inner
    return func(request, *args, **kwargs)

  File "/data/www/marketplace-dev.allizom.org-webpay/webpay/webpay/pay/views.py", line 89, in lobby
    request.session['notes'])

  File "/data/www/marketplace-dev.allizom.org-webpay/venv/lib/python2.6/site-packages/celery/app/task/__init__.py", line 371, in delay
    return self.apply_async(args, kwargs)

  File "/data/www/marketplace-dev.allizom.org-webpay/venv/src/nuggets/celeryutils.py", line 22, in apply_async
    return super(Task, self).apply_async(args, kwargs, **options)

  File "/data/www/marketplace-dev.allizom.org-webpay/venv/lib/python2.6/site-packages/celery/app/task/__init__.py", line 463, in apply_async
    return self.apply(args, kwargs, task_id=task_id, **options)

  File "/data/www/marketplace-dev.allizom.org-webpay/venv/lib/python2.6/site-packages/celery/app/task/__init__.py", line 616, in apply
    request=request, propagate=throw)

  File "/data/www/marketplace-dev.allizom.org-webpay/venv/lib/python2.6/site-packages/celery/execute/trace.py", line 220, in eager_trace_task
    uuid, args, kwargs, request)

  File "/data/www/marketplace-dev.allizom.org-webpay/venv/lib/python2.6/site-packages/celery/execute/trace.py", line 153, in trace_task
    R = retval = task(*args, **kwargs)

  File "/data/www/marketplace-dev.allizom.org-webpay/venv/src/nuggets/celeryutils.py", line 35, in wrapped
    return fun(*args, **kw)

  File "/data/www/marketplace-dev.allizom.org-webpay/venv/lib/python2.6/site-packages/multidb/pinning.py", line 46, in decorator
    return func(*args, **kw)

  File "/data/www/marketplace-dev.allizom.org-webpay/venv/lib/python2.6/site-packages/multidb/pinning.py", line 46, in decorator
    return func(*args, **kw)

  File "/data/www/marketplace-dev.allizom.org-webpay/venv/lib/python2.6/site-packages/django/db/transaction.py", line 209, in inner
    return func(*args, **kwargs)

  File "/data/www/marketplace-dev.allizom.org-webpay/webpay/webpay/pay/tasks.py", line 80, in start_pay
    prices['prices']

  File "/data/www/marketplace-dev.allizom.org-webpay/webpay/lib/solitude/api.py", line 207, in configure_product_for_billing
    'redirect_url_onerror': redirect_url_onerror,

  File "/data/www/marketplace-dev.allizom.org-webpay/venv/lib/python2.6/site-packages/slumber/__init__.py", line 139, in post
    resp = self._request("POST", data=s.dumps(data), params=kwargs)

  File "/data/www/marketplace-dev.allizom.org-webpay/venv/lib/python2.6/site-packages/slumber/__init__.py", line 103, in _request
    raise exceptions.HttpServerError("Server Error %s: %s" % (resp.status_code, url), response=resp, content=resp.content)

HttpServerError: Server Error 500: https://payments-dev.allizom.org/bango/billing/


<WSGIRequest
path:/mozpay/,
GET:<QueryDict: {u'req': [u'eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJhdWQiOiAibWFya2V0cGxhY2UtZGV2LmFsbGl6b20ub3JnIiwgImlzcyI6ICJtYXJrZXRwbGFjZS1kZXYuYWxsaXpvbS5vcmciLCAicmVxdWVzdCI6IHsibmFtZSI6ICJQcml2YXRlIFlhY2h0IiwgImNoYXJnZWJhY2tVUkwiOiAiaHR0cHM6Ly9tYXJrZXRwbGFjZS1kZXYuYWxsaXpvbS5vcmcvdGVsZWZvbmljYS9zZXJ2aWNlcy93ZWJwYXkvY2hhcmdlYmFjayIsICJwb3N0YmFja1VSTCI6ICJodHRwczovL21hcmtldHBsYWNlLWRldi5hbGxpem9tLm9yZy90ZWxlZm9uaWNhL3NlcnZpY2VzL3dlYnBheS9wb3N0YmFjayIsICJwcm9kdWN0RGF0YSI6ICJhZGRvbl9pZD00MTIwMTkmc2VsbGVyX3V1aWQ9Yzc2NjIxMDAtMTc1My00YzEwLWJjMGItMjBlZmE4MDJhODlhJmNvbnRyaWJfdXVpZD0xMzI2OWE1OWI1OTE4Njc1MDE2NDY3MjlhNTJiMmNmNSIsICJwcmljZVBvaW50IjogMSwgImlkIjogIm1hcmtldHBsYWNlLWRldjo0MTIwMTkiLCAiZGVzY3JpcHRpb24iOiAiSGVyZWluIGxpZXMgeW91ciB2ZXJ5IG93biBwcml2YXRlIHlhY2h0LiBTZXQgc2FpbCEifSwgImV4cCI6IDEzNTc4NzExNTgsICJpYXQiOiAxMzU3ODY3NTU4LCAidHlwIjogIm1vemlsbGEvcGF5bWVudHMvcGF5L3YxIn0.7k835BhVvVBdQWB0cvf78LrZ1NhXP8qc5D02SzXyntg']}>,
POST:<QueryDict: {}>,
COOKIES:{'webpay_anoncsrf': 'lk8bT4qVCSCKEMc3rnu22N8rvUmWiTec',
 'webpay_sessionid': '3b74811371872778b18af8ecde7e57e6'},
META:{'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
 'HTTP_CONNECTION': 'close',
 'HTTP_COOKIE': 'webpay_anoncsrf=lk8bT4qVCSCKEMc3rnu22N8rvUmWiTec; webpay_sessionid=3b74811371872778b18af8ecde7e57e6',
 'HTTP_HOST': 'marketplace-dev.allizom.org',
 'HTTP_SSLCLIENTCERTSTATUS': 'NoClientCert',
 'HTTP_SSLCLIENTCIPHER': 'SSL_RSA_WITH_RC4_128_SHA, version=TLSv1, bits=128',
 'HTTP_SSLSESSIONID': '0E1C4585A9218856D7867777996A8F4FE46FCA07C6B71D30501C4E8770B04214',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0',
 'HTTP_X_CLUSTER_CLIENT_IP': '63.245.220.224',
 'HTTP_X_FORWARDED_FOR': '63.245.220.224',
 'HTTP_X_FORWARDED_PROTOCOL': 'ssl',
 'HTTP_X_REAL_IP': '10.8.83.212',
 'HTTP_X_SCHEME': 'http',
 'PATH_INFO': u'/mozpay/',
 'QUERY_STRING': 'req=eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJhdWQiOiAibWFya2V0cGxhY2UtZGV2LmFsbGl6b20ub3JnIiwgImlzcyI6ICJtYXJrZXRwbGFjZS1kZXYuYWxsaXpvbS5vcmciLCAicmVxdWVzdCI6IHsibmFtZSI6ICJQcml2YXRlIFlhY2h0IiwgImNoYXJnZWJhY2tVUkwiOiAiaHR0cHM6Ly9tYXJrZXRwbGFjZS1kZXYuYWxsaXpvbS5vcmcvdGVsZWZvbmljYS9zZXJ2aWNlcy93ZWJwYXkvY2hhcmdlYmFjayIsICJwb3N0YmFja1VSTCI6ICJodHRwczovL21hcmtldHBsYWNlLWRldi5hbGxpem9tLm9yZy90ZWxlZm9uaWNhL3NlcnZpY2VzL3dlYnBheS9wb3N0YmFjayIsICJwcm9kdWN0RGF0YSI6ICJhZGRvbl9pZD00MTIwMTkmc2VsbGVyX3V1aWQ9Yzc2NjIxMDAtMTc1My00YzEwLWJjMGItMjBlZmE4MDJhODlhJmNvbnRyaWJfdXVpZD0xMzI2OWE1OWI1OTE4Njc1MDE2NDY3MjlhNTJiMmNmNSIsICJwcmljZVBvaW50IjogMSwgImlkIjogIm1hcmtldHBsYWNlLWRldjo0MTIwMTkiLCAiZGVzY3JpcHRpb24iOiAiSGVyZWluIGxpZXMgeW91ciB2ZXJ5IG93biBwcml2YXRlIHlhY2h0LiBTZXQgc2FpbCEifSwgImV4cCI6IDEzNTc4NzExNTgsICJpYXQiOiAxMzU3ODY3NTU4LCAidHlwIjogIm1vemlsbGEvcGF5bW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'marketplace-dev.allizom.org',
 'SERVER_PORT': '443',
 'SERVER_PROTOCOL': 'HTTP/1.0',
 'SERVER_SOFTWARE': 'gunicorn/0.14.6',
 'gunicorn.socket': <socket._socketobject object at 0x2c4d130>,
 'wsgi.errors': <gunicorn.glogging.LazyWriter object at 0x12487d0>,
 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x1237a70>,
 'wsgi.input': <gunicorn.http.body.Body object at 0x17e6810>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'https',
 'wsgi.version': (1, 0)}>
Assignee: nobody → amckay
Priority: -- → P1
Whiteboard: u=patron p=
Target Milestone: --- → 2013-01-17
Depends on: 829645
Whiteboard: u=patron p= → u=patron p=1
I don't see a traceback in sentry for this. If we don't get one soon, or STR, I'll close it.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.