Thanks, @fomightez @sgibson91 I’m using GitHub - binderhub-test-org/test-repo-public: Public repo to test permissions with Hub23, that’s all I needed.
Just for the record, It’s working flawlessly on GKE but for EKS I’ve got this error below. This is weird since I’m using the exact same public docker registry config. Thanks for the help!
Loading /etc/binderhub/config/values.yaml
Loading /etc/binderhub/secret/values.yaml
[BinderHub] ERROR | Exception while loading config file /etc/binderhub/config/binderhub_config.py
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/traitlets/config/application.py", line 737, in _load_config_files
config = loader.load_config()
File "/usr/local/lib/python3.8/site-packages/traitlets/config/loader.py", line 616, in load_config
self._read_file_as_dict()
File "/usr/local/lib/python3.8/site-packages/traitlets/config/loader.py", line 648, in _read_file_as_dict
exec(compile(f.read(), conf_filename, 'exec'), namespace, namespace)
File "/etc/binderhub/config/binderhub_config.py", line 87, in <module>
hub_url = urlparse(c.BinderHub.hub_url)
File "/usr/local/lib/python3.8/urllib/parse.py", line 372, in urlparse
url, scheme, _coerce_result = _coerce_args(url, scheme)
File "/usr/local/lib/python3.8/urllib/parse.py", line 124, in _coerce_args
return _decode_args(args) + (_encode_result,)
File "/usr/local/lib/python3.8/urllib/parse.py", line 108, in _decode_args
return tuple(x.decode(encoding, errors) if x else '' for x in args)
File "/usr/local/lib/python3.8/urllib/parse.py", line 108, in <genexpr>
return tuple(x.decode(encoding, errors) if x else '' for x in args)
AttributeError: 'LazyConfigValue' object has no attribute 'decode'
[I 210128 19:24:41 app:727] BinderHub starting on port 8585
[I 210128 19:32:01 log:140] 200 GET / (anonymous@192.168.64.250) 20.20ms
[I 210128 19:36:10 log:140] 200 GET / (anonymous@192.168.36.101) 0.94ms
[W 210128 19:36:28 registry:111] No docker config at /root/.docker/config.json
[W 210128 19:36:28 registry:154] No username for docker registry at https://index.docker.io/v1
[W 210128 19:36:28 registry:179] No password for docker registry at https://index.docker.io/v1
[E 210128 19:36:29 builder:313] Tornado HTTP Timeout error: Failed to get image manifest for ggmartins-2dhelloworld-2dbinderhub-a52d48:97e86925cf99b4733d17924dbdbc3273c19fa14c
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/binderhub/builder.py", line 309, in get
image_manifest = await self.registry.get_image_manifest(*'/'.join(image_name.split('/')[-2:]).split(':', 1))
File "/usr/local/lib/python3.8/site-packages/binderhub/registry.py", line 198, in get_image_manifest
auth_resp = await client.fetch(auth_req)
tornado.httpclient.HTTPClientError: HTTP 401: Unauthorized
[E 210128 19:36:29 builder:313] Tornado HTTP Timeout error: Failed to get image manifest for ggmartins-2dhelloworld-2dbinderhub-a52d48:97e86925cf99b4733d17924dbdbc3273c19fa14c