HTTPConnectionPool(host='www.gw2spidy.com', port=80): Max retries exceeded with url: /chart/368 (Caused by ProtocolError('Connection aborted.', BadStatusLine("''",)))
Request Method: | GET |
---|---|
Request URL: | http://gw2.vipserv.org/app/item/368/ |
Django Version: | 1.7 |
Exception Type: | MaxRetryError |
Exception Value: | HTTPConnectionPool(host='www.gw2spidy.com', port=80): Max retries exceeded with url: /chart/368 (Caused by ProtocolError('Connection aborted.', BadStatusLine("''",))) |
Exception Location: | /home/jligeza/site-packages/urllib3/util/retry.py in increment, line 303 |
Python Executable: | /usr/bin/python2.7 |
Python Version: | 2.7.2 |
Python Path: | ['/site-packages', '/home/jligeza/rails/gw2market_app', '/home/jligeza/rails/gw2market_app', '/usr/passenger-5.3.4/src/helper-scripts', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/cairocffi-0.5.4-py2.7.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/CairoSVG-1.0.9-py2.7.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/cffi-0.8.6-py2.7-linux-x86_64.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/cssselect-0.9.1-py2.7.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/fasteners-0.14.1-py2.7.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/Genshi-0.6-py2.7.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/html5lib-1.0b3-py2.7.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/lxml-3.0.1-py2.7-linux-x86_64.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/monotonic-1.3-py2.7.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/MySQL_python-1.2.3-py2.7-linux-x86_64.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/psycopg2-2.4.4-py2.7-linux-x86_64.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/pycparser-2.10-py2.7.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/Pyphen-0.9.1-py2.7.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/pysqlite-2.6.3-py2.7-linux-x86_64.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/six-1.7.3-py2.7.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/tinycss-0.3-py2.7-linux-x86_64.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/Trac-0.12.3-py2.7.egg', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/WeasyPrint-0.22-py2.7.egg', '/home/jligeza/rails/gw2market_app/site-packages', '/home/jligeza/rails/site-packages', '/home/jligeza/site-packages', '/usr/share/Python-2.7.2/lib/python27.zip', '/usr/share/Python-2.7.2/lib/python2.7', '/usr/share/Python-2.7.2/lib/python2.7/plat-linux3', '/usr/share/Python-2.7.2/lib/python2.7/lib-tk', '/usr/share/Python-2.7.2/lib/python2.7/lib-old', '/usr/share/Python-2.7.2/lib/python2.7/lib-dynload', '/usr/share/Python-2.7.2/lib/python2.7/site-packages', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/PIL', '/usr/share/Python-2.7.2/lib/python2.7/site-packages/setuptools-18.7.1-py2.7.egg', '/home/jligeza/rails/site-packages'] |
Server time: | Czw, 28 Marz 2024 14:30:04 +0100 |
/home/jligeza/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
e | MaxRetryError('HTTPConnectionPool(host=\'www.gw2spidy.com\', port=80): Max retries exceeded with url: /chart/368 (Caused by ProtocolError(\'Connection aborted.\', BadStatusLine("\'\'",)))',) |
callback_args | (u'368',) |
resolver_match | ResolverMatch(func=<function item_page at 0x1b9d578>, args=(u'368',), kwargs={}, url_name='item_page', app_name='None', namespace='') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x1a39f90>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x14f4ed0> |
request | "<WSGIRequest\npath:/app/item/368/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'wSSzvDFbnr6GRUAUeDVJHwxlCu6W0jTR',\n 'GEM_HOME': '/home/jligeza/.gems/2.2',\n 'GEM_PATH': '/home/jligeza/.gems/2.2',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'gw2.vipserv.org',\n 'HTTP_REFERER': 'http://gw2.vipserv.org/app/item/368',\n 'HTTP_USER_AGENT': 'claudebot',\n 'LANG': 'pl_PL.UTF-8',\n 'LC_ALL': 'pl_PL.UTF-8',\n 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY': '0',\n 'PASSENGER_CONNECT_PASSWORD': 'VUTgaM80jNUOPZ3P',\n 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY': '0',\n 'PATH_INFO': u'/app/item/368/',\n 'PYTHONPATH': './site-packages:../site-packages:/home/jligeza/site-packages',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '18.232.188.122',\n 'REMOTE_PORT': '34614',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/app/item/368/',\n 'SCRIPT_NAME': u'',\n 'SECRET_KEY_BASE': 'bwu6aqfc16jhm9ihftp7ap2whkp7xu0yglvh11jtxt0at9hysxvsdnfkyuhlf8aljvtbm3u9mka5jiu15fk8tqihaqtfotryfazs4jsgusc30xvv26ulm2tnidtxxal2',\n 'SERVER_NAME': 'gw2.vipserv.org',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Apache/2.4.48 (Unix) OpenSSL/1.1.1b SVN/1.9.3 mod_fcgid/2.3.9 Phusion_Passenger/5.3.4',\n 'passenger.hijack': <function hijack at 0x1c932a8>,\n 'paste.throw_errors': True,\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7efc2f9f4270>,\n 'wsgi.input': <socket._fileobject object at 0x1c8f9d0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function item_page at 0x1b9d578> |
wrapped_callback | <function item_page at 0x1b9d578> |
resolver | <RegexURLResolver 'projekt.urls' (None:None) ^/> |
callback_kwargs | {} |
response | None |
urlconf | 'projekt.urls' |
/home/jligeza/rails/gw2market_app/app/views.py
in item_page
from render.bookmarks import render_bookmarks
from render.item_page import render_item_page
from render.database_tools import render_database_tools
from render.item_table import render_item_table
def item_page(request, item_id):
return render_item_page(request, item_id)...
@login_required
def bookmarks(request, page):
return render_bookmarks(request, page)
Variable | Value |
---|---|
item_id | u'368' |
request | "<WSGIRequest\npath:/app/item/368/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'wSSzvDFbnr6GRUAUeDVJHwxlCu6W0jTR',\n 'GEM_HOME': '/home/jligeza/.gems/2.2',\n 'GEM_PATH': '/home/jligeza/.gems/2.2',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'gw2.vipserv.org',\n 'HTTP_REFERER': 'http://gw2.vipserv.org/app/item/368',\n 'HTTP_USER_AGENT': 'claudebot',\n 'LANG': 'pl_PL.UTF-8',\n 'LC_ALL': 'pl_PL.UTF-8',\n 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY': '0',\n 'PASSENGER_CONNECT_PASSWORD': 'VUTgaM80jNUOPZ3P',\n 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY': '0',\n 'PATH_INFO': u'/app/item/368/',\n 'PYTHONPATH': './site-packages:../site-packages:/home/jligeza/site-packages',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '18.232.188.122',\n 'REMOTE_PORT': '34614',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/app/item/368/',\n 'SCRIPT_NAME': u'',\n 'SECRET_KEY_BASE': 'bwu6aqfc16jhm9ihftp7ap2whkp7xu0yglvh11jtxt0at9hysxvsdnfkyuhlf8aljvtbm3u9mka5jiu15fk8tqihaqtfotryfazs4jsgusc30xvv26ulm2tnidtxxal2',\n 'SERVER_NAME': 'gw2.vipserv.org',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Apache/2.4.48 (Unix) OpenSSL/1.1.1b SVN/1.9.3 mod_fcgid/2.3.9 Phusion_Passenger/5.3.4',\n 'passenger.hijack': <function hijack at 0x1c932a8>,\n 'paste.throw_errors': True,\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7efc2f9f4270>,\n 'wsgi.input': <socket._fileobject object at 0x1c8f9d0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
/home/jligeza/rails/gw2market_app/app/render/item_page.py
in render_item_page
from ..helpers.new_gw2api import get_prices
def render_item_page(request, item_id):
item = _models.Item.objects.filter(item_id=item_id)
_check_if_item_exists(item)
data = get_prices(item_id)...
sell = {}
buy = {}
START = _select_prices_range(data)
for i in xrange(START, 0):
Variable | Value |
---|---|
item_id | u'368' |
item | [<Item: Strong Cabalist Coat of the Lich>] |
request | "<WSGIRequest\npath:/app/item/368/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'wSSzvDFbnr6GRUAUeDVJHwxlCu6W0jTR',\n 'GEM_HOME': '/home/jligeza/.gems/2.2',\n 'GEM_PATH': '/home/jligeza/.gems/2.2',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'gw2.vipserv.org',\n 'HTTP_REFERER': 'http://gw2.vipserv.org/app/item/368',\n 'HTTP_USER_AGENT': 'claudebot',\n 'LANG': 'pl_PL.UTF-8',\n 'LC_ALL': 'pl_PL.UTF-8',\n 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY': '0',\n 'PASSENGER_CONNECT_PASSWORD': 'VUTgaM80jNUOPZ3P',\n 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY': '0',\n 'PATH_INFO': u'/app/item/368/',\n 'PYTHONPATH': './site-packages:../site-packages:/home/jligeza/site-packages',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '18.232.188.122',\n 'REMOTE_PORT': '34614',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/app/item/368/',\n 'SCRIPT_NAME': u'',\n 'SECRET_KEY_BASE': 'bwu6aqfc16jhm9ihftp7ap2whkp7xu0yglvh11jtxt0at9hysxvsdnfkyuhlf8aljvtbm3u9mka5jiu15fk8tqihaqtfotryfazs4jsgusc30xvv26ulm2tnidtxxal2',\n 'SERVER_NAME': 'gw2.vipserv.org',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Apache/2.4.48 (Unix) OpenSSL/1.1.1b SVN/1.9.3 mod_fcgid/2.3.9 Phusion_Passenger/5.3.4',\n 'passenger.hijack': <function hijack at 0x1c932a8>,\n 'paste.throw_errors': True,\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7efc2f9f4270>,\n 'wsgi.input': <socket._fileobject object at 0x1c8f9d0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
/home/jligeza/rails/gw2market_app/app/helpers/new_gw2api.py
in get_prices
# -*- coding: utf-8 -*-
import time as _time
import urllib3 as _urllib3
import json as _json
def get_prices(item_id):
data = _get_data_from_api(item_id)...
sell = _get_sell_prices_and_dates(data)
buy = _get_buy_prices_and_dates(data)
return {'sell': sell, 'buy': buy}
def _get_data_from_api(item_id):
Variable | Value |
---|---|
item_id | u'368' |
/home/jligeza/rails/gw2market_app/app/helpers/new_gw2api.py
in _get_data_from_api
return {'sell': sell, 'buy': buy}
def _get_data_from_api(item_id):
"""Returns all prices for given item id."""
http = _urllib3.PoolManager()
url = 'http://www.gw2spidy.com/chart/' + str(item_id)
request = http.request("GET", url)...
return _json.loads(request.data)
def _get_buy_prices_and_dates(prices):
raw_buy_price = _select_all_prices('buy', prices)
# buy_price = _format_price(raw_buy_price)
Variable | Value |
---|---|
url | 'http://www.gw2spidy.com/chart/368' |
item_id | u'368' |
http | <urllib3.poolmanager.PoolManager object at 0x1c92c90> |
/home/jligeza/site-packages/urllib3/request.py
in request
or even the lowest level :meth:`urlopen`.
"""
method = method.upper()
if method in self._encode_url_methods:
return self.request_encode_url(method, url, fields=fields,
headers=headers,
**urlopen_kw)...
else:
return self.request_encode_body(method, url, fields=fields,
headers=headers,
**urlopen_kw)
def request_encode_url(self, method, url, fields=None, headers=None,
Variable | Value |
---|---|
url | 'http://www.gw2spidy.com/chart/368' |
fields | None |
urlopen_kw | {} |
method | 'GET' |
headers | None |
self | <urllib3.poolmanager.PoolManager object at 0x1c92c90> |
/home/jligeza/site-packages/urllib3/request.py
in request_encode_url
extra_kw = {'headers': headers}
extra_kw.update(urlopen_kw)
if fields:
url += '?' + urlencode(fields)
return self.urlopen(method, url, **extra_kw)...
def request_encode_body(self, method, url, fields=None, headers=None,
encode_multipart=True, multipart_boundary=None,
**urlopen_kw):
"""
Make a request using :meth:`urlopen` with the ``fields`` encoded in
Variable | Value |
---|---|
url | 'http://www.gw2spidy.com/chart/368' |
fields | None |
urlopen_kw | {} |
method | 'GET' |
headers | {} |
self | <urllib3.poolmanager.PoolManager object at 0x1c92c90> |
extra_kw | {'headers': {}} |
/home/jligeza/site-packages/urllib3/poolmanager.py
in urlopen
kw['redirect'] = False
if 'headers' not in kw:
kw['headers'] = self.headers
if self.proxy is not None and u.scheme == "http":
response = conn.urlopen(method, url, **kw)
else:
response = conn.urlopen(method, u.request_uri, **kw)...
redirect_location = redirect and response.get_redirect_location()
if not redirect_location:
return response
# Support relative URLs for redirecting.
Variable | Value |
---|---|
redirect | True |
url | 'http://www.gw2spidy.com/chart/368' |
self | <urllib3.poolmanager.PoolManager object at 0x1c92c90> |
kw | {'assert_same_host': False, 'headers': {}, 'redirect': False} |
u | Url(scheme='http', auth=None, host='www.gw2spidy.com', port=None, path='/chart/368', query=None, fragment=None) |
method | 'GET' |
conn | <urllib3.connectionpool.HTTPConnectionPool object at 0x1cb6050> |
/home/jligeza/site-packages/urllib3/connectionpool.py
in urlopen
if not conn:
# Try again
log.warning("Retrying (%r) after connection "
"broken by '%r': %s", retries, err, url)
return self.urlopen(method, url, body, headers, retries,
redirect, assert_same_host,
timeout=timeout, pool_timeout=pool_timeout,
release_conn=release_conn, **response_kw)...
# Handle redirect?
redirect_location = redirect and response.get_redirect_location()
if redirect_location:
if response.status == 303:
method = 'GET'
Variable | Value |
---|---|
redirect | False |
retries | Retry(total=2, connect=None, read=None, redirect=None) |
clean_exit | False |
timeout | <object object at 0x1a382e0> |
err | ProtocolError('Connection aborted.', BadStatusLine("''",)) |
timeout_obj | <urllib3.util.timeout.Timeout object at 0x1cb6210> |
release_conn | True |
self | <urllib3.connectionpool.HTTPConnectionPool object at 0x1cb6050> |
body | None |
is_new_proxy_conn | False |
response_kw | {} |
headers | {} |
url | '/chart/368' |
pool_timeout | None |
release_this_conn | True |
e | ProtocolError('Connection aborted.', BadStatusLine("''",)) |
chunked | False |
assert_same_host | False |
method | 'GET' |
conn | None |
/home/jligeza/site-packages/urllib3/connectionpool.py
in urlopen
if not conn:
# Try again
log.warning("Retrying (%r) after connection "
"broken by '%r': %s", retries, err, url)
return self.urlopen(method, url, body, headers, retries,
redirect, assert_same_host,
timeout=timeout, pool_timeout=pool_timeout,
release_conn=release_conn, **response_kw)...
# Handle redirect?
redirect_location = redirect and response.get_redirect_location()
if redirect_location:
if response.status == 303:
method = 'GET'
Variable | Value |
---|---|
redirect | False |
retries | Retry(total=1, connect=None, read=None, redirect=None) |
clean_exit | False |
timeout | <object object at 0x1a382e0> |
err | ProtocolError('Connection aborted.', BadStatusLine("''",)) |
timeout_obj | <urllib3.util.timeout.Timeout object at 0x1cb6350> |
release_conn | True |
self | <urllib3.connectionpool.HTTPConnectionPool object at 0x1cb6050> |
body | None |
is_new_proxy_conn | False |
response_kw | {} |
headers | {} |
url | '/chart/368' |
pool_timeout | None |
release_this_conn | True |
e | ProtocolError('Connection aborted.', BadStatusLine("''",)) |
chunked | False |
assert_same_host | False |
method | 'GET' |
conn | None |
/home/jligeza/site-packages/urllib3/connectionpool.py
in urlopen
if not conn:
# Try again
log.warning("Retrying (%r) after connection "
"broken by '%r': %s", retries, err, url)
return self.urlopen(method, url, body, headers, retries,
redirect, assert_same_host,
timeout=timeout, pool_timeout=pool_timeout,
release_conn=release_conn, **response_kw)...
# Handle redirect?
redirect_location = redirect and response.get_redirect_location()
if redirect_location:
if response.status == 303:
method = 'GET'
Variable | Value |
---|---|
redirect | False |
retries | Retry(total=0, connect=None, read=None, redirect=None) |
clean_exit | False |
timeout | <object object at 0x1a382e0> |
err | ProtocolError('Connection aborted.', BadStatusLine("''",)) |
timeout_obj | <urllib3.util.timeout.Timeout object at 0x1cb6490> |
release_conn | True |
self | <urllib3.connectionpool.HTTPConnectionPool object at 0x1cb6050> |
body | None |
is_new_proxy_conn | False |
response_kw | {} |
headers | {} |
url | '/chart/368' |
pool_timeout | None |
release_this_conn | True |
e | ProtocolError('Connection aborted.', BadStatusLine("''",)) |
chunked | False |
assert_same_host | False |
method | 'GET' |
conn | None |
/home/jligeza/site-packages/urllib3/connectionpool.py
in urlopen
if isinstance(e, (SocketError, NewConnectionError)) and self.proxy:
e = ProxyError('Cannot connect to proxy.', e)
elif isinstance(e, (SocketError, HTTPException)):
e = ProtocolError('Connection aborted.', e)
retries = retries.increment(method, url, error=e, _pool=self,
_stacktrace=sys.exc_info()[2])...
retries.sleep()
# Keep track of the error for the retry warning.
err = e
finally:
Variable | Value |
---|---|
redirect | False |
retries | Retry(total=0, connect=None, read=None, redirect=None) |
clean_exit | False |
timeout | <object object at 0x1a382e0> |
err | None |
timeout_obj | <urllib3.util.timeout.Timeout object at 0x1cb6550> |
release_conn | True |
self | <urllib3.connectionpool.HTTPConnectionPool object at 0x1cb6050> |
body | None |
is_new_proxy_conn | False |
response_kw | {} |
headers | {} |
url | '/chart/368' |
pool_timeout | None |
release_this_conn | True |
e | ProtocolError('Connection aborted.', BadStatusLine("''",)) |
chunked | False |
assert_same_host | False |
method | 'GET' |
conn | None |
/home/jligeza/site-packages/urllib3/util/retry.py
in increment
new_retry = self.new(
total=total,
connect=connect, read=read, redirect=redirect,
history=history)
if new_retry.is_exhausted():
raise MaxRetryError(_pool, url, error or ResponseError(cause))...
log.debug("Incremented Retry for (url='%s'): %r", url, new_retry)
return new_retry
def __repr__(self):
Variable | Value |
---|---|
status | None |
redirect | None |
read | None |
self | Retry(total=0, connect=None, read=None, redirect=None) |
_stacktrace | <traceback object at 0x1cb5d88> |
_pool | <urllib3.connectionpool.HTTPConnectionPool object at 0x1cb6050> |
response | None |
new_retry | Retry(total=-1, connect=None, read=None, redirect=None) |
url | '/chart/368' |
redirect_location | None |
connect | None |
error | ProtocolError('Connection aborted.', BadStatusLine("''",)) |
total | -1 |
cause | 'unknown' |
method | 'GET' |
history | (RequestHistory(method='GET', url='/chart/368', error=ProtocolError('Connection aborted.', BadStatusLine("''",)), status=None, redirect_location=None), RequestHistory(method='GET', url='/chart/368', error=ProtocolError('Connection aborted.', BadStatusLine("''",)), status=None, redirect_location=None), RequestHistory(method='GET', url='/chart/368', error=ProtocolError('Connection aborted.', BadStatusLine("''",)), status=None, redirect_location=None), RequestHistory(method='GET', url='/chart/368', error=ProtocolError('Connection aborted.', BadStatusLine("''",)), status=None, redirect_location=None)) |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
HTTP_REFERER | 'http://gw2.vipserv.org/app/item/368' |
SERVER_SOFTWARE | 'Apache/2.4.48 (Unix) OpenSSL/1.1.1b SVN/1.9.3 mod_fcgid/2.3.9 Phusion_Passenger/5.3.4' |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/app/item/368/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
paste.throw_errors | True |
LANG | 'pl_PL.UTF-8' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'gw2.vipserv.org' |
REMOTE_ADDR | '18.232.188.122' |
wsgi.url_scheme | 'http' |
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY | '0' |
SERVER_PORT | '80' |
REQUEST_URI | '/app/item/368/' |
GEM_PATH | '/home/jligeza/.gems/2.2' |
PYTHONPATH | './site-packages:../site-packages:/home/jligeza/site-packages' |
SECRET_KEY_BASE | 'bwu6aqfc16jhm9ihftp7ap2whkp7xu0yglvh11jtxt0at9hysxvsdnfkyuhlf8aljvtbm3u9mka5jiu15fk8tqihaqtfotryfazs4jsgusc30xvv26ulm2tnidtxxal2' |
wsgi.input | <socket._fileobject object at 0x1c8f9d0> |
HTTP_HOST | 'gw2.vipserv.org' |
wsgi.multithread | False |
LC_ALL | 'pl_PL.UTF-8' |
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY | '0' |
PASSENGER_CONNECT_PASSWORD | 'VUTgaM80jNUOPZ3P' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file '<stderr>', mode 'w' at 0x7efc2f9f4270> |
REMOTE_PORT | '34614' |
passenger.hijack | None |
CSRF_COOKIE | u'wSSzvDFbnr6GRUAUeDVJHwxlCu6W0jTR' |
GEM_HOME | '/home/jligeza/.gems/2.2' |
projekt.settings
Setting | Value |
---|---|
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'pl' |
ROOT_URLCONF | 'projekt.urls' |
MANAGERS | () |
BASE_DIR | '/home/jligeza/rails/gw2market_app' |
TEST_NON_SERIALIZED_APPS | [] |
ACCOUNT_ACTIVATION_DAYS | 5 |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | None |
ALLOWED_HOSTS | ['127.0.0.1'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'mysql5', 'NAME': 'jligeza_gw2', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Europe/Warsaw', 'USER': 'jligeza_gw2'}} |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
LOCALE_PATHS | () |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
SILENCED_SYSTEM_CHECKS | [] |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'logging.config.dictConfig' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
FIRST_DAY_OF_WEEK | 0 |
WSGI_APPLICATION | 'projekt.wsgi.application' |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
DEFAULT_CHARSET | 'utf-8' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.core.mail', 'django.contrib.admin', 'django.contrib.sites', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'app', 'registration', 'chartkick') |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')) |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | ('/home/jligeza/rails/gw2market_app/static', '/home/jligeza/site-packages/chartkick/js') |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
INTERNAL_IPS | () |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
MIGRATION_MODULES | {} |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'smtp.gmail.com' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/home/jligeza/rails/gw2market_app/templates',) |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {'disable_existing_loggers': False, 'formatters': {'custom': {'format': '[%(asctime)s] <%(levelname)s> module:%(module)s: %(message)s'}}, 'handlers': {'file': {'class': 'logging.FileHandler', 'filename': './debug.log', 'formatter': 'custom', 'level': 'DEBUG'}}, 'loggers': {'django.request': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'Europe/Warsaw' |
REGISTRATION_AUTO_LOGIN | True |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_USE_SSL | True |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'projekt.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
FILE_UPLOAD_TEMP_DIR | None |
CSRF_COOKIE_AGE | 31449600 |
STATIC_URL | '/static/' |
EMAIL_PORT | 465 |
USE_TZ | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_HTTPONLY | False |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
EMAIL_HOST_USER | 'django.test.111@gmail.com' |
PROFANITIES_LIST | u'********************' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard 500 page.