Created
May 1, 2014 10:14
-
-
Save jakul/19a216ef0726e969f924 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(networklocum)administrator@vagrant-craig:/src/networklocum/networklocum$ tail -f /var/log/nl-networklocum.log | |
File "/home/administrator/.virtualenvs/networklocum/local/lib/python2.7/site-packages/requests/api.py", line 44, in request | |
return session.request(method=method, url=url, **kwargs) | |
File "/home/administrator/.virtualenvs/networklocum/local/lib/python2.7/site-packages/requests/sessions.py", line 279, in request | |
resp = self.send(prep, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies) | |
File "/home/administrator/.virtualenvs/networklocum/local/lib/python2.7/site-packages/requests/sessions.py", line 374, in send | |
r = adapter.send(request, **kwargs) | |
File "/home/administrator/.virtualenvs/networklocum/local/lib/python2.7/site-packages/requests/adapters.py", line 209, in send | |
raise ConnectionError(e) | |
ConnectionError: HTTPSConnectionPool(host='connect.stripe.com', port=443): Max retries exceeded with url: /oauth/token (Caused by <class 'socket.gaierror'>: [Errno -3] Temporary failure in name resolution) | |
[ERROR ] 2014-05-01 10:21:54,467 - Craig Blaszczyk tried to connect to Stripe but there was a ConnectionError | |
[ERROR ] 2014-05-01 10:23:52,143 - Craig Blaszczyk tried to connect to Stripe but they're not a locum or a practice manager | |
[ERROR ] 2014-05-01 10:38:26,509 - Craig Blaszczyk tried to connect to Stripe but Stripe responded with an incomplete response for the "Convert code to token" request. Could not find key xxx in {u'stripe_publishable_key': u'pk_test_fDzLgXEPpKfLCpPuVvRaUU5O', u'access_token': u'sk_test_XL6BVlKGKll0Zv1xgiOYt10D', u'livemode': False, u'token_type': u'bearer', u'scope': u'read_write', u'refresh_token': u'rt_3xAlUBxovOi16ueFtxPpHbHLBLqu4yMWGMPzgTVRJ6x3gXBV', u'stripe_user_id': u'acct_103wuY2CyD1w5DAh'} | |
[ERROR ] 2014-05-01 10:55:12,584 - Internal Server Error: /stripe/oauth_complete/ | |
Traceback (most recent call last): | |
File "/home/administrator/.virtualenvs/networklocum/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/home/administrator/.virtualenvs/networklocum/local/lib/python2.7/site-packages/django/views/generic/base.py", line 48, in view | |
return self.dispatch(request, *args, **kwargs) | |
File "/home/administrator/.virtualenvs/networklocum/local/lib/python2.7/site-packages/braces/views.py", line 98, in dispatch | |
**kwargs) | |
File "/home/administrator/.virtualenvs/networklocum/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in dispatch | |
return handler(request, *args, **kwargs) | |
File "/src/networklocum/networklocum/world/views.py", line 725, in get | |
profile.stripe_user_id = content['user_id'] | |
KeyError: 'user_id' | |
[ERROR ] 2014-05-01 10:55:38,724 - Craig Blaszczyk tried to connect to Stripe but Stripe responded with a non-200 when trying to convert the code to a token. Status code: 400. Content: { | |
"error": "invalid_grant", | |
"error_description": "This authorization code has already been used. All tokens issued with this code have been revoked." | |
} | |
[INFO ] 2014-05-01 10:56:01,603 - Locum Craig Blaszczyk signed up to Stripe sucessfully | |
[INFO ] 2014-05-01 10:56:53,445 - Locum Craig Blaszczyk signed up to Stripe sucessfully | |
[ERROR ] 2014-05-01 10:56:53,447 - Internal Server Error: /stripe/oauth_complete/ | |
Traceback (most recent call last): | |
File "/home/administrator/.virtualenvs/networklocum/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/home/administrator/.virtualenvs/networklocum/local/lib/python2.7/site-packages/django/views/generic/base.py", line 48, in view | |
return self.dispatch(request, *args, **kwargs) | |
File "/home/administrator/.virtualenvs/networklocum/local/lib/python2.7/site-packages/braces/views.py", line 98, in dispatch | |
**kwargs) | |
File "/home/administrator/.virtualenvs/networklocum/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in dispatch | |
return handler(request, *args, **kwargs) | |
File "/src/networklocum/networklocum/world/views.py", line 737, in get | |
messages.success('You have connect your Stripe account') | |
TypeError: success() takes at least 2 arguments (1 given) | |
[INFO ] 2014-05-01 10:57:29,058 - Locum Craig Blaszczyk signed up to Stripe sucessfully | |
[INFO ] 2014-05-01 10:58:55,531 - User Craig Blaszczyk signed up practice Cranwich road Surgery to Stripe sucessfully | |
[INFO ] 2014-05-01 11:05:57,576 - User Craig Blaszczyk signed up practice Cranwich road Surgery to Stripe sucessfully | |
[INFO ] 2014-05-01 11:06:34,506 - User Craig Blaszczyk signed up practice Cranwich road Surgery to Stripe sucessfully | |
[INFO ] 2014-05-01 11:09:20,279 - User <bound method User.get_full_name of <User: Craig Blaszczyk (craig@networklocum.com)>> signed up locum <bound method User.get_full_name of <User: Raj Bodapati (rajbodapati@example1.com)>> to Stripe sucessfully | |
[INFO ] 2014-05-01 11:11:33,608 - User Craig Blaszczyk signed up locum Raj Bodapati to Stripe sucessfully | |
[INFO ] 2014-05-01 11:12:05,029 - User Craig Blaszczyk has logged in. | |
[INFO ] 2014-05-01 11:12:14,936 - User Raj Bodapati has logged in. | |
[INFO ] 2014-05-01 11:13:04,342 - Locum Raj Bodapati signed up to Stripe sucessfully | |
[INFO ] 2014-05-01 11:13:42,114 - User Khurram Shahzad has logged in. | |
[INFO ] 2014-05-01 11:13:49,508 - User Khurram Shahzad signed up practice THE HOXTON SURGERY to Stripe sucessfully |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment