<urlopen error [Errno 111] Connection refused>
Request Method: | GET |
---|---|
Request URL: | http://127.0.0.1:8002/data/html/gnd/122920678 |
Django Version: | 5.0.1 |
Exception Type: | URLError |
Exception Value: | <urlopen error [Errno 111] Connection refused> |
Exception Location: | /usr/lib/python3.10/urllib/request.py, line 1351, in do_open |
Raised during: | pubby.views.get |
Python Executable: | /usr/bin/python3 |
Python Version: | 3.10.12 |
Python Path: | ['/data/pubby-django/server', '/usr/bin', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages'] |
Server time: | Fri, 29 Mar 2024 12:31:51 +0100 |
/usr/lib/python3.10/urllib/request.py
, line 1348, in do_open
# Proxy-Authorization should not be sent to origin
# server.
del headers[proxy_auth_hdr]
h.set_tunnel(req._tunnel_host, headers=tunnel_headers)
try:
try:
h.request(req.get_method(), req.selector, req.data, headers,…
encode_chunked=req.has_header('Transfer-encoding'))
except OSError as err: # timeout error
raise URLError(err)
r = h.getresponse()
except:
h.close()
Variable | Value |
---|---|
h | <http.client.HTTPConnection object at 0x7efce2a708e0> |
headers | {'Accept': 'application/ld+json,application/x-json+ld', 'Connection': 'close', 'Host': 'localhost:3030', 'User-Agent': 'sparqlwrapper 2.0.0 (rdflib.github.io/sparqlwrapper)'} |
host | 'localhost:3030' |
http_class | <class 'http.client.HTTPConnection'> |
http_conn_args | {} |
req | <urllib.request.Request object at 0x7efce2a72560> |
self | <urllib.request.HTTPHandler object at 0x7efce2d73d30> |
/usr/lib/python3.10/http/client.py
, line 1283, in request
else:
raise CannotSendHeader()
self._send_output(message_body, encode_chunked=encode_chunked)
def request(self, method, url, body=None, headers={}, *,
encode_chunked=False):
"""Send a complete request to the server."""
self._send_request(method, url, body, headers, encode_chunked)…
def _send_request(self, method, url, body, headers, encode_chunked):
# Honor explicitly requested Host: and Accept-Encoding: headers.
header_names = frozenset(k.lower() for k in headers)
skips = {}
if 'host' in header_names:
Variable | Value |
---|---|
body | None |
encode_chunked | False |
headers | {'Accept': 'application/ld+json,application/x-json+ld', 'Connection': 'close', 'Host': 'localhost:3030', 'User-Agent': 'sparqlwrapper 2.0.0 (rdflib.github.io/sparqlwrapper)'} |
method | 'GET' |
self | <http.client.HTTPConnection object at 0x7efce2a708e0> |
url | '/judaicalink/query?query=CONSTRUCT+%7B%0A%09+++graph+%3Fgraph+%7B%0A++++++++++++++++++++++++%3Fsubject+%3Fpredicate+%3Fobject+.%0A%09%09%09%7D%0A++++++++++++++++++++%7D+WHERE+%7B%0A++++++++++++++++++++++++graph+%3Fgraph+%7B%0A++++++++++++++++++++++++++++%3Fsubject+%3Fpredicate+%3Fobject+.%0A++++++++++++++++++++++++%7D%0A++++++++++++++++++++++++FILTER+%28%0A++++++++++++++++++++++++++++%3Fsubject+%3D+%3Chttp%3A//data.judaicalink.org/data/gnd/122920678%3E+%7C%7C+%3Fobject+%3D+%3Chttp%3A//data.judaicalink.org/data/gnd/122920678%3E%0A+++++++++++++++++++++++++%7C%7C+%3Fsubject+%3D+%3Chttp%3A//data.judaicalink.org/data/rdf/gnd/122920678%3E+%7C%7C+%3Fobject+%3D+%3Chttp%3A//data.judaicalink.org/data/rdf/gnd/122920678%3E%0A+++++++++++++++++++++++%29%0A++++++++++++++++++++%7D+&format=json-ld&format=application/ld%2Bjson%2Capplication/x-json%2Bld&output=json-ld&output=application/ld%2Bjson%2Capplication/x-json%2Bld&results=json-ld&results=application/ld%2Bjson%2Capplication/x-json%2Bld' |
/usr/lib/python3.10/http/client.py
, line 1329, in _send_request
for hdr, value in headers.items():
self.putheader(hdr, value)
if isinstance(body, str):
# RFC 2616 Section 3.7.1 says that text default has a
# default charset of iso-8859-1.
body = _encode(body, 'body')
self.endheaders(body, encode_chunked=encode_chunked)…
def getresponse(self):
"""Get the response from the server.
If the HTTPConnection is in the correct state, returns an
instance of HTTPResponse or of whatever object is returned by
Variable | Value |
---|---|
body | None |
content_length | None |
encode_chunked | False |
hdr | 'Connection' |
header_names | frozenset({'user-agent', 'host', 'connection', 'accept'}) |
headers | {'Accept': 'application/ld+json,application/x-json+ld', 'Connection': 'close', 'Host': 'localhost:3030', 'User-Agent': 'sparqlwrapper 2.0.0 (rdflib.github.io/sparqlwrapper)'} |
method | 'GET' |
self | <http.client.HTTPConnection object at 0x7efce2a708e0> |
skips | {'skip_host': 1} |
url | '/judaicalink/query?query=CONSTRUCT+%7B%0A%09+++graph+%3Fgraph+%7B%0A++++++++++++++++++++++++%3Fsubject+%3Fpredicate+%3Fobject+.%0A%09%09%09%7D%0A++++++++++++++++++++%7D+WHERE+%7B%0A++++++++++++++++++++++++graph+%3Fgraph+%7B%0A++++++++++++++++++++++++++++%3Fsubject+%3Fpredicate+%3Fobject+.%0A++++++++++++++++++++++++%7D%0A++++++++++++++++++++++++FILTER+%28%0A++++++++++++++++++++++++++++%3Fsubject+%3D+%3Chttp%3A//data.judaicalink.org/data/gnd/122920678%3E+%7C%7C+%3Fobject+%3D+%3Chttp%3A//data.judaicalink.org/data/gnd/122920678%3E%0A+++++++++++++++++++++++++%7C%7C+%3Fsubject+%3D+%3Chttp%3A//data.judaicalink.org/data/rdf/gnd/122920678%3E+%7C%7C+%3Fobject+%3D+%3Chttp%3A//data.judaicalink.org/data/rdf/gnd/122920678%3E%0A+++++++++++++++++++++++%29%0A++++++++++++++++++++%7D+&format=json-ld&format=application/ld%2Bjson%2Capplication/x-json%2Bld&output=json-ld&output=application/ld%2Bjson%2Capplication/x-json%2Bld&results=json-ld&results=application/ld%2Bjson%2Capplication/x-json%2Bld' |
value | 'close' |
/usr/lib/python3.10/http/client.py
, line 1278, in endheaders
argument can be used to pass a message body associated with the
request.
"""
if self.__state == _CS_REQ_STARTED:
self.__state = _CS_REQ_SENT
else:
raise CannotSendHeader()
self._send_output(message_body, encode_chunked=encode_chunked)…
def request(self, method, url, body=None, headers={}, *,
encode_chunked=False):
"""Send a complete request to the server."""
self._send_request(method, url, body, headers, encode_chunked)
Variable | Value |
---|---|
encode_chunked | False |
message_body | None |
self | <http.client.HTTPConnection object at 0x7efce2a708e0> |
/usr/lib/python3.10/http/client.py
, line 1038, in _send_output
Appends an extra \\r\\n to the buffer.
A message_body may be specified, to be appended to the request.
"""
self._buffer.extend((b"", b""))
msg = b"\r\n".join(self._buffer)
del self._buffer[:]
self.send(msg)…
if message_body is not None:
# create a consistent interface to message_body
if hasattr(message_body, 'read'):
# Let file-like take precedence over byte-like. This
Variable | Value |
---|---|
encode_chunked | False |
message_body | None |
msg | (b'GET /judaicalink/query?query=CONSTRUCT+%7B%0A%09+++graph+%3Fgraph+%7B%0A++++' b'++++++++++++++++++++%3Fsubject+%3Fpredicate+%3Fobject+.%0A%09%09%09%7D%0A+++' b'+++++++++++++++++%7D+WHERE+%7B%0A++++++++++++++++++++++++graph+%3Fgraph+%7B%' b'0A++++++++++++++++++++++++++++%3Fsubject+%3Fpredicate+%3Fobject+.%0A++++++++' b'++++++++++++++++%7D%0A++++++++++++++++++++++++FILTER+%28%0A+++++++++++++++++' b'+++++++++++%3Fsubject+%3D+%3Chttp%3A//data.judaicalink.org/data/gnd/12292067' b'8%3E+%7C%7C+%3Fobject+%3D+%3Chttp%3A//data.judaicalink.org/data/gnd/12292067' b'8%3E%0A+++++++++++++++++++++++++%7C%7C+%3Fsubject+%3D+%3Chttp%3A//data.judai' b'calink.org/data/rdf/gnd/122920678%3E+%7C%7C+%3Fobject+%3D+%3Chttp%3A//data.j' b'udaicalink.org/data/rdf/gnd/122920678%3E%0A+++++++++++++++++++++++%29%0A++++' b'++++++++++++++++%7D+&format=json-ld&format=application/ld%2Bjson%2Capplicati' b'on/x-json%2Bld&output=json-ld&output=application/ld%2Bjson%2Capplication/x-j' b'son%2Bld&results=json-ld&results=application/ld%2Bjson%2Capplication/x-json%' b'2Bld HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: localhost:3030\r\nUser' b'-Agent: sparqlwrapper 2.0.0 (rdflib.github.io/sparqlwrapper)\r\nAccept: ap' b'plication/ld+json,application/x-json+ld\r\nConnection: close\r\n\r\n') |
self | <http.client.HTTPConnection object at 0x7efce2a708e0> |
/usr/lib/python3.10/http/client.py
, line 976, in send
"""Send `data' to the server.
``data`` can be a string object, a bytes object, an array object, a
file-like object that supports a .read() method, or an iterable object.
"""
if self.sock is None:
if self.auto_open:
self.connect()…
else:
raise NotConnected()
if self.debuglevel > 0:
print("send:", repr(data))
if hasattr(data, "read") :
Variable | Value |
---|---|
data | (b'GET /judaicalink/query?query=CONSTRUCT+%7B%0A%09+++graph+%3Fgraph+%7B%0A++++' b'++++++++++++++++++++%3Fsubject+%3Fpredicate+%3Fobject+.%0A%09%09%09%7D%0A+++' b'+++++++++++++++++%7D+WHERE+%7B%0A++++++++++++++++++++++++graph+%3Fgraph+%7B%' b'0A++++++++++++++++++++++++++++%3Fsubject+%3Fpredicate+%3Fobject+.%0A++++++++' b'++++++++++++++++%7D%0A++++++++++++++++++++++++FILTER+%28%0A+++++++++++++++++' b'+++++++++++%3Fsubject+%3D+%3Chttp%3A//data.judaicalink.org/data/gnd/12292067' b'8%3E+%7C%7C+%3Fobject+%3D+%3Chttp%3A//data.judaicalink.org/data/gnd/12292067' b'8%3E%0A+++++++++++++++++++++++++%7C%7C+%3Fsubject+%3D+%3Chttp%3A//data.judai' b'calink.org/data/rdf/gnd/122920678%3E+%7C%7C+%3Fobject+%3D+%3Chttp%3A//data.j' b'udaicalink.org/data/rdf/gnd/122920678%3E%0A+++++++++++++++++++++++%29%0A++++' b'++++++++++++++++%7D+&format=json-ld&format=application/ld%2Bjson%2Capplicati' b'on/x-json%2Bld&output=json-ld&output=application/ld%2Bjson%2Capplication/x-j' b'son%2Bld&results=json-ld&results=application/ld%2Bjson%2Capplication/x-json%' b'2Bld HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: localhost:3030\r\nUser' b'-Agent: sparqlwrapper 2.0.0 (rdflib.github.io/sparqlwrapper)\r\nAccept: ap' b'plication/ld+json,application/x-json+ld\r\nConnection: close\r\n\r\n') |
self | <http.client.HTTPConnection object at 0x7efce2a708e0> |
/usr/lib/python3.10/http/client.py
, line 942, in connect
if self.debuglevel > 0:
print('header:', line.decode())
def connect(self):
"""Connect to the host and port specified in __init__."""
sys.audit("http.client.connect", self, self.host, self.port)
self.sock = self._create_connection(…
(self.host,self.port), self.timeout, self.source_address)
# Might fail in OSs that don't implement TCP_NODELAY
try:
self.sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
except OSError as e:
if e.errno != errno.ENOPROTOOPT:
Variable | Value |
---|---|
self | <http.client.HTTPConnection object at 0x7efce2a708e0> |
/usr/lib/python3.10/socket.py
, line 845, in create_connection
except error as _:
err = _
if sock is not None:
sock.close()
if err is not None:
try:
raise err…
finally:
# Break explicitly a reference cycle
err = None
else:
raise error("getaddrinfo returns an empty list")
Variable | Value |
---|---|
address | ('localhost', 3030) |
af | <AddressFamily.AF_INET: 2> |
canonname | '' |
err | None |
host | 'localhost' |
port | 3030 |
proto | 6 |
res | (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 3030)) |
sa | ('127.0.0.1', 3030) |
sock | <socket.socket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6> |
socktype | <SocketKind.SOCK_STREAM: 1> |
source_address | None |
timeout | <object object at 0x7efce55a4760> |
/usr/lib/python3.10/socket.py
, line 833, in create_connection
sock = None
try:
sock = socket(af, socktype, proto)
if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
sock.settimeout(timeout)
if source_address:
sock.bind(source_address)
sock.connect(sa)…
# Break explicitly a reference cycle
err = None
return sock
except error as _:
err = _
Variable | Value |
---|---|
address | ('localhost', 3030) |
af | <AddressFamily.AF_INET: 2> |
canonname | '' |
err | None |
host | 'localhost' |
port | 3030 |
proto | 6 |
res | (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 3030)) |
sa | ('127.0.0.1', 3030) |
sock | <socket.socket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6> |
socktype | <SocketKind.SOCK_STREAM: 1> |
source_address | None |
timeout | <object object at 0x7efce55a4760> |
/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py
, line 55, in inner
return inner
else:
@wraps(get_response)
def inner(request):
try:
response = get_response(request)…
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | URLError(ConnectionRefusedError(111, 'Connection refused')) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7efce3343d90>> |
request | <WSGIRequest: GET '/data/html/gnd/122920678'> |
/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py
, line 197, in _get_response
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is an asynchronous view, run it in a subthread.
if iscoroutinefunction(wrapped_callback):
wrapped_callback = async_to_sync(wrapped_callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
callback | <function get at 0x7efce2cf16c0> |
callback_args | () |
callback_kwargs | {'URI': 'html/gnd/122920678'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>> |
request | <WSGIRequest: GET '/data/html/gnd/122920678'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7efce3343d90> |
wrapped_callback | <function get at 0x7efce2cf16c0> |
/data/pubby-django/server/pubby/views.py
, line 163, in get
return HttpResponseSeeOther(resource.web_base + resource.data_path)
# get data from the sparql_endpoint, using JSONLD for the graph info
sparql = SPARQLWrapper(resource.sparql_endpoint)
sparql.setQuery(resource.sparql_query)
# We need JSON-LD to get the graph information
sparql.setReturnFormat(JSONLD)
result = sparql.query().convert()…
logging.debug('Result: %s', len(list(result.quads())))
if(len(list(result.quads())) == 0): #If there are no results.
raise Http404("No results")
#return HttpResponseNotFound("Data not found")
Variable | Value |
---|---|
URI | 'html/gnd/122920678' |
accept | '*/*' |
mime | 'text/xml' |
request | <WSGIRequest: GET '/data/html/gnd/122920678'> |
resource | <pubby.views.Resource object at 0x7efce2a71270> |
serialization | 'html' |
sparql | <SPARQLWrapper.Wrapper.SPARQLWrapper object at 0x7efce2a70040> |
/usr/local/lib/python3.10/dist-packages/SPARQLWrapper/Wrapper.py
, line 960, in query
unpredictable and may differ from one SPARQL endpoint implementation to the other. (Endpoints usually fall
back to one of the "meaningful" formats, but it is up to the specific implementation to choose which
one that is.)
:return: query result
:rtype: :class:`QueryResult` instance
"""
return QueryResult(self._query())…
def queryAndConvert(self) -> "QueryResult.ConvertResult":
"""Macro like method: issue a query and return the converted results.
:return: the converted query result. See the conversion methods for more details.
"""
Variable | Value |
---|---|
self | <SPARQLWrapper.Wrapper.SPARQLWrapper object at 0x7efce2a70040> |
/usr/local/lib/python3.10/dist-packages/SPARQLWrapper/Wrapper.py
, line 926, in _query
"""
request = self._createRequest()
try:
if self.timeout:
response = urlopener(request, timeout=self.timeout)
else:
response = urlopener(request)…
return response, self.returnFormat
except urllib.error.HTTPError as e:
if e.code == 400:
raise QueryBadFormed(e.read())
elif e.code == 404:
raise EndPointNotFound(e.read())
Variable | Value |
---|---|
request | <urllib.request.Request object at 0x7efce2a72560> |
self | <SPARQLWrapper.Wrapper.SPARQLWrapper object at 0x7efce2a70040> |
/usr/lib/python3.10/urllib/request.py
, line 216, in urlopen
elif context:
https_handler = HTTPSHandler(context=context)
opener = build_opener(https_handler)
elif _opener is None:
_opener = opener = build_opener()
else:
opener = _opener
return opener.open(url, data, timeout)…
def install_opener(opener):
global _opener
_opener = opener
_url_tempfiles = []
Variable | Value |
---|---|
cadefault | False |
cafile | None |
capath | None |
context | None |
data | None |
opener | <urllib.request.OpenerDirector object at 0x7efce2d739d0> |
timeout | <object object at 0x7efce55a4760> |
url | <urllib.request.Request object at 0x7efce2a72560> |
/usr/lib/python3.10/urllib/request.py
, line 519, in open
# pre-process request
meth_name = protocol+"_request"
for processor in self.process_request.get(protocol, []):
meth = getattr(processor, meth_name)
req = meth(req)
sys.audit('urllib.Request', req.full_url, req.data, req.headers, req.get_method())
response = self._open(req, data)…
# post-process response
meth_name = protocol+"_response"
for processor in self.process_response.get(protocol, []):
meth = getattr(processor, meth_name)
response = meth(req, response)
Variable | Value |
---|---|
data | None |
fullurl | <urllib.request.Request object at 0x7efce2a72560> |
meth | <bound method AbstractHTTPHandler.do_request_ of <urllib.request.HTTPHandler object at 0x7efce2d73d30>> |
meth_name | 'http_request' |
processor | <urllib.request.HTTPHandler object at 0x7efce2d73d30> |
protocol | 'http' |
req | <urllib.request.Request object at 0x7efce2a72560> |
self | <urllib.request.OpenerDirector object at 0x7efce2d739d0> |
timeout | <object object at 0x7efce55a4760> |
/usr/lib/python3.10/urllib/request.py
, line 536, in _open
def _open(self, req, data=None):
result = self._call_chain(self.handle_open, 'default',
'default_open', req)
if result:
return result
protocol = req.type
result = self._call_chain(self.handle_open, protocol, protocol +…
'_open', req)
if result:
return result
return self._call_chain(self.handle_open, 'unknown',
'unknown_open', req)
Variable | Value |
---|---|
data | None |
protocol | 'http' |
req | <urllib.request.Request object at 0x7efce2a72560> |
result | None |
self | <urllib.request.OpenerDirector object at 0x7efce2d739d0> |
/usr/lib/python3.10/urllib/request.py
, line 496, in _call_chain
def _call_chain(self, chain, kind, meth_name, *args):
# Handlers raise an exception if no one else should try to handle
# the request, or return None if they can't but another handler
# could. Otherwise, they return the response.
handlers = chain.get(kind, ())
for handler in handlers:
func = getattr(handler, meth_name)
result = func(*args)…
if result is not None:
return result
def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
# accept a URL or a Request object
if isinstance(fullurl, str):
Variable | Value |
---|---|
args | (<urllib.request.Request object at 0x7efce2a72560>,) |
chain | {'data': [<urllib.request.DataHandler object at 0x7efce2d73b80>], 'file': [<urllib.request.FileHandler object at 0x7efce2d73cd0>], 'ftp': [<urllib.request.FTPHandler object at 0x7efce2d73dc0>], 'http': [<urllib.request.HTTPHandler object at 0x7efce2d73d30>], 'https': [<urllib.request.HTTPSHandler object at 0x7efce2d73bb0>], 'unknown': [<urllib.request.UnknownHandler object at 0x7efce2d73d00>]} |
func | <bound method HTTPHandler.http_open of <urllib.request.HTTPHandler object at 0x7efce2d73d30>> |
handler | <urllib.request.HTTPHandler object at 0x7efce2d73d30> |
handlers | [<urllib.request.HTTPHandler object at 0x7efce2d73d30>] |
kind | 'http' |
meth_name | 'http_open' |
self | <urllib.request.OpenerDirector object at 0x7efce2d739d0> |
/usr/lib/python3.10/urllib/request.py
, line 1377, in http_open
r.msg = r.reason
return r
class HTTPHandler(AbstractHTTPHandler):
def http_open(self, req):
return self.do_open(http.client.HTTPConnection, req)…
http_request = AbstractHTTPHandler.do_request_
if hasattr(http.client, 'HTTPSConnection'):
class HTTPSHandler(AbstractHTTPHandler):
Variable | Value |
---|---|
req | <urllib.request.Request object at 0x7efce2a72560> |
self | <urllib.request.HTTPHandler object at 0x7efce2d73d30> |
/usr/lib/python3.10/urllib/request.py
, line 1351, in do_open
h.set_tunnel(req._tunnel_host, headers=tunnel_headers)
try:
try:
h.request(req.get_method(), req.selector, req.data, headers,
encode_chunked=req.has_header('Transfer-encoding'))
except OSError as err: # timeout error
raise URLError(err)…
r = h.getresponse()
except:
h.close()
raise
# If the server does not send us a 'Connection: close' header,
Variable | Value |
---|---|
h | <http.client.HTTPConnection object at 0x7efce2a708e0> |
headers | {'Accept': 'application/ld+json,application/x-json+ld', 'Connection': 'close', 'Host': 'localhost:3030', 'User-Agent': 'sparqlwrapper 2.0.0 (rdflib.github.io/sparqlwrapper)'} |
host | 'localhost:3030' |
http_class | <class 'http.client.HTTPConnection'> |
http_conn_args | {} |
req | <urllib.request.Request object at 0x7efce2a72560> |
self | <urllib.request.HTTPHandler object at 0x7efce2d73d30> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | '127.0.0.1:8002' |
HTTP_REFERER | 'http://data.judaicalink.org/data/html/gnd/122920678' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | '/data/html/gnd/122920678' |
QUERY_STRING | '' |
RAW_URI | '/data/html/gnd/122920678' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_PORT | '45968' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '127.0.0.1' |
SERVER_PORT | '8002' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/21.2.0' |
gunicorn.socket | <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8002), raddr=('127.0.0.1', 45968)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7efce2a725f0> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7efce2a73010> |
wsgi.input_terminated | True |
wsgi.multiprocess | False |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
server.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['localhost', '127.0.0.1', 'data.judaicalink.org'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/data/pubby-django/server' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/data/pubby-django/server/db.sqlite3', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATA_UPLOAD_MAX_NUMBER_FILES | 100 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
DATE_FORMAT | 'N j, Y' |
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'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.AutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORMS_URLFIELD_ASSUME_HTTPS | False |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
GND_FILE | '/data/data.judaicalink.org/htdocs/dumps/ep/ep_GND_ids.json.gz' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'pubby.apps.PubbyConfig', 'sparql.apps.SparqlConfig'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('ckb', 'Central Kurdish (Sorani)'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian 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'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('ms', 'Malay'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('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'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('ug', 'Uyghur'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {'disable_existing_loggers': False, 'formatters': {'simple': {'format': '%(levelname)s %(asctime)s %(message)s'}, 'verbose': {'format': '%(levelname)s %(asctime)s %(module)s ' '%(process)d %(thread)d %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'simple', 'level': 'INFO'}, 'file': {'class': 'logging.FileHandler', 'filename': 'pubby.log', 'formatter': 'verbose', 'level': 'INFO'}}, 'loggers': {'django': {'handlers': ['file'], 'level': 'INFO', 'propagate': True}}, 'version': 1} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/data/pubby-django/server/media/' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PREPEND_WWW | False |
PUBBY_CONFIG | {'data': 'pubby/config-judaicalink.ttl', 'datasets': 'pubby/config-judaicalink-datasets.ttl', 'ontology': 'pubby/config-judaicalink-ontology.ttl'} |
ROOT_URLCONF | 'server.urls' |
SECRET_KEY | '********************' |
SECRET_KEY_FALLBACKS | '********************' |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_CROSS_ORIGIN_OPENER_POLICY | 'same-origin' |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'server.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/data/pubby-django/server/static' |
STATIC_URL | '/static/' |
STORAGES | {'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'}, 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}} |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'Europe/Berlin' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | True |
USE_X_FORWARDED_PORT | True |
WSGI_APPLICATION | 'server.wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
YEAR_MONTH_FORMAT | 'F Y' |
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 page generated by the handler for this status code.