· 7 years ago · Nov 13, 2018, 10:00 PM
1$ docker exec -ti scope_www_1 python /scope/manage.py raven test
2[warnings snipped]
3Client configuration:
4 base_url : http://sentry_sentry:9000
5 project : 2
6 public_key : xxx
7 secret_key : yyy
8
9Sending a test message... Event ID was 'd870d3f59ec540969d683e079667e1fc'
1021:09:47.499 E sentry.errors Sentry responded with an error: HTTP Error 400: BAD REQUEST (url: http://sentry_sentry:9000/api/2/store/)
11Traceback (most recent call last):
12 File "/.asdf/installs/python/2.7.14/lib/python2.7/site-packages/raven/transport/threaded.py", line 172, in send_sync
13 super(ThreadedHTTPTransport, self).send(url, data, headers)
14 File "/.asdf/installs/python/2.7.14/lib/python2.7/site-packages/raven/transport/http.py", line 43, in send
15 ca_certs=self.ca_certs,
16 File "/.asdf/installs/python/2.7.14/lib/python2.7/site-packages/raven/utils/http.py", line 66, in urlopen
17 return opener.open(url, data, timeout)
18 File "/.asdf/installs/python/2.7.14/lib/python2.7/urllib2.py", line 435, in open
19 response = meth(req, response)
20 File "/.asdf/installs/python/2.7.14/lib/python2.7/urllib2.py", line 548, in http_response
21 'http', request, response, code, msg, hdrs)
22 File "/.asdf/installs/python/2.7.14/lib/python2.7/urllib2.py", line 473, in error
23 return self._call_chain(*args)
24 File "/.asdf/installs/python/2.7.14/lib/python2.7/urllib2.py", line 407, in _call_chain
25 result = func(*args)
26 File "/.asdf/installs/python/2.7.14/lib/python2.7/urllib2.py", line 556, in http_error_default
27 raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
28HTTPError: HTTP Error 400: BAD REQUEST
2921:09:47.501 E sentry.errors.uncaught [u'This is a test message generated using ``raven test``']