After installing the binderhub helm chart, and going in the browser to the start page
the trivial github repo GitHub - EmmanuelKasper/my-first-binder: Binder hub test repo
spits out in the log of the binderhub pod the following error:
I 250807 13:22:35 registry:115] Loading docker config /root/.docker/config.json
[E 250807 13:22:35 web:1875] Uncaught exception GET /build/gh/EmmanuelKasper/my-first-binder/HEAD (172.20.81.192)
HTTPServerRequest(protocol=‘http’, host=‘my binder hostname’, method=‘GET’, uri=‘/build/gh/EmmanuelKasper/my-first-binder/HEAD’, version=‘HTTP/1.1’, remote_ip=‘172.20.81.192’)
Traceback (most recent call last):
File “/usr/local/lib/python3.13/site-packages/tornado/web.py”, line 1790, in _execute
result = await result
^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/binderhub/builder.py”, line 411, in get
image_manifest = await self.registry.get_image_manifest(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
image_without_tag, image_tag
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “/usr/local/lib/python3.13/site-packages/binderhub/registry.py”, line 331, in get_image_manifest
return json.loads(resp.body.decode(“utf-8”))
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/json/
init
.py”, line 346, in loads
return _default_decoder.decode(s)
~~~~~~~~~~~~~~~~~~~~~~~^^^
File “/usr/local/lib/python3.13/json/decoder.py”, line 345, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/json/decoder.py”, line 363, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
now this might look like a authentication problem to the registry (get_image_manifest() is a suspect name ) however the auth file looks fine:
$ oc exec pod/binder-69999b7ddf-g8f5s – cat /root/.docker/config.json > authfile.json
$ podman login --authfile authfile.json my-registry/binderhub-staging --get-login
robot$binderhub-staging-robot
My container image registry is docker harbour, does it play a role here, or am I missing something else ?