"Unexpected error: "t._allProperties is undefined". Please try again and let us know, if this error keeps happening." when inspecting data entries in an upload
I get this error in the local NOMAD Oasis at IKZ Berlin when inspecting an uploaded entry:
Unexpected error: "t._allProperties is undefined". Please try again and let us know, if this error keeps happening.
This is what happens in the log of the app worker when I produce this error:
nomad_oasis_gui | 10.4.100.1 - - [16/Aug/2022:08:31:28 +0000] "GET /nomad-oasis/gui/service-worker.js HTTP/1.1" 404 9 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0" "-"
nomad_oasis_app | INFO: 192.168.2.10:44732 - "GET /nomad-oasis/gui/precache-manifest.3930e3f4eea2ee956e58a0d7b9add033.js HTTP/1.0" 404 Not Found
nomad_oasis_app | INFO: 192.168.2.10:44734 - "GET /nomad-oasis/gui/index.html HTTP/1.0" 200 OK
nomad_oasis_gui | 10.4.100.1 - - [16/Aug/2022:08:31:28 +0000] "GET /nomad-oasis/gui/precache-manifest.3930e3f4eea2ee956e58a0d7b9add033.js HTTP/1.1" 200 2879 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0" "-"
nomad_oasis_gui | 10.4.100.1 - - [16/Aug/2022:08:31:33 +0000] "GET /nomad-oasis/api/v1/entries/4hvli0czUGGRvVvgMmI5ptp8rcoW HTTP/1.1" 200 3140 "https://nomad.support.ikz-berlin.de/nomad-oasis/gui/user/uploads/upload/id/M_QdqdbAQYexbUXpvOyXYQ/entry/id/4hvli0czUGGRvVvgMmI5ptp8rcoW" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0" "-"
nomad_oasis_app | INFO: 192.168.2.10:44736 - "GET /nomad-oasis/api/v1/entries/4hvli0czUGGRvVvgMmI5ptp8rcoW HTTP/1.0" 200 OK
nomad_oasis_app | INFO: 192.168.2.10:44738 - "POST /nomad-oasis/api/v1/entries/4hvli0czUGGRvVvgMmI5ptp8rcoW/archive/query HTTP/1.0" 200 OK
nomad_oasis_gui | 10.4.100.1 - - [16/Aug/2022:08:31:33 +0000] "POST /nomad-oasis/api/v1/entries/4hvli0czUGGRvVvgMmI5ptp8rcoW/archive/query HTTP/1.1" 200 8598 "https://nomad.support.ikz-berlin.de/nomad-oasis/gui/user/uploads/upload/id/M_QdqdbAQYexbUXpvOyXYQ/entry/id/4hvli0czUGGRvVvgMmI5ptp8rcoW" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0" "-"
nomad_oasis_app | INFO: 192.168.2.10:44740 - "POST /nomad-oasis/api/v1/entries/query HTTP/1.0" 200 OK
nomad_oasis_gui | 10.4.100.1 - - [16/Aug/2022:08:31:33 +0000] "POST /nomad-oasis/api/v1/entries/query HTTP/1.1" 200 488 "https://nomad.support.ikz-berlin.de/nomad-oasis/gui/user/uploads/upload/id/M_QdqdbAQYexbUXpvOyXYQ/entry/id/4hvli0czUGGRvVvgMmI5ptp8rcoW" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0" "-"
nomad_oasis_app | INFO: 192.168.2.10:44742 - "GET /nomad-oasis/api/v1/uploads/M_QdqdbAQYexbUXpvOyXYQ/archive/CWiQSxYWYHh0txAbHHg48653WFFe HTTP/1.0" 200 OK
nomad_oasis_gui | 10.4.100.1 - - [16/Aug/2022:08:31:33 +0000] "GET /nomad-oasis/api/v1/uploads/M_QdqdbAQYexbUXpvOyXYQ/archive/CWiQSxYWYHh0txAbHHg48653WFFe HTTP/1.1" 200 91824 "https://nomad.support.ikz-berlin.de/nomad-oasis/gui/user/uploads/upload/id/M_QdqdbAQYexbUXpvOyXYQ/entry/id/4hvli0czUGGRvVvgMmI5ptp8rcoW" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0" "-"
nomad_oasis_app | INFO: 192.168.2.10:44744 - "GET /nomad-oasis/gui/service-worker.js HTTP/1.0" 404 Not Found
nomad_oasis_gui | 10.4.100.1 - - [16/Aug/2022:08:31:34 +0000] "GET /nomad-oasis/gui/service-worker.js HTTP/1.1" 404 9 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0" "-"
nomad_oasis_app | INFO: 192.168.2.10:44746 - "GET /nomad-oasis/gui/precache-manifest.3930e3f4eea2ee956e58a0d7b9add033.js HTTP/1.0" 404 Not Found
nomad_oasis_app | INFO: 192.168.2.10:44748 - "GET /nomad-oasis/gui/index.html HTTP/1.0" 200 OK
nomad_oasis_gui | 10.4.100.1 - - [16/Aug/2022:08:31:34 +0000] "GET /nomad-oasis/gui/precache-manifest.3930e3f4eea2ee956e58a0d7b9add033.js HTTP/1.1" 200 2879 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0" "-"
nomad_oasis_hub | [I 2022-08-16 08:32:10.102 JupyterHub log:189] 200 POST /nomad-oasis/north/hub/api/users/brueckner/activity (brueckner@192.168.3.3) 12.81ms
At the IKZ we run the branch "ikz_eln". We also run that branch in a dev deployment where we do not get this error. So I guess this error might be related to something at the installation at IKZ. We updated the IKZ Oasis last week. During the update my colleage Tom at the IT faced a lot of issues due to errors in the NOMAD documentation, so there is the chance of some wrong settings in the NOMAD configurations. Here is a summary of the issues Tom found:
2. In der unten verwiesenen Doku gibt’s einen Schreibfehler in der docker-compose.yaml line 102
[…]
102: networks: ['defautl', 'north'] # --> das müsste 'default' heißen
[…]
3. Nochmal in der docker-compose.yaml line 94: dort wird der API-Host als „app“ angegeben. Dies hat bei uns nicht funktioniert, in den Logs kam die folgende Fehlermeldung:
nomad_oasis_hub | [E 2022-08-11 10:47:44.166 JupyterHub jupyterhub_config:124] Cannot access Nomad API: HTTPConnectionPool(host='app', port=80): Max retries exceeded with url: /nomad-oasis/api/v1/uploads?is_published=false&per_page=100 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f834f200f10>: Failed to establish a new connection: [Errno 111] Connection refused'))
In nomad.yaml haben wir folgendes zu stehen:
services:
api_host: 'nomad.support.ikz-berlin.de'
api_base_path: '/nomad-oasis'
api_port: ‘80’
Damit sollte man die API auch über den entsprechenden fqdn erreichen und die Angabe unter /nomad-oasis/gui/user/uploads wird richtig gerendert.
Ich habe dann den API-Host als „gui“ angegeben, da dieser ja als Proxy für die gesamte Applikation dient. Das scheint funktioniert zu haben. Kann natürlich gut sein, dass das ein Konfigurationsproblem von uns war, aber ich wollte es trotzdem mal erwähnen.
4. Der nginx Webserver hat bei Start der Remote-Tools über zu große Header gemeckert: Lösung war das Einfügen der folgenden Konfigurationsparameter in die nginx.conf
proxy_busy_buffers_size 512k;
proxy_buffers 4 512k;
proxy_buffer_size 256k;
Hier kann es sich natürlich ebenfalls um ein Konfigurationsproblem von uns handeln, aber anmerken möchte ich es trotzdem.
5. Die Container der Remote-Tools scheinen einen Schreibfehler im Prefix zu haben:
noamd_oasis_north-harbach--jupyter
Das habe ich jetzt nicht fixen können, ist wahrscheinlich ein Schreibfehler im Code des Hubs.
´´´
Let me know if you need more information. Thanks