Skip to content

DPMAregister: Access forbidden! #76

@amotl

Description

@amotl

Problem

Requests to the DPMAregister service are responded with Access forbidden!. The issue probably exists for a while already, because the servicing interval of PatZilla decreased significantly.

  File "/path/to/patzilla/patzilla/navigator/services/dpma.py", line 77, in status_upstream_dpmaregister_handler
    data = dpmaregister.access_register('DE212016000074', 'json')
  File "/path/to/patzilla/patzilla/access/dpma/dpmaregister.py", line 743, in access_register
    document = DpmaRegisterXmlDocument(response.content).decode()
  File "/path/to/patzilla/patzilla/access/dpma/dpmaregister.py", line 555, in decode
    title = self.pointer_title.resolve(self._data)
  File "/path/to/patzilla/jsonpointer.py", line 204, in resolve
    doc = self.walk(doc, part)
  File "/path/to/patzilla/jsonpointer.py", line 279, in walk
    raise JsonPointerException("member '%s' not found in %s" % (part, doc))
jsonpointer.JsonPointerException: member 'dpma-patent-document' not found in OrderedDict([('html', OrderedDict([('@lang', 'en'), ('@{http://www.w3.org/XML/1998/namespace}lang', 'en'), ('head', OrderedDict([('title', OrderedDict([('$', 'Access forbidden!')])), ('link', OrderedDict([('@href', 'mailto:datenbanken@dpma.de'), ('@rev', 'made')])), ('style', OrderedDict([('@type', 'text/css'), ('$', '/*><!--*/ \n    body { color: #000000; background-color: #FFFFFF; }\n    a:link { color: #0000CC; }\n    p, address {margin-left: 3em;}\n    span {font-size: smaller;}\n/**/-->')]))])), ('body', OrderedDict([('h1', OrderedDict([('$', 'Access forbidden!')])), ('p', [OrderedDict([('$', "You don't have permission to access the requested object.\n    It is either read-protected or not readable by the server.")]), OrderedDict([('$', 'If you think this is a server error, please contact\nthe'), ('a', OrderedDict([('@href', 'mailto:datenbanken@dpma.de'), ('$', 'webmaster')]))])]), ('h2', OrderedDict([('$', 'Error 403')])), ('address', OrderedDict([('a', OrderedDict([('@href', '/'), ('$', 'register.dpma.de')])), ('br', OrderedDict()), ('span', OrderedDict([('$', 'Apache')]))]))]))]))])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions