I cloned dev branch of op-admin-dashboard and when I do docker compose -f docker-compose-dash-app.yml up --build I get the following error:
op-admin-dashboard-dashboard-1 | Traceback (most recent call last):
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/encodings/idna.py", line 165, in encode
op-admin-dashboard-dashboard-1 | raise UnicodeError("label empty or too long")
op-admin-dashboard-dashboard-1 | UnicodeError: label empty or too long
op-admin-dashboard-dashboard-1 |
op-admin-dashboard-dashboard-1 | The above exception was the direct cause of the following exception:
op-admin-dashboard-dashboard-1 |
op-admin-dashboard-dashboard-1 | Traceback (most recent call last):
op-admin-dashboard-dashboard-1 | File "app_sidebar_collapsible.py", line 22, in <module>
op-admin-dashboard-dashboard-1 | from utils.cognito_utils import get_tokens, get_query_params
op-admin-dashboard-dashboard-1 | File "/usr/src/app/utils/cognito_utils.py", line 6, in <module>
op-admin-dashboard-dashboard-1 | from utils import decode_jwt
op-admin-dashboard-dashboard-1 | File "/usr/src/app/utils/decode_jwt.py", line 31, in <module>
op-admin-dashboard-dashboard-1 | with urllib.request.urlopen(keys_url) as f:
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/urllib/request.py", line 222, in urlopen
op-admin-dashboard-dashboard-1 | return opener.open(url, data, timeout)
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/urllib/request.py", line 525, in open
op-admin-dashboard-dashboard-1 | response = self._open(req, data)
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/urllib/request.py", line 543, in _open
op-admin-dashboard-dashboard-1 | '_open', req)
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/urllib/request.py", line 503, in _call_chain
op-admin-dashboard-dashboard-1 | result = func(*args)
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/urllib/request.py", line 1393, in https_open
op-admin-dashboard-dashboard-1 | context=self._context, check_hostname=self._check_hostname)
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/urllib/request.py", line 1350, in do_open
op-admin-dashboard-dashboard-1 | encode_chunked=req.has_header('Transfer-encoding'))
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/http/client.py", line 1281, in request
op-admin-dashboard-dashboard-1 | self._send_request(method, url, body, headers, encode_chunked)
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/http/client.py", line 1327, in _send_request
op-admin-dashboard-dashboard-1 | self.endheaders(body, encode_chunked=encode_chunked)
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/http/client.py", line 1276, in endheaders
op-admin-dashboard-dashboard-1 | self._send_output(message_body, encode_chunked=encode_chunked)
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/http/client.py", line 1036, in _send_output
op-admin-dashboard-dashboard-1 | self.send(msg)
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/http/client.py", line 976, in send
op-admin-dashboard-dashboard-1 | self.connect()
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/http/client.py", line 1443, in connect
op-admin-dashboard-dashboard-1 | super().connect()
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/http/client.py", line 948, in connect
op-admin-dashboard-dashboard-1 | (self.host,self.port), self.timeout, self.source_address)
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/socket.py", line 707, in create_connection
op-admin-dashboard-dashboard-1 | for res in getaddrinfo(host, port, 0, SOCK_STREAM):
op-admin-dashboard-dashboard-1 | File "/root/miniconda-4.12.0/envs/emission/lib/python3.7/socket.py", line 752, in getaddrinfo
op-admin-dashboard-dashboard-1 | for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
op-admin-dashboard-dashboard-1 | UnicodeError: encoding with 'idna' codec failed (UnicodeError: label empty or too long)
op-admin-dashboard-dashboard-1 exited with code 1
I cloned
dev
branch ofop-admin-dashboard
and when I dodocker compose -f docker-compose-dash-app.yml up --build
I get the following error: