Opened 6 years ago
Closed 6 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: |
Description
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/basic.py", line 571, in dataReceived why = self.lineReceived(line) File "/usr/lib/python3/dist-packages/twisted/web/http.py", line 2013, in lineReceived self.allContentReceived() File "/usr/lib/python3/dist-packages/twisted/web/http.py", line 2104, in allContentReceived req.requestReceived(command, path, version) File "/usr/lib/python3/dist-packages/twisted/web/http.py", line 866, in requestReceived self.process() --- <exception caught here> --- File "/usr/lib/python3/dist-packages/twisted/web/server.py", line 190, in process resrc = self.site.getResourceFor(self) File "/usr/lib/python3/dist-packages/twisted/web/server.py", line 826, in getResourceFor return resource.getChildForRequest(self.resource, request) File "/usr/lib/python3/dist-packages/twisted/web/resource.py", line 98, in getChildForRequest resource = resource.getChildWithDefault(pathElement, request) File "/usr/lib/python3/dist-packages/deluge/ui/web/server.py", line 585, in getChildWithDefault request.base = base.encode('idna') builtins.UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long)
Note:
See TracTickets
for help on using tickets.
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 Hass.io Ingress).