Opened 5 years ago

Closed 5 years ago

#3261 closed bug (Fixed)

web ui 'idna' codec failed

Reported by: ilya-fedin Owned by:
Priority: minor Milestone: 2.0.3
Component: Web UI Version: 2.0.0
Keywords: Cc:


After setting base path, I getting this error:

01:37:40 [CRITICAL][twisted                    :154 ] Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/protocols/", line 571, in dataReceived
    why = self.lineReceived(line)
  File "/usr/lib/python3/dist-packages/twisted/web/", line 2013, in lineReceived
  File "/usr/lib/python3/dist-packages/twisted/web/", line 2104, in allContentReceived
    req.requestReceived(command, path, version)
  File "/usr/lib/python3/dist-packages/twisted/web/", line 866, in requestReceived
--- <exception caught here> ---
  File "/usr/lib/python3/dist-packages/twisted/web/", line 190, in process
    resrc =
  File "/usr/lib/python3/dist-packages/twisted/web/", line 826, in getResourceFor
    return resource.getChildForRequest(self.resource, request)
  File "/usr/lib/python3/dist-packages/twisted/web/", line 98, in getChildForRequest
    resource = resource.getChildWithDefault(pathElement, request)
  File "/usr/lib/python3/dist-packages/deluge/ui/web/", line 585, in getChildWithDefault
    request.base = base.encode('idna')
builtins.UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long)

Change History (2)

comment:1 Changed 5 years ago by ilya-fedin

The path is /api/hassio_ingress/KC1iVW8q2Bovo6AONy4jJ2lIwb_Lx2qQSd4U72LHdcM/. It is automatically generated and there is no possibility to shorten it (I'm trying to run Deluge in Ingress).

comment:2 Changed 5 years ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in develop [5d7db3e72]

Note: See TracTickets for help on using tickets.