Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Connection read timeouts #339

@s0undt3ch

Description

@s0undt3ch
Unable to reach Sentry log server: The read operation timed out (url: threaded+https://app.getsentry.com/api/10946/store/)
Traceback (most recent call last):
  File "/home/vampas/projects/.vp_installs/PY-2.7/local/lib/python2.7/site-packages/raven/transport/threaded.py", line 109, in send_sync
    super(ThreadedHTTPTransport, self).send(data, headers)
  File "/home/vampas/projects/.vp_installs/PY-2.7/local/lib/python2.7/site-packages/raven/transport/base.py", line 197, in send
    response = compat.urlopen(req, data, self.timeout).read()
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1222, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1187, in do_open
    r = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1045, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 409, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/lib/python2.7/socket.py", line 476, in readline
    data = self._sock.recv(self._rbufsize)
  File "/usr/lib/python2.7/ssl.py", line 298, in recv
    return self.read(buflen)
  File "/usr/lib/python2.7/ssl.py", line 217, in read
    return self._sslobj.read(len)
SSLError: The read operation timed out

Using HTTP

Unable to reach Sentry log server: HTTP Error 403: FORBIDDEN (url: threaded+http://app.getsentry.com/api/10946/store/, body: Bad data reconstructing object (ValueError, No JSON object could be decoded))
Traceback (most recent call last):
  File "/home/vampas/projects/.vp_installs/PY-2.7/local/lib/python2.7/site-packages/raven/transport/threaded.py", line 109, in send_sync
    super(ThreadedHTTPTransport, self).send(data, headers)
  File "/home/vampas/projects/.vp_installs/PY-2.7/local/lib/python2.7/site-packages/raven/transport/base.py", line 197, in send
    response = compat.urlopen(req, data, self.timeout).read()
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 442, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 629, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: FORBIDDEN

Am I hitting the sentry limits? Should the HTTPS errror be improved?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions